| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- also genpass.pl didn't need a newline when priting
argon2id hash
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
- also renamed gpigeon.css -> styles.css. more standard
- utf-8 rules. other charset can't defeat him.
|
| |
|
|
|