Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #msgbelow tag missing + ez to delet links | Miquel Lionel | 2021-07-04 | 2 | -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 improvs | Miquel Lionel | 2021-07-04 | 10 | -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 var | Miquel Lionel | 2021-06-27 | 2 | -0/+5 |
| | |||||
* | fix dumb mistakes in link-tmpl-template.cgi | Miquel Lionel | 2021-06-27 | 1 | -2/+1 |
| | |||||
* | make uninstall resulted in disaster, fix this | Miquel Lionel | 2021-06-27 | 2 | -4/+4 |
| | |||||
* | fix missing ';' on 'my $argon2id_hash' line | Miquel Lionel | 2021-06-24 | 1 | -1/+1 |
| | |||||
* | Simplify link auto-deletion | Miquel Lionel | 2021-06-24 | 2 | -3/+3 |
| | |||||
* | easier installation instructions | Miquel Lionel | 2021-06-23 | 2 | -3/+6 |
| | |||||
* | Fix auto deletion flow in link-tmpl-template.cgi | Miquel Lionel | 2021-06-23 | 3 | -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/g | Miquel Lionel | 2021-06-18 | 1 | -1/+1 |
| | |||||
* | less cruft in Net::SMTP(S) part, clearer | Miquel Lionel | 2021-06-18 | 2 | -6/+4 |
| | |||||
* | add make vars to generate a nginx config | Miquel Lionel | 2021-06-06 | 4 | -3/+56 |
| | |||||
* | fix readme about looking for variables | Miquel Lionel | 2021-06-06 | 2 | -2/+1 |
| | |||||
* | typo in hawkpost link | Miquel Lionel | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | add link to the OG gpigeon in the README | Miquel Lionel | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | 'include hotlinking.conf' not relevant in ngx conf | Miquel Lionel | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | does triples backtips support nginx format? | Miquel Lionel | 2021-06-06 | 1 | -1/+1 |
| | |||||
* | ups forgot to delete space for markdown formatting | Miquel Lionel | 2021-06-06 | 1 | -11/+11 |
| | |||||
* | yeah, it's better. adding to dependencies too | Miquel Lionel | 2021-06-06 | 1 | -11/+11 |
| | |||||
* | test formatting of FEATURES section | Miquel Lionel | 2021-06-06 | 1 | -5/+5 |
| | |||||
* | Merge branch 'master' of ssh://lilimgit:/gpigeon | Miquel Lionel | 2021-06-06 | 1 | -3/+3 |
|\ | | | | | | | - what was this conflict | ||||
| * | reinstate index.html, static is king | Miquel Lionel | 2021-04-16 | 3 | -27/+25 |
| | | |||||
* | | a more verbose makefile and explicative readme. | Miquel Lionel | 2021-06-06 | 4 | -68/+196 |
| | | | | | | | | | | - also genpass.pl didn't need a newline when priting argon2id hash | ||||
* | | reinstate index.html, static is king | Miquel Lionel | 2021-04-16 | 3 | -27/+25 |
|/ | |||||
* | css for responsive text area message box | Miquel Lionel | 2021-04-12 | 1 | -0/+16 |
| | |||||
* | Cookie based login added | Miquel Lionel | 2021-04-11 | 5 | -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 Makefile | Miquel Lionel | 2021-04-11 | 1 | -0/+9 |
| | |||||
* | Makefile and config.mk file added | Miquel Lionel | 2021-04-11 | 2 | -0/+86 |
| | | | | | - now installing should be as simple as running 'make' - the customizations and defaults goes in config.mk | ||||
* | text string are ordered alphabetically | Miquel Lionel | 2021-03-21 | 2 | -51/+64 |
| | |||||
* | some string abstraction in link template | Miquel Lionel | 2021-02-28 | 1 | -2/+2 |
| | |||||
* | now it delete itself like before | Miquel Lionel | 2021-02-28 | 1 | -1/+4 |
| | |||||
* | use template instead of writing perl in perl | Miquel Lionel | 2021-02-28 | 4 | -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 sub | Miquel Lionel | 2021-02-24 | 1 | -0/+1 |
| | |||||
* | fix complain about $text_strings variables | Miquel Lionel | 2021-02-24 | 1 | -2/+2 |
| | |||||
* | cleaning up the generating filename part | Miquel Lionel | 2021-02-24 | 1 | -10/+4 |
| | |||||
* | fix argon2id_verify args | Miquel Lionel | 2021-02-24 | 1 | -1/+1 |
| | |||||
* | remove useless install script, simpler randregex | Miquel Lionel | 2021-02-24 | 3 | -508/+2 |
| | |||||
* | Licence MIT -> GPLV3 | Miquel Lionel | 2020-12-24 | 1 | -5/+671 |
| | | | | - MIT is a bit too permissive (see Tannenbaum and Intel Management Engine) | ||||
* | README.md is no longer WIP atm. | Miquel Lionel | 2020-12-24 | 1 | -2/+0 |
| | |||||
* | New password algo and handling strings better | Miquel Lionel | 2020-12-10 | 1 | -81/+80 |
| | | | | | | | - Text strings are now regrouped in an hash, less insane than an array. - I searched a bit in terms of password saving methods and Argon2 seemed pretty good. So now we use it. | ||||
* | renamed README to markdown file extension | Miquel Lionel | 2020-12-08 | 1 | -0/+0 |
| | |||||
* | Translated merci/index.html | Miquel Lionel | 2020-11-26 | 1 | -4/+3 |
| | | | | | - for info, you see this page when the gpigeon form has been submitted and the mail server successfully sent you the encrypted message. | ||||
* | Removing custom strings from index.html | Miquel Lionel | 2020-11-26 | 1 | -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 strings | Miquel Lionel | 2020-11-23 | 1 | -1/+1 |
| | | | | "Succesfull deletion" => "Successful removal" | ||||
* | syntax error in HAS_MAILSERVER=1 check | Miquel Lionel | 2020-11-22 | 1 | -4/+4 |
| | |||||
* | Add 'if defined' checks to length_msg_form variable | Miquel Lionel | 2020-11-21 | 1 | -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 variable | Miquel Lionel | 2020-11-21 | 1 | -1/+1 |
| | | | | So the server error.log doesn't complain. | ||||
* | More error checking in regards to package managers. | Miquel Lionel | 2020-11-18 | 1 | -1/+1 |
| | |||||
* | removed useless data from css (custom shit) | Miquel Lionel | 2020-11-18 | 1 | -6/+0 |
| | |||||
* | Changed the css. Tables are more marked now. | Miquel Lionel | 2020-11-18 | 1 | -2/+17 |
| |