aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add autofocus on login and link generation fieldsMiquel Lionel2022-04-261-2/+2
|
* center login box + UI more mobile friendlyMiquel Lionel2022-04-192-0/+4
|
* add html notif on sending mail successfullyMiquel Lionel2022-03-211-0/+2
|
* A mail can be sent on encrypted form generationMiquel Lionel2022-03-202-202/+262
| | | | | - Also, function and variable names are now camelcased to keep consistency.
* Update README about dependenciesMiquel Lionel2021-07-201-4/+8
|
* fix Makefile and gpg key export during it.Miquel Lionel2021-07-204-6/+22
| | | | | | | | | - esthetic improvments too, in particular the links table: Added the correct id on the linkstable, the styles from css weren't applied. - some variables were used but not declared beforehand in the cookie check function in gpigeon-template.cgi. we fix that
* fixesMiquel Lionel2021-07-188-138/+165
| | | | | | | | | | - Makefile is better: the generated password via genpass.pl or genpass.pl with -i flag should now be a correct argon2id hash in both cases. - Added missing checks in the makefile - Fixed undeclared variables in gpigeon-template.cgi Running make should be better and require less manual fiddling now.
* add enctype=multipart/form-data to link templateMiquel Lionel2021-07-151-1/+1
| | | | | | - I plan to remove the gpgid variable in the future because the Mail::GPG mobile only needs a mail to find the key and encrypt.
* uncomment my $mimetype line, it's important.Miquel Lionel2021-07-153-14/+30
| | | | | | | | | | | Also, we did a better cleanup: - GPG module is not used anymore. So, the $enc_gpg variable doesn't make sense anymore and we got rid of it. - We applied the auto unlinking we did in the database version branch. I was sure I already put to pratice on this branch, my memory fails me... Got rid of $linkfilename variable. - We updated the README.md about our dependencies and features (file upload is supported now)
* fix nginx part in README: missing max body sizeMiquel Lionel2021-07-141-0/+2
|
* added crude file upload possibilitiesMiquel Lionel2021-07-145-46/+81
|
* Fix #msgbelow tag missing + ez to delet linksMiquel Lionel2021-07-042-12/+6
| | | | | | | - the style for a slighty bigger input box to put the mail wasn't applied (#mailfield id). we fix that - also links open in new tab now
* Better way to validate cookies and others improvsMiquel Lionel2021-07-0410-141/+390
| | | | | | | | | | | | | | | | | | | | | | | - Added GPLv3+ short header in source files (genpass.pl, gpigeon-template.cgi and link-template-tmpl.cgi). - Added some security headers in the example nginx configuration file, and renamed the NGINXCONFDIR variable in the Makefile to SITESENABLED, it makes a bit more sense. - Hastily drawed a more fitting .ico/mascot for the project - Tweaked the styles.css to be somewhat more responsive. Some tags in index.html and gpigeon-template.cgi and link-template-tmpl.cgi have now an id for styling. - Fixed and improved cookie validation. While working on the multi-user alternative, I noticed that the ValidCookies() function was flimsy, I was used eq... I learned about 'cmp' and throwed some UA and IP address match to make it a bit more robust. - Improved the genpass.pl script, if you want a argon2id of your password, you can now launch it in interactive mode with the '-i' arg. It'll fill the ARGON2ID_HASH variable in the existing config.mk with the hash of the provided password - Fixed inconsistencies in the Makefile. I was overwriting changes with sed for no good reason instead of using the -i switch ! I also moved the mail address, mail sender, and gpg id checks to the top of the file since they are the most important. Also, the 0xlong is not needed in config.def.mk anymore, we extract via the mail address.
* add chowning in the Makefile and WWWUSER varMiquel Lionel2021-06-272-0/+5
|
* fix dumb mistakes in link-tmpl-template.cgiMiquel Lionel2021-06-271-2/+1
|
* make uninstall resulted in disaster, fix thisMiquel Lionel2021-06-272-4/+4
|
* fix missing ';' on 'my $argon2id_hash' lineMiquel Lionel2021-06-241-1/+1
|
* Simplify link auto-deletionMiquel Lionel2021-06-242-3/+3
|
* easier installation instructionsMiquel Lionel2021-06-232-3/+6
|
* Fix auto deletion flow in link-tmpl-template.cgiMiquel Lionel2021-06-233-47/+45
| | | | | | | | | | | | - The file auto-deletion flow was *inside* the HAS_MAILSERVER check... oops, fixing that - fixing the indenting in the same file, it was a clusterfuck (still is but way less). - removed an useless for(1) in ValidCookie function in gpigeon-template.cgi. - Makefile change: I trust more the GNUPGHOME variable than the --homedir options of gpg for importing a key and creating a GPG directory at the same time.
* s/variable/variables/gMiquel Lionel2021-06-181-1/+1
|
* less cruft in Net::SMTP(S) part, clearerMiquel Lionel2021-06-182-6/+4
|
* add make vars to generate a nginx configMiquel Lionel2021-06-064-3/+56
|
* fix readme about looking for variablesMiquel Lionel2021-06-062-2/+1
|
* typo in hawkpost linkMiquel Lionel2021-06-061-1/+1
|
* add link to the OG gpigeon in the READMEMiquel Lionel2021-06-061-1/+1
|
* 'include hotlinking.conf' not relevant in ngx confMiquel Lionel2021-06-061-1/+1
|
* does triples backtips support nginx format?Miquel Lionel2021-06-061-1/+1
|
* ups forgot to delete space for markdown formattingMiquel Lionel2021-06-061-11/+11
|
* yeah, it's better. adding to dependencies tooMiquel Lionel2021-06-061-11/+11
|
* test formatting of FEATURES sectionMiquel Lionel2021-06-061-5/+5
|
* Merge branch 'master' of ssh://lilimgit:/gpigeonMiquel Lionel2021-06-061-3/+3
|\ | | | | | | - what was this conflict
| * reinstate index.html, static is kingMiquel Lionel2021-04-163-27/+25
| |
* | a more verbose makefile and explicative readme.Miquel Lionel2021-06-064-68/+196
| | | | | | | | | | - also genpass.pl didn't need a newline when priting argon2id hash
* | reinstate index.html, static is kingMiquel Lionel2021-04-163-27/+25
|/
* css for responsive text area message boxMiquel Lionel2021-04-121-0/+16
|
* Cookie based login addedMiquel Lionel2021-04-115-129/+230
| | | | | | | | | | | | - the cookie last 1 year and is set upon login - deleted when pressing "Disconnect" button - updated the config.mk and Makefile for COOKIES_DIR variable - camel-cased the subroutines. I like it that way, it stands out more compared to variables - reinserted some vars back into link-tmpl.cgi, it wasn't making sense to have them in gpigeon-template.cgi - no more 'Unknown' link asker in the links table: if the string is a valid email address, we link to the file in the table.
* oops, genpass.pl is needed for MakefileMiquel Lionel2021-04-111-0/+9
|
* Makefile and config.mk file addedMiquel Lionel2021-04-112-0/+86
| | | | | - now installing should be as simple as running 'make' - the customizations and defaults goes in config.mk
* text string are ordered alphabeticallyMiquel Lionel2021-03-212-51/+64
|
* some string abstraction in link templateMiquel Lionel2021-02-281-2/+2
|
* now it delete itself like beforeMiquel Lionel2021-02-281-1/+4
|
* use template instead of writing perl in perlMiquel Lionel2021-02-284-160/+174
| | | | | - also renamed gpigeon.css -> styles.css. more standard - utf-8 rules. other charset can't defeat him.
* closing bracket in else in notif_defined subMiquel Lionel2021-02-241-0/+1
|
* fix complain about $text_strings variablesMiquel Lionel2021-02-241-2/+2
|
* cleaning up the generating filename partMiquel Lionel2021-02-241-10/+4
|
* fix argon2id_verify argsMiquel Lionel2021-02-241-1/+1
|
* remove useless install script, simpler randregexMiquel Lionel2021-02-243-508/+2
|
* Licence MIT -> GPLV3Miquel Lionel2020-12-241-5/+671
| | | | - MIT is a bit too permissive (see Tannenbaum and Intel Management Engine)
* README.md is no longer WIP atm.Miquel Lionel2020-12-241-2/+0
|