Commit Graph

297 Commits

Author SHA1 Message Date
Frédéric Péters a78431ac86 misc: remove example AUTHORS.txt file 2015-08-18 17:27:46 +02:00
Frédéric Péters 2377eb0582 misc: restore French translation 2015-08-18 17:27:46 +02:00
Frédéric Péters 12e3a6e379 debian: revamp packaging (#7227) 2015-08-18 17:27:46 +02:00
Serghei Mihai 324c7ab8d9 general: use separate view and template for document pick (#7231) 2015-07-19 21:22:15 +02:00
Serghei Mihai fd42209f37 general: use gadjo theme for templates (#7231) 2015-07-19 21:13:23 +02:00
Serghei Mihai e4950e141d serve static in debug mode 2015-07-09 10:13:38 +02:00
Benjamin Dauvergne 911e87a35f tox.ini: fix stats target 2015-06-30 12:04:51 +02:00
Thomas NOËL 73645c94f6 debian: init start after postgresql (#7548) 2015-06-11 19:11:48 +02:00
Thomas NOËL e763bd0f08 debian: init required syslog to be started (#7547) 2015-06-11 18:47:16 +02:00
Benjamin Dauvergne 36437f440b Revert "Add a send-to view (fixes #7080)"
This reverts commit 651681aa6e.
2015-05-18 10:48:59 +02:00
Benjamin Dauvergne d6b774ee47 templates: remove sekizai tags and rename base.html
- fixes #7234
- fixes #7233
2015-05-18 10:48:43 +02:00
Benjamin Dauvergne 651681aa6e Add a send-to view (fixes #7080)
To you it, make a POST using the multipart/form-data content type on

 /send-to/?email=<email-of-target-user>

Files are transmitted in the 'documents' fields of multipart/form-data body.
Each file must have a filename given in its content-disposition header.
Example:

POST /send-to/?email=john.doe@exampke.com HTTP/1.1
Host: localhost:8000
Content-Type: multipart/form-data; boundary=---------------------------9051914041544843365972754266
Content-Length: xxx

-----------------------------9051914041544843365972754266
Content-Disposition: form-data; name="documents"; filename="attachment1.txt"
Content-Type: text/plain

Content of a.txt.

-----------------------------9051914041544843365972754266
Content-Disposition: form-data; name="documents"; filename="attachment2.html"
Content-Type: text/html

<!DOCTYPE html><title>Content of a.html.</title>

-----------------------------9051914041544843365972754266--
2015-05-18 10:48:43 +02:00
Jérôme Schneider 34ea3d7229 debian/fargo.init: we need to set a shell for su commands (#7072) 2015-05-12 14:53:55 +02:00
Jérôme Schneider 750792b662 Add 'debian/' from commit 'f84ef5280b608506bf9c3bf9ccfee0604817170d'
git-subtree-dir: debian
git-subtree-mainline: 31f484c627
git-subtree-split: f84ef5280b
2015-05-12 14:47:07 +02:00
Thomas NOËL 31f484c627 settings: fix mellon attributes mapping 2015-04-30 01:08:58 +02:00
Benjamin Dauvergne 4cf1e8ee3c Add coverage support to tox.ini 2015-04-29 16:09:40 +02:00
Benjamin Dauvergne 843677c073 chmod +x jenkins.sh 2015-04-29 15:55:32 +02:00
Benjamin Dauvergne bd3b11bb64 add jenkins.sh 2015-04-29 15:52:11 +02:00
Benjamin Dauvergne c10e2a5b57 add tox.ini 2015-04-29 15:52:11 +02:00
Serghei Mihai f84ef5280b fix user running the cron task 2015-04-21 17:34:38 +02:00
Serghei Mihai 0ba38148d2 settings filename fixed 2015-04-21 14:26:21 +02:00
Serghei Mihai 6ca5c36fb3 page title as block 2015-04-21 13:32:20 +02:00
Serghei Mihai 438a26b705 css path fixed 2015-04-21 13:29:59 +02:00
Serghei Mihai b409809d72 no need to read the secret key and database conf as it's handled by hobo config 2015-04-21 12:55:31 +02:00
Serghei Mihai 00bb489950 mellon dependency 2015-04-21 11:20:32 +02:00
Serghei Mihai 0dca00290e secret key's file renamed 2015-04-21 11:17:02 +02:00
Serghei Mihai 85dcbbf075 loaded settings filename is a variable 2015-04-21 11:14:30 +02:00
Serghei Mihai 81ad559320 project settings import fix 2015-04-21 11:09:52 +02:00
Serghei Mihai bb3b02c83d dependencies update 2015-04-21 10:39:03 +02:00
Serghei Mihai 7ddf34e909 settings read from external config file 2015-04-14 14:20:42 +02:00
Serghei Mihai b609a68fb3 mellon settings 2015-04-14 14:20:42 +02:00
Frédéric Péters 812c1a72fa update .gitignore to mention fargo instead of authentic directories 2015-04-12 21:16:41 +02:00
Frédéric Péters 926028a15b move .gitignore to the top directory 2015-04-12 21:16:17 +02:00
Serghei Mihai cb6c2a26c9 fargo multitenant package 2015-04-10 17:05:55 +02:00
Serghei Mihai 4732288f2e multitenant settings 2015-04-10 17:03:32 +02:00
Serghei Mihai d7fcb4227d import missing views 2015-04-10 16:22:28 +02:00
Serghei Mihai 5ca37d4008 mellon authentication support added (#6928) 2015-04-10 12:16:01 +02:00
Benjamin Dauvergne 4e70852578 Add CORS header to the JSON endpoint to allow requests from any website
Also make the JSON view a login required view if no username is given in
the query string.
2015-03-11 10:21:07 +01:00
Benjamin Dauvergne 54f2509a68 Return a cancel parameter in the query string if the user cancels picking a file 2015-03-09 15:45:19 +01:00
Benjamin Dauvergne 1e70b0caaf Allow embedding of fargo in iframes 2015-03-09 15:44:55 +01:00
Benjamin Dauvergne afb20c23a5 Registrer models in the admin site 2015-03-06 22:56:22 +01:00
Benjamin Dauvergne a5849218a3 Implement fargo 2015-03-06 22:56:22 +01:00
Benjamin Dauvergne f5c743994b Add .gitignore 2015-03-06 22:55:17 +01:00
Benjamin Dauvergne 3676bfa99a Initialize fargo debian branch 2015-03-05 23:46:47 +01:00
Benjamin Dauvergne cdd3364133 Initialize fargo 2015-02-13 14:58:25 +01:00
Benjamin Dauvergne 601e8f5f1a Make adapt.sh initialize a debian branch 2015-02-13 14:53:36 +01:00
Benjamin Dauvergne 982b1e3afe First commit 2015-02-11 16:05:34 +01:00