Commit graph

49 commits

Author SHA1 Message Date
steckbrief
49c6bb9f0b storage-backend: Add functionality to delete a file via an xmpp server; removed possibility to request a delete token and delete the file afterwards via xmpp client 2017-05-06 14:10:31 +02:00
steckbrief
14753b0d57 prosody-module: Add functionality to delete a file based on a fileurl 2017-05-06 14:09:20 +02:00
steckbrief
a564fd0a7a storage-backend: Added json interface to list transferred files 2017-05-04 16:26:11 +02:00
steckbrief
fd7ea5c319 Send intended recipient with upload slot request 2017-05-04 13:16:22 +02:00
steckbrief
1f318bcd00 Added functionality to list files transferred using urn:xmpp:filetransfer:http 2017-05-04 13:15:42 +02:00
steckbrief
bcfe8b2d97 Fixed error stanzas to clients to include additional information as intended 2017-05-03 09:45:19 +02:00
steckbrief
9cd578978f add additional disco info to advertise managing UI 2017-05-02 20:59:08 +02:00
steckbrief
471b217ceb improved error handling in prosody module 2017-05-02 20:55:42 +02:00
steckbrief
62e463bdd5 moved gajim plugin to the subfolder 'gajim-plugin/httpupload' 2016-10-09 12:09:49 +02:00
steckbrief
858e615f1d Add support for httpuploadim message hint 2016-10-09 11:48:27 +02:00
steckbrief
6816cd2435 Added gajim-plugin 'httpupload' version 0.4.1 from https://trac-plugins.gajim.org/browser/httpupload, revision: 952:19bcffb26247 2016-10-09 11:45:54 +02:00
steckbrief
509128be58 Implements FS#236: Save receipient jid 2016-09-30 16:03:18 +02:00
steckbrief
7ce02c25b1 Add content type header 2016-08-23 10:07:29 +02:00
steckbrief
6691b27bd1 missing & added to reqbody in delete type 2016-08-22 17:04:46 +02:00
steckbrief
8510b8abab Add slot type in 403 message instead of fixed 'upload' string 2016-08-22 17:03:59 +02:00
steckbrief
1b4c02e5ca exit module after sending error reply in case storage backend returned error code 403 2016-08-22 16:59:40 +02:00
steckbrief
59fe125714 exit module after sending error reply in case storage backend returned error code 500 2016-08-22 16:57:52 +02:00
steckbrief
c3c9e08f17 Merge branch 'master' of ssh://repos.thedevstack.de/httpupload 2016-08-22 16:29:51 +02:00
steckbrief
6950c42925 Fixed string comparison from not equals to equals for slot_type check and added additional debug log message 2016-08-22 16:03:10 +02:00
root
fe33066a1b Modified .htaccess to determine request method correctly 2016-08-22 12:32:57 +02:00
steckbrief
3e797e3fe1 added possibility to restrict deletion to the user who originally uploaded the file 2016-08-21 12:23:19 +02:00
steckbrief
15090fe1be fixed wrong reqbody for delete, added explicit slot_type also for upload request, variable misspelling corrected 2016-08-21 12:08:35 +02:00
steckbrief
25e8420fdb json parameter for delete token changed from 'delete_token' to 'deletetoken' 2016-08-21 12:04:58 +02:00
steckbrief
ccf99fc8d0 Feature added: prosody module extended to request delete token 2016-08-20 21:42:50 +02:00
steckbrief
dd33a02422 documentation fix 2016-08-20 21:39:26 +02:00
steckbrief
fa17f36311 Feature added: delete a file previously uploaded using the httpupload 2016-08-20 21:29:05 +02:00
31da8eb9ef Update index.php
PUT needs to save the file with decoded filename
2016-02-05 14:21:39 +01:00
steckbrief
14cc1291ed Merge branch 'master' of https://github.com/steckbrief/httpupload 2016-02-05 14:13:41 +01:00
steckbrief
7f77bd3087 php end tags added, rawurlencode optimized 2016-02-05 14:13:19 +01:00
5467813174 read url and server_key from configuration 2016-01-13 10:52:45 +01:00
steckbrief
c6da13b632 rawurl(de|en)coding moved to slot parameter storing and loading 2016-01-13 09:30:49 +01:00
steckbrief
9bd8c79f56 minor fix in config include 2016-01-06 21:08:27 +01:00
steckbrief
2c946d39fb server validation added
several bug fixes
2016-01-06 19:39:32 +01:00
b72fb066c9 check for 403 (wrong xmpp_server_key) 2016-01-06 15:16:43 +01:00
c78c082127 use util.json from prosody 2016-01-06 14:17:25 +01:00
d81b585c0c corrected if-statements and some more copy-paste-errors 2016-01-05 13:02:31 +01:00
0c7ae98cf7 deleted old "lib" and corrected copy-paste-error 2016-01-05 12:53:44 +01:00
f95c256468 corrections to load module in prosody without errors 2016-01-05 00:02:52 +01:00
f33a183130 removed unused file size check 2016-01-04 23:53:38 +01:00
5eb8933845 correct indention 2016-01-04 23:50:04 +01:00
d399f6cdaf initial implementation of module for prosody, not tested yet 2016-01-04 23:48:03 +01:00
steckbrief
ce98933ee9 Updated Readme 2016-01-04 21:53:41 +01:00
steckbrief
fbba3876b5 Reduced manual configuration, folder structure created
Determination of storage paths now relative to script directory and programmatically
Determination of get and put URLs now based on the slot request request
Basic access restriction to default directories
2016-01-04 21:48:17 +01:00
steckbrief
45cd34e42b Added config.php to gitignore
Added base config.inc.php
2016-01-04 21:05:53 +01:00
steckbrief
59c6465ad2 make parameter 'content_type' optional
change returned messages to json format
add error codes to returned data
add parameters to returned data - if useful
add check for empty sizes in slot requests
add filename check while uploading
add 403 error messages in case of wrong http method
2016-01-04 21:02:07 +01:00
steckbrief
d68fec4339 initial backend script implementation 2016-01-04 12:46:38 +01:00
steckbrief
c3eb35689f initial backend script implementation 2016-01-04 12:45:59 +01:00
steckbrief
d5df8c4b36 htaccess to rewrite URLs for put request added 2016-01-04 12:19:02 +01:00
steckbrief
bd18639424 Initial commit 2016-01-04 12:10:24 +01:00