Commit Graph

36 Commits

Author SHA1 Message Date
mildis c2521bc5aa
rename ldap_user to auth_user for invitations
this avoid confusion about the restrictions of invitation with ldap only
now that other auth methods are available.
2023-12-27 07:03:17 +01:00
mildis cf85571f05 Ajout de verification sur auth_headers dans le controlleur Files
auth_headers n etait pas verifie sur l upload, le download et d autres methodes.
Cela pourrait permettre des les appeler meme sans etre authentifie.

L appel initiel a Files/files n est pas verifie pour auth_headers car la redirection vers login n est pas utile.
En effet, c est un composant externe qui configure le header d authentification, il ne faut pas renvoyer vers une page de login interne.
2022-04-03 10:31:54 +02:00
Luc Didry 8d6f1032f0
— Add support for Swift object storage
- Swift support
- script to upload the existing files to Swift
2020-06-02 21:28:02 +02:00
Luc Didry 8b68d7e821
Fix #150✉️ Implement invitations to other people when using LDAP auth 2019-08-01 19:50:36 +02:00
Luc Didry d9928e61c1
🗜️ New Zip UI + 🐜 fix bug in upload cancellation 2019-08-01 19:50:10 +02:00
Luc Didry b35c0d126b
Use Mojolicious::Plugin::FiatTux::GrantAccess 0.06 2019-08-01 19:50:09 +02:00
Luc Didry 0700ea7375
Fix #130 — Allow to individually download files from zip 2019-08-01 19:50:08 +02:00
Luc Didry e41b08601d
Add a test suite 2018-10-24 21:56:37 +02:00
Luc Didry 6958b7fc0a
Use a recurrent task to provision shorts 2018-10-24 16:04:10 +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 c2e9268cc7
Fix #123 - Option to force "Burn after reading" for each uploaded file 2018-10-21 14:49:24 +02:00
Luc Didry d909b8ad70 Add DB abstraction layer 2017-07-22 18:56:13 +02:00
Luc Didry abebf60861 respond_to correction 2017-07-19 20:26:26 +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
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 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
Luc Didry ac8d764b06 Add optionnal LDAP authentication for uploading files 2016-07-24 18:39:20 +02:00
Sebastien Duthil aa0c5ac170 fix typos in english translation 2016-07-24 18:32:48 +02:00
Luc Didry f94ae4348b Fix #13 2016-07-24 18:32:48 +02:00
Luc Didry cd104cb512 Fix unnecessary slices write
It seems that's the culprit for bad response time when sending big
files.
2016-07-24 18:32:48 +02:00
Luc Didry a594b9111c Handle WebSocket errors 2016-07-24 18:32:41 +02:00
Luc Didry 4858866569 Increase ws timeout + lower sliceLength + console informations 2015-10-09 02:53:16 +02:00
Luc Didry 60e157ff71 Fix #3 2015-10-04 19:44:51 +02:00
Luc Didry 40deab60a9 Add cron tasks + stop-upload file check 2015-10-04 03:24:37 +02:00
Luc Didry 841e8c4436 Use helper for max_delay 2015-10-04 01:49:57 +02:00
Luc Didry 10a8dd8603 Add max size handling 2015-10-04 01:39:52 +02:00
Luc Didry be8c84ecec Use configured size's delay 2015-10-04 01:00:36 +02:00
Luc Didry 2863f008fd Add some checks and error messages 2015-10-03 22:55:55 +02:00
Luc Didry 26787d9cb1 Make file created_at when file upload is complete 2015-10-03 22:03:50 +02:00
Luc Didry 995a383294 Some code cosmetic changes 2015-10-03 01:25:52 +02:00
Luc Didry 91e07880b6 First commit. Working. 2015-09-21 02:05:06 +02:00