aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* GetFileTable function is actually used, and moreMiquel Lionel2021-11-071-1/+8
| | | | | | | | | | | | | | | | | | - Make code a bit more readable by aligning some equal signs at variable declarations. - Account creation by invites now. Still experimental. add all file needed - Fix the bug that bring you to the admin panel when you try to delete a GPG form link. - Incorrect wording: "Notify by mail with a link to the invite" in the admin panel becomes "Notify by mail after successful account creation". - Add autofocus attribute to username input at front page. saves a click. We also add some sensible tabindex values for username, password and "Login" button. - create .gitignore
* added account creation by invite linksMiquel Lionel2021-08-231-83/+79
| | | | | | | | | - Fix some wordings in gpigeonctl - add the ability to list users in gpigeonctl - fix input name for file upload: its not 'file' but 'fupload' - update styles.css for invite web interface - add INVITE_TEMPLATE_PATH variable to config.dek.mk - Improved some function error messages in gpigeon template
* Added file upload support and others fixesMiquel Lionel2021-07-181-51/+95
| | | | | | | | | | | | | | - Added support for file upload from master branch - Adjusted gpigeonctl.def file for BINPREFIX variable - Did cleanup of dead variables and functions. Moved text in their script, no need to do complicated sed. $text_strings use is justified in gpigeon.cgi, not in link-tmpl.cgi. - Fixed seds in the Makefile - Removed NotifIfDefined function, found a simpler way for displaying/not displaying notifs. - Removing $argon2id_hash variable. Unused and has its place in the mono-user version of gpigeon.
* Implemented very basic multi-user supportMiquel Lionel2021-07-021-35/+57
| | | | | | | | | | | | | | - the `gpigeonctl' script is used to initialize the database, add an user and delete it, clear cookies. More info in the readme about it. - tweaked gpigeon-template.cgi and link-template-tmpl.cgi to support multiusers - tweaked the Makefile - tweaked the config.def.mk and added WWWUSER and WWWDIR variables - made some ajustements in the styles.css file for responsivity. - added some headers for security in nginx-example.conf - added gpigeonctl.def which serves as a "blueprint" for gpigeonctl
* add some update from the master.Miquel Lionel2021-06-231-0/+122
- Added the README.md form master branch. - Added new script gpigeonctl: will allow to initialize the database and manage it (add or delete and user, purge cookies). - Added the Makefile and the config.dek.mk from master branch with some changes - Added nginx config from master branch - Rename gpigeon.css -> styles.css - gpigeon-template.cgi: the -w flag on the shebang is useless because we already have "use warnings". Also, the man page discourage its use. - Fixed link-tmpl-template.cgi: the self-deletion now occurs as intended, and not only when in HAS_MAILSERVER=0 mode. also fixed the indenting around these parts because it was a clusterfuck