aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update README.md => multi-user goal of this branchregistering+multiusersupportMiquel Lionel2023-01-231-2/+3
|
* styling fixes for notiflinkbymailMiquel Lionel2022-06-122-3/+2
|
* Add autofocus on login and link generation fieldsMiquel Lionel2022-04-261-3/+3
|
* center login box + more mobil friendlyMiquel Lionel2022-04-192-0/+7
|
* variable names are camelcased nowMiquel Lionel2022-03-211-348/+348
|
* Checkbox to send a mail to ppl on invite creationMiquel Lionel2022-03-132-241/+334
| | | | | - Also added a checkbox to send a mail when generating an one-time encrypted form.
* fix mail subject line in invite link templateMiquel Lionel2022-02-241-1/+1
|
* Fix sending mail when submitting invite formMiquel Lionel2022-02-221-1/+1
|
* fixed width for login form, link form bugfix and +Miquel Lionel2021-11-093-12/+12
| | | | | | - fixed width of 30 pixels for login form - fix some issue with identifying gpg key in invite-tmpl template - in database, pigeons are now users to avoid confusion
* GetFileTable function is actually used, and moreMiquel Lionel2021-11-073-173/+316
| | | | | | | | | | | | | | | | | | - 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-237-347/+806
| | | | | | | | | - 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
* fix links stable not having styleMiquel Lionel2021-07-204-45/+25
| | | | | | | | - also add date when a link was created. It should be easy now to tell when a link was generated. - update the readme about nginx since index.html doesn't exist anymore, gpigeon does the job now - updated the dependencies in the readme
* Fix missing link to hawkpost.co in login pageMiquel Lionel2021-07-182-1/+5
| | | | also nginx example updated
* fixes h1 and some field not having correct typeMiquel Lionel2021-07-182-6/+8
| | | | | | - Also move back the $link_user variable in link-tmpl.cgi to top of file. needed to read the people we generated a link for
* Added file upload support and others fixesMiquel Lionel2021-07-186-160/+311
| | | | | | | | | | | | | | - 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-0211-685/+844
| | | | | | | | | | | | | | - 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-2313-492/+1453
| | | | | | | | | | | | | | | - 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
* adding username input fieldMiquel Lionel2020-11-261-3/+8
| | | | - and a link to create an account
* Removing custom strings from index.htmlMiquel Lionel2020-11-261-26/+13
| | | | | | | | - less french strings - better indentation - h1 tag is not in the form tag now - removed the style tag in head since its moved to gpigeon.css stylesheet.
* Less erroneous english text stringsMiquel Lionel2020-11-231-1/+1
| | | | "Succesfull deletion" => "Successful removal"
* syntax error in HAS_MAILSERVER=1 checkMiquel Lionel2020-11-221-4/+4
|
* Add 'if defined' checks to length_msg_form variableMiquel Lionel2020-11-211-38/+42
| | | | | | Now warning and strict module doesn't complain, and my web server error log is cleaner. IMO, it has a nice effect to give a clearer idea of what the conditional tries to achieve there.
* Removing "\n" string for $password_field variableMiquel Lionel2020-11-211-1/+1
| | | | So the server error.log doesn't complain.
* More error checking in regards to package managers.Miquel Lionel2020-11-181-1/+1
|
* removed useless data from css (custom shit)Miquel Lionel2020-11-181-6/+0
|
* Changed the css. Tables are more marked now.Miquel Lionel2020-11-181-2/+17
|
* Various bug fixes in the perl code.Miquel Lionel2020-11-181-53/+52
| | | | | | | | | - Fixed the bug when the page was displaying in plain text after generating a link. My tired ass last night didn't think to print to the gpg_form filehandle. - Fixed the bug when not all the text was written in the link file (the gpg form as I call it). reason: see above. - Fixed the 'if ($HAS_MAILSERVER)' check. now it makes more sense. - Fixed the bug when the link user was marked as 'Unknown' in the table but in the l/xxxx.cgi file it was there. Reverted code and it works now, it grep the right line and fill the $nongpg_user var with the right info. - Fixed a bug where '0x' was inserted before the $mymail_gpgid variable in the generation of the gpg form. '0x1234' would become '0x0x1234' in the generated form. It's okay now. - Fixed various syntax errors.
* Readability of the script a bit improved.Miquel Lionel2020-11-171-146/+121
|
* Removing some abstractions introduced with new subMiquel Lionel2020-11-171-81/+77
| | | | | | | | | | We don't need the sub print_smtp_method. We can pass the args directly, we are just printing text one time. No need for a sub. Also fixed indeting here and there cleared HTML_CSS and HTML_CHARSET variable The characters limiting code for the message form should work good now. I setted it to a default of 3000 maxium characters.
* Adding a 'Features' section to the READMEMiquel Lionel2020-11-171-2/+11
|
* reflect changes made from previous commit in install.shMiquel Lionel2020-11-171-6/+13
| | | | - sed commands to change the HAS_MAILSERVER value.
* Local SMTP server OR external SMTP server shenanigansMiquel Lionel2020-11-171-83/+104
| | | | | | | | - The print_smtp_method sub has been added and behavior depends on the HAS_MAILSERVER variable value. If 0 we assume the admin has no mailserver available locally so we use Net:SMTPS and external server. If 1, we switch to Mail::Sendmail. - We renamed some variables so they make more sense now. - Text strings are translated from Baguette to Shakespeare. it was time.
* Add a todo mention to install.shMiquel Lionel2020-11-161-0/+1
| | | | so i remember my lazy bum
* Don't need cookie sub, removing itMiquel Lionel2020-11-161-3/+5
| | | | Also don't need cgi-carp. need to uncomment if needed for debugging.
* We add a READMEMiquel Lionel2020-11-161-0/+43
|
* Correction fonction check_vars d'install.shMiquel Lionel2020-11-151-1/+1
| | | | La commande avec sha256sum avait besoin d'être pipé dans cut
* on réécrit le script d'install un peu plus propreMiquel Lionel2020-11-151-151/+130
| | | | | On trouve une manière native de faire le checksum, yay. Il faut utiliser 'printf' et non 'echo' !
* getopt version dans les bacsMiquel Lionel2020-11-121-150/+170
|
* Commit initialMiquel Lionel2020-11-108-0/+895
On ajoute les fichiers. On normalise le nom des icônes en favicon.ico puis on met la notif de suppression des fichiers au-dessus du tableau, plus pratique si il y a BEAUCOUP de liens créés.