395 Commits

Author SHA1 Message Date
Weblate
2590706e00 Merge remote-tracking branch 'origin/master' 2015-07-07 00:11:14 +02:00
Jerome Jutteau
a7fb5680f6 remove scripting interface documentation
This will reduce translation work and avoid out of date documentation.
This first commit updates translation template.
Will still needt to remove translation from other files.

Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-07-07 00:10:28 +02:00
Weblate
2b7fd594eb Merge remote-tracking branch 'origin/master' 2015-07-06 23:54:40 +02:00
Jerome Jutteau
d98c495abf add an alias system to the API.
This alias system permits to create an "alias" to an uploaded file.
This permits to upload some new content and update the alias to the new
content.

This will permits to implement a lot of services, for example:
- Storing a live chat between two people
- Update a list of files
- Put a whole website and update it

A few notes:

- An alias MUST point to an existing upload at his creation or update.
- Alias are not protected against reading but are protected against updates
  and deletion using a password. The destination of the alias can still be
  protected by a password.
- Alias can be updated to change it's target and/or change the password.
- Alias names and passwords must be between 8 and 32 characters.

Some examples:

- Create an alias:

curl -X POST \
     --http1.0 \
     -F "alias=my-awsome-alias" \
     -F "destination=13dA8apU" \
     -F "password=my-very-secret-password" \
     http://my-host/jirafeau/script.php?alias_create=1
=> OK

- Get an alias

curl -X POST \
     --http1.0 \
     -F "alias=my-awsome-alias" \
     http://my-host/jirafeau/script.php?alias_get=1
=> 13dA8apU

- Update an alias:
curl -X POST \
     --http1.0 \
     -F "alias=my-awsome-alias" \
     -F "destination=2Ab6f17o" \
     -F "password=my-new-password" \
     http://my-host/jirafeau/script.php?alias_update=1
=> OK

- Access to alias using the web interface, let's go to:
http://couak.net/jirafeau-dev/f.php?h=my-awsome-alias

- Delete an alias:
curl -X POST \
     --http1.0 \
     -F "alias=my-awsome-alias" \
     -F "password=my-new-password" \
     http://my-host/jirafeau/script.php?alias_delete=1
