aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* fixesMiquel Lionel2021-07-181-42/+54
| | | | | | | | | | - 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.
* added crude file upload possibilitiesMiquel Lionel2021-07-141-1/+8
|
* Better way to validate cookies and others improvsMiquel Lionel2021-07-041-47/+42
| | | | | | | | | | | | | | | | | | | | | | | - 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-271-0/+2
|
* make uninstall resulted in disaster, fix thisMiquel Lionel2021-06-271-3/+3
|
* easier installation instructionsMiquel Lionel2021-06-231-0/+1
|
* Fix auto deletion flow in link-tmpl-template.cgiMiquel Lionel2021-06-231-3/+3
| | | | | | | | | | | | - 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.
* add make vars to generate a nginx configMiquel Lionel2021-06-061-1/+16
|
* Merge branch 'master' of ssh://lilimgit:/gpigeonMiquel Lionel2021-06-061-3/+3
|\ | | | | | | - what was this conflict
| * reinstate index.html, static is kingMiquel Lionel2021-04-161-4/+5
| |
* | a more verbose makefile and explicative readme.Miquel Lionel2021-06-061-44/+128
| | | | | | | | | | - also genpass.pl didn't need a newline when priting argon2id hash
* | reinstate index.html, static is kingMiquel Lionel2021-04-161-4/+5
|/
* Cookie based login addedMiquel Lionel2021-04-111-1/+1
| | | | | | | | | | | | - 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.
* Makefile and config.mk file addedMiquel Lionel2021-04-111-0/+63
- now installing should be as simple as running 'make' - the customizations and defaults goes in config.mk