samizdat issueshttps://0xacab.org/rysiek/samizdat/-/issues2020-09-21T23:57:57Zhttps://0xacab.org/rysiek/samizdat/-/issues/68Split the CI/CD pipeline into separate stages/jobs2020-09-21T23:57:57ZMichał "rysiek" WoźniakSplit the CI/CD pipeline into separate stages/jobsCurrently we have the whole of deployment and publishing as a single job. That's not helping as far as fixing issues is concerned (debugging a problem somewhere down the line requires a full run).
Separating it into jobs also means thin...Currently we have the whole of deployment and publishing as a single job. That's not helping as far as fixing issues is concerned (debugging a problem somewhere down the line requires a full run).
Separating it into jobs also means things could happen simultaneously (for instance, Gun and IPNS updates).BetaMichał "rysiek" WoźniakMichał "rysiek" Woźniakhttps://0xacab.org/rysiek/samizdat/-/issues/55CLI: Gun user deletion does not work2020-09-15T01:25:55ZMichał "rysiek" WoźniakCLI: Gun user deletion does not workPerhaps library versions need bumping.
```
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-delete test test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gu...Perhaps library versions need bumping.
```
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-delete test test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
DEBUG :: setup_gun(): stub!
DEBUG :: setup_gun(): stub!
DEBUG :: pre-setup_gun
DEBUG :: setup_gun(): stub!
DEBUG :: post-setup_gun
DEBUG :: pre-promise; username: test
user.delete() IS DEPRECATED AND WILL BE MOVED TO A MODULE!!!
NO! Account must match! { '~WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM':
{ _:
{ '#':
'~WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM',
'>': [Object] },
pub: null } }
User 'test' successfully deleted.
Waiting for user deletion to propagate through the Gun network...
TypeError: Cannot read property 'm' of null
at Object.SEA.verify.SEA.verify (/home/user/Projects/samizdat/samizdat-cli/node_modules/gun/sea.js:443:33)
(node:23393) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'm' of null
at Object.SEA.verify.SEA.verify (/home/user/Projects/samizdat/samizdat-cli/node_modules/gun/sea.js:443:33)
(node:23393) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:23393) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
DEBUG :: +-- verifying user deletion propagated into the Gun network
DEBUG :: starting the confirmations-do-not-work timeout...
DEBUG :: +-- received data, user still exists
DEBUG :: pubkey: WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM
{ err: 'Error: No ACK received yet.', lack: true }
{ err: 'Error: No ACK received yet.', lack: true }
DEBUG :: confirmations-do-not-work timeout fired, exiting cleanly...
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-pubkey test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
DEBUG :: gun_user_pubkey()
DEBUG :: pre-setup_gun
DEBUG :: setup_gun(): stub!
DEBUG :: post-setup_gun
DEBUG :: pre-promise; username: test
WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM
user@personal:~/Projects/samizdat/samizdat-cli$ node . --debug gun-user-pubkey test
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
DEBUG :: gun_user_pubkey()
DEBUG :: pre-setup_gun
DEBUG :: setup_gun(): stub!
DEBUG :: post-setup_gun
DEBUG :: pre-promise; username: test
WA925dtc3bnbsyNu8E4ujiBMOywcrO05iQE2MEABcF4.8wwDh6OYteDLs0TdPHAUR0rAMDR2_ykzYBgPnoAhVOM
```BetaMichał "rysiek" WoźniakMichał "rysiek" Woźniakhttps://0xacab.org/rysiek/samizdat/-/issues/32Simplify and document the deployment process2020-10-05T17:54:24ZMichał "rysiek" WoźniakSimplify and document the deployment processCurrently deployment process of Samizdat is unclear, convoluted, and undocumented. This needs to change if Samizdat is to become useful.Currently deployment process of Samizdat is unclear, convoluted, and undocumented. This needs to change if Samizdat is to become useful.BetaMichał "rysiek" WoźniakMichał "rysiek" Woźniakhttps://0xacab.org/rysiek/samizdat/-/issues/31Standalone admin UI2019-12-10T01:32:09ZMichał "rysiek" WoźniakStandalone admin UINow that we have a [standalone user UI](#26), we need a standalone admin UI.Now that we have a [standalone user UI](#26), we need a standalone admin UI.BetaMichał "rysiek" WoźniakMichał "rysiek" Woźniakhttps://0xacab.org/rysiek/samizdat/-/issues/30API Documentation2020-09-08T18:36:07ZMichał "rysiek" WoźniakAPI DocumentationSamizdat is stable enough that it makes sense to write documentation for the API.Samizdat is stable enough that it makes sense to write documentation for the API.BetaMichał "rysiek" WoźniakMichał "rysiek" Woźniakhttps://0xacab.org/rysiek/samizdat/-/issues/27Measuring usage2019-12-16T00:56:03ZMichał "rysiek" WoźniakMeasuring usageSamizdat will need a way of measuring and reporting on how effective it is. That's a complicated problem. On one hand Samizdat will be used by readers in oppressive regimes, and their privacy and safety is crucial.
On the other hand, if...Samizdat will need a way of measuring and reporting on how effective it is. That's a complicated problem. On one hand Samizdat will be used by readers in oppressive regimes, and their privacy and safety is crucial.
On the other hand, if Samizdat cannot report on its effectiveness, how will website admins know it works at all?.. And how will organizations know it is worth deploying.
Possible approaches to this problem:
- keeping stats in Gun
- using Google Analytics or some other major provider (bleh!)
- using a Matomo instance on a different IP address that is not likely to be blocked
Questions:
- would it make sense to have global Samizdat stats (that is, for all Samizdat-enabled sites)?Betahttps://0xacab.org/rysiek/samizdat/-/issues/24Proper reloading/uninstallation of the service worker?2019-12-10T12:48:18ZMichał "rysiek" WoźniakProper reloading/uninstallation of the service worker?Interesting read: https://love2dev.com/blog/how-to-uninstall-a-service-worker/Interesting read: https://love2dev.com/blog/how-to-uninstall-a-service-worker/Beta