aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* New password algo and handling strings betterMiquel Lionel2020-12-101-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 extensionMiquel Lionel2020-12-081-0/+0
|
* Translated merci/index.htmlMiquel Lionel2020-11-261-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.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.