Commit Graph

78 Commits

Author SHA1 Message Date
Luc Didry 82b8a4d017
Fix dependences in Lufi.pm 2018-11-02 10:02:47 +01:00
Luc Didry 66a724147d
Fix default CSP Header 2018-10-29 22:54:25 +01:00
Luc Didry cd0c4fea4e
Fix warning in change lang endpoint 2018-10-28 21:52:21 +01:00
Luc Didry 9fb59173fc
Fix #129 — Add constraints on mail sending to prevent spam sending 2018-10-28 14:41:29 +01:00
Luc Didry c64d26a292
Fix header injection and open redirects from referrer header 2018-10-26 17:34:50 +02:00
Luc Didry 72404aaf99
Fix header injection from lang code 2018-10-26 17:26:14 +02:00
Luc Didry da7cb658df
Add CSRF token challenge on logout 2018-10-26 16:03:21 +02:00
Luc Didry 548f838e60
Add CSRF token challenge on login 2018-10-26 14:53:06 +02:00
Luc Didry 86c319bac9
Put shortener helper in Mojolicious::Plugin::FiatTux::Helpers 2018-10-25 19:41:49 +02:00
Luc Didry b57ed7605f
Create DefaultConfig module — DRY 2018-10-25 18:42:07 +02:00
Luc Didry 218c4ad2af
Use FiatTux::Themes plugin 2018-10-25 10:22:07 +02:00
Luc Didry 44507ccfa5
Add MySQL support 2018-10-24 23:05:19 +02:00
Luc Didry e41b08601d
Add a test suite 2018-10-24 21:56:37 +02:00
Luc Didry a4149b73ba
Fix #126 - Add a command to migrate data from SQLite to an other database 2018-10-24 17:50:17 +02:00
Luc Didry 722ba6708b
Update cron commands default config 2018-10-24 17:23:46 +02:00
Luc Didry 6958b7fc0a
Use a recurrent task to provision shorts 2018-10-24 16:04:10 +02:00
Luc Didry 986e7793db
Allow to choose your language 2018-10-22 23:54:20 +02:00
Luc Didry 377a48bda2
Add report file link in the navbar 2018-10-22 21:21:11 +02:00
Luc Didry 377ba0d0b8
Add Content-Security-Policy header - related to #80 2018-10-21 20:20:54 +02:00
Luc Didry 25ab7e644d
Fix #78 - Allow to block files by setting an abuse field in DB 2018-10-21 18:24:48 +02:00
Luc Didry b6188097b1
Fix #119 - Use GzipStatic and StaticCache plugins for speed 2018-10-21 15:26:20 +02:00
Luc Didry c2e9268cc7
Fix #123 - Option to force "Burn after reading" for each uploaded file 2018-10-21 14:49:24 +02:00
Luc Didry 13e8553cf4
Use FiatTux plugins
WARNING! LDAP configuration has changed! Check lufi.conf.template
2018-10-21 14:49:24 +02:00
Luc Didry 1646980c22
Use Mojo::SQLite instead of ORLite + update deps 2018-10-21 14:49:23 +02:00
Luc Didry 7c8ac69ffe Fix #104 Use config->prefix to set cookie path
This commit is dedicated to Michael Kozma, who is supporting me with Ğ1.
Many thanks :-)
2018-04-12 18:25:48 +02:00
s7b4 b3c6a28c73 use MOJO_CONFIG variable in Mounter.pm 2018-04-12 18:25:48 +02:00
Luc Didry 7efebff4bf Fix cron tasks bug
- upload_dir had no default value in cleanfiles task
- upload_dir was not used in watch task
2017-09-18 08:53:50 +02:00
Luc Didry 68693fa368 Fix DB abstraction layer bug 2017-09-14 09:31:17 +02:00
Luc Didry 9c62d4c394 Fix cron command for Pg 2017-09-12 23:08:25 +02:00
Luc Didry 7aae44f6cc Fix #64 2017-09-11 21:30:45 +02:00
Luc Didry 5754ac2113 Remove trailing spaces and replace tabs with spaces 2017-09-11 20:58:47 +02:00
Luc Didry 18499a1106 Add PostgreSQL support 2017-07-22 20:39:36 +02:00
Luc Didry d5395f4296 Bug in SQLite file layer 2017-07-22 19:17:31 +02:00
Luc Didry d909b8ad70 Add DB abstraction layer 2017-07-22 18:56:13 +02:00
Luc Didry 5684cbe17f Put helpers in a plugin 2017-07-20 18:01:47 +02:00
Luc Didry abebf60861 respond_to correction 2017-07-19 20:26:26 +02:00
Luc Didry 1c2cee539d Add instance statistics at /fullstats 2017-07-17 22:23:38 +02:00
Luc Didry 1fbe93a71c Update Mojolicious version (use Mojo::File instead of Mojo::Util spurt/slurp) 2017-07-15 14:25:44 +02:00
Luc Didry 0050db6cb3 Aesthetic code changes 2017-07-14 12:54:17 +02:00
popi 598c7c1e98 fix ldap filtering 2017-07-14 12:53:50 +02:00
juju4 f2433c30b4 issue #86 2017-07-14 12:53:33 +02:00
Yann dbdaff9421 Add htpasswd file support for user authentication
Fixes based on merge request discussion by Luc Didry: https://framagit.org/luc/lufi/merge_requests/7

Coding style
2017-07-14 12:53:27 +02:00
Luc Didry 50b1f00c17 Add ability to protect download with a password 2017-07-14 12:52:03 +02:00
Luc Didry b219064794 Fix delay handling 2016-12-31 14:09:00 +01:00
Luc Didry bd0c26dd2d Handle case where sender doesn't specify delay 2016-12-31 07:45:47 +01:00
Luc Didry 9d5bb760e5 Add occitan translation 2016-11-13 13:53:52 +01:00
Luc Didry 378c6622c8 Add IT translation in theme command 2016-07-24 19:40:01 +02:00
Luc Didry d94c2b7f90 Fix XSS bugs
Thanks to Neil Jomunsi (http://page42.org) to support me on Tipeee :-)
2016-07-24 18:39:21 +02:00
Luc Didry 3bbe8000d3 Fix #50 Add users infos in log and db if using ldap 2016-07-24 18:39:21 +02:00
Luc Didry 6f3cf342ac Fix #36 2016-07-24 18:39:21 +02:00