=> OK

Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-07-06 23:54:04 +02:00
Fedor Piecka
bb66972d37 Translated using Weblate (Slovak)
Currently translated at 100.0% (135 of 135 strings)
2015-07-02 15:34:07 +02:00
Fedor Piecka
0a3fb0f48c Translated using Weblate (Slovak)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-07-02 13:58:26 +02:00
Jerome Jutteau
8d8b06eb81 Merge branch 'master' of gitlab.com:mojo42/Jirafeau 2015-06-26 08:53:26 +02:00
Weblate
4fbf23fef5 Merge remote-tracking branch 'origin/master' 2015-06-26 08:53:01 +02:00
Jerome Jutteau
0d67e0ca4e thanks to François, makes file selection to re-appears
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-06-26 08:50:17 +02:00
Jérôme Jutteau
06b28c7f35 Translated using Weblate (Vietnamese)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-26 08:40:17 +02:00
Jérôme Jutteau
36a5016b0d Translated using Weblate (Portuguese)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-26 08:38:58 +02:00
Jérôme Jutteau
f4543bfda2 Translated using Weblate (Bengali (India))
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-26 08:38:32 +02:00
Jérôme Jutteau
1fae977a2f Translated using Weblate (Korean)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-26 08:37:39 +02:00
Jérôme Jutteau
2ebe59f816 Translated using Weblate (Hindi)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-26 08:36:56 +02:00
Jérôme
124408405f Updates README.md 2015-06-26 06:35:02 +00:00
Jerome Jutteau
d72f71d688 add Dutch (Nederlands) and Romanian (Limba română) languages
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-06-26 08:27:11 +02:00
Jerome Jutteau
e4b0f5b3ed add support for http_X_forwarded_for header, refs #36
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-06-24 00:09:33 +02:00
Jasper
e51b29b1ef Translated using Weblate (Dutch)
Currently translated at 100.0% (135 of 135 strings)
2015-06-12 18:49:47 +02:00
Jasper
676a8cfcba Translated using Weblate (Dutch)
Currently translated at 51.8% (70 of 135 strings)
2015-06-12 18:24:57 +02:00
Jasper
43ebe1fcbe Translated using Weblate (Dutch)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-12 12:21:11 +02:00
Slobodan Simić, Слободан Симић
fd7d6571ed Translated using Weblate (Serbian)
Currently translated at 37.0% (50 of 135 strings)
2015-06-12 09:44:48 +02:00
Laurentiu Dobrota
b325aca57d Translated using Weblate (Romanian)
Currently translated at 100.0% (135 of 135 strings)
2015-06-09 13:01:33 +02:00
Laurentiu Dobrota
bfecca5f88 Translated using Weblate (Romanian)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-09 11:56:11 +02:00
Slobodan Simić, Слободан Симић
90195988bd Translated using Weblate (Serbian)
Currently translated at 36.2% (49 of 135 strings)
2015-06-07 15:44:48 +02:00
Slobodan Simić
bd80a562ee Translated using Weblate (Serbian)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-06-03 14:33:31 +02:00
Weblate
946e901da9 Merge remote-tracking branch 'origin/master' 2015-05-21 14:30:06 +02:00
Jérôme
a9e8a86fbd update README.md for IE compatibility mode 2015-05-21 12:30:06 +00:00
Weblate
02ffb9fe02 Merge remote-tracking branch 'origin/master' 2015-05-19 14:00:05 +02:00
Jerome Jutteau
c54ae2c242 Escape filenames to not break HTML views
fixes #39

Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-05-19 13:58:36 +02:00
Weblate
896af1948a Merge remote-tracking branch 'origin/master' 2015-05-18 14:30:32 +02:00
Jerome Jutteau
9093d4ec51 move documentation to README.md
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-05-18 14:29:45 +02:00
Weblate
063c21d834 Merge remote-tracking branch 'origin/master' 2015-05-07 18:42:47 +02:00
Jerome Jutteau
2fa05274bd add Content-MD5 header when downloading a file
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-05-07 18:42:38 +02:00
Weblate
ef7711fcbe Merge remote-tracking branch 'origin/master' 2015-05-07 12:50:23 +02:00
Jerome Jutteau
d9647e1afe manage visitor IP behind reverse proxies, refs #36
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-05-07 12:50:04 +02:00
Jindřich Skácel
3e29f7cbb6 Translated using Weblate (Czech)
Currently translated at 65.1% (88 of 135 strings)
2015-05-04 15:44:10 +02:00
Pyry Kujala
9dd7c6e444 Translated using Weblate (Finnish)
Currently translated at 100.0% (135 of 135 strings)
2015-04-29 13:17:32 +02:00
Pyry Kujala
4c0317e4cb Translated using Weblate (Finnish)
Currently translated at 100.0% (135 of 135 strings)
2015-04-28 13:54:38 +02:00
Jerome Jutteau
6e228dd51f fix typo
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-04-28 13:36:58 +02:00
Jerome Jutteau
88e724f138 enable Finnish language in Jirafeau 2015-04-28 13:29:12 +02:00
Pyry
2236d06bd8 Translated using Weblate (Finnish)
Currently translated at 96.2% (130 of 135 strings)
2015-04-28 13:22:51 +02:00
Jindřich Skácel
34eb26eb03 Translated using Weblate (Czech)
Currently translated at 65.1% (88 of 135 strings)
2015-04-28 13:22:51 +02:00
Jerome Jutteau
9161a13511 lib/lang.php: fix typo
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-04-27 20:19:09 +02:00
Pyry
b27434d73c Translated using Weblate (Finnish)
Currently translated at 3.7% (5 of 135 strings)
2015-04-27 20:19:09 +02:00
Jindřich Skácel
e1dc0660b1 Translated using Weblate (Czech)
Currently translated at 40.0% (54 of 135 strings)
2015-04-27 20:19:09 +02:00
Jerome Jutteau
364d1c4437 add optional IP authentication for uploaders
closes #34

Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-04-27 20:10:23 +02:00
Jerome Jutteau
6667b979aa added date in email link and cleaner url encode
Signed-off-by: Jerome Jutteau <mojo@couak.net>
2015-04-27 19:14:41 +02:00
asashi
b6fd626577 Translated using Weblate (Italian)
Currently translated at 100.0% (135 of 135 strings)
2015-04-27 13:25:36 +02:00
Jerome Jutteau
9b4818cbfb lib/locales: fill Finnish language with template 2015-04-27 13:24:39 +02:00
Jérôme Jutteau
00e2225710 Translated using Weblate (Finnish)
Currently translated at 100% (0 of 0 strings)

Created new translation.
2015-04-27 13:22:04 +02:00