3048 Commits

Author SHA1 Message Date
Pavel Borecki
b1fb5b58a9 Translated using Weblate (Czech)
Currently translated at 100.0% (902 of 902 strings)
2018-02-27 06:37:32 +01:00
James Valleroy
d93d26dad8
Release v0.24.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.24.0
2018-02-26 19:22:45 +01:00
danielwine
f47b5fae8c Translated using Weblate (Hungarian)
Currently translated at 17.7% (158 of 890 strings)
2018-02-26 19:15:24 +01:00
James Valleroy
9b5f60307e Merge remote-tracking branch 'weblate/master' 2018-02-26 19:14:09 +01:00
danielwine
10b6ebae89 Translated using Weblate (Hungarian)
Currently translated at 17.5% (156 of 890 strings)
2018-02-26 19:08:07 +01:00
James Valleroy
daaa60517f
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-26 18:23:56 +01:00
Johannes Keyser
629e8f8364
matrixsynapse: Fix mail attribute for ldap login.
Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 22:38:25 +05:30
James Valleroy
d830ffe2f9
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-26 17:59:19 +01:00
James Valleroy
d1f2f676b6 Translated using Weblate (Hungarian)
Currently translated at 15.7% (140 of 890 strings)

Adding {box_name}, as it produces a compile error otherwise.
2018-02-26 17:57:31 +01:00
danielwine
faba6ac4eb Translated using Weblate (Hungarian)
Currently translated at 15.8% (141 of 890 strings)
2018-02-26 17:56:45 +01:00
danielwine
d359afe166 Translated using Weblate (Hungarian)
Currently translated at 15.7% (140 of 890 strings)
2018-02-26 17:47:27 +01:00
Sunil Mohan Adapa
f054703d3a
searx: Styling fixes
- Internet is used instead of 'internet' in Plinth elsewhere.

- Use common error messages instead of specific errors to reduce l10n effort.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:59 +05:30
Sunil Mohan Adapa
0e9d10bff5
searx: Set file permissions while creating file
To avoid race conditions.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:53 +05:30
Sunil Mohan Adapa
7e60db76c4
searx: Fully internationalize form strings
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:47 +05:30
Sunil Mohan Adapa
14c1e6580a
searx: Fix issue setting all safe search form values
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:38 +05:30
Sunil Mohan Adapa
28b0ceb0e9
searx: Append slash at the end of URLs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:21 +05:30
Sunil Mohan Adapa
432aa1b343
searx: Strictly match relaxed URLs
To avoid unexpected security consequences.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:13 +05:30
Sunil Mohan Adapa
c68d76b86f
searx: Explicitly enable uwsgi service
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:56:07 +05:30
Sunil Mohan Adapa
052d8eb778
searx: Unconditionally enable proxy_uwsgi module
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:58 +05:30
Sunil Mohan Adapa
f10f0438df
searx: Increase the secret key length to 64 bytes
Although 32 bytes is sufficient, 64 bytes has been recommended by a few sources.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:51 +05:30
Joseph Nuthalapati
619c3cf79c
searx: Safe Search setting
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:41 +05:30
Joseph Nuthalapati
26a53e6649
searx: Allow Searx to be added as a search engine to Firefox
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:30 +05:30
Joseph Nuthalapati
05715b4e64
searx: Fixes for enable/disable actions
- Restarting uwsgi is required on enable and disable.
- Some refactoring to improve efficiency.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:20 +05:30
Joseph Nuthalapati
bffaf903b8
searx: Fix YAML parsing errors
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:11 +05:30
Joseph Nuthalapati
02b3a4cc97
searx: Use higher resolution logo
- replaced 64x64 logo with 256x256 logo

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:55:01 +05:30
Joseph Nuthalapati
75462a5d08
searx: Correction to image url in LICENSES file
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:54:50 +05:30
Joseph Nuthalapati
314f95d562
searx: Set page title to 'FreedomBox Web Search'
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:54:36 +05:30
Joseph Nuthalapati
d42492d4df
searx: Enable single sign on
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:54:25 +05:30
Joseph Nuthalapati
3b6f4d0df3
searx: Update Apache configuration and icon
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:54:14 +05:30
Joseph Nuthalapati
67274e1566
searx: Changes from code review
- Use 32-bit key for HMAC-256
- Use secrets library instead of os.urandom
- uwsgi enable/disable along with webserver enable/disable
- Text changes

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:53:59 +05:30
Joseph Nuthalapati
823c2968f0
searx: New app for Searx metasearch engine
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-26 18:53:46 +05:30
Johannes Keyser
84aee85b91 Translated using Weblate (German)
Currently translated at 100.0% (877 of 877 strings)
2018-02-25 00:41:14 +01:00
Luis A. Arizmendi
6c4dfc2e73 Translated using Weblate (Spanish)
Currently translated at 100.0% (877 of 877 strings)
2018-02-24 20:40:34 +01:00
Joseph Nuthalapati
3b753819d3
api: fix icon_url
The django template tag `static` already adds /plinth/static/. The url argument
also starts with static which makes it /plinth/static/static/...

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-24 19:34:28 +01:00
Sunil Mohan Adapa
79276f14df
Don't use async for method parameters
async is a reserved keyword in Python 3.7. It can no longer be used as method
parameter. Change the name so that we are ready for Python 3.7.

See: https://www.python.org/dev/peps/pep-0492/#deprecation-plans

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-24 19:14:13 +01:00
danielwine
8c8e4ea3e8 Translated using Weblate (Hungarian)
Currently translated at 13.9% (124 of 890 strings)
2018-02-24 16:37:44 +01:00
Luis A. Arizmendi
27a74e579c Translated using Weblate (Spanish)
Currently translated at 100.0% (877 of 877 strings)
2018-02-23 19:23:59 +01:00
danielwine
e697cab420 Translated using Weblate (Hungarian)
Currently translated at 8.0% (72 of 890 strings)
2018-02-23 11:37:52 +01:00
Joseph Nuthalapati
bb6cac5f71
clients: Add and correct Client Apps
- Correction to the package name of Plumble

- Add official Tiny Tiny RSS Android app

- Remove deluge Debian package
The deluge Debian package is wrongly mentioned as a client. It's
standalone application and doesn't talk to the FreedomBox's deluge
server.

- Correction to display text for GNU/Linux

- Update desktop clients for Minetest

- Add Thunderbird to Radicale clients
  - Also added F-Droid client for DAVDroid

- ejabberd: more download links and sorting
  - Added more download links for packages.
  - Sorted packages alphabetically.

- Indicate gobby is available for GNU/Linux

- Add more client links for quassel-client

- bugfix: Homebrew package names aren't displayed in UI
  - Correction homebrew -> brew

- Add GNU/Linux Mumble desktop client

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-22 21:20:11 +01:00
Sunil Mohan Adapa
c3167dac64
config: Remove language selection from config page
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:08:40 +01:00
Sunil Mohan Adapa
6090d5c37d
locale: Split the language selection form into a mixin
- It may not be a good thing for the user created/edit forms to inherit from
  Django Form and ModelForm at the same time. So, simply by introducing a
  minimal mixin.

- Save only when committing.

- Use auto-saving feature.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:08:33 +01:00
Sunil Mohan Adapa
842000a01f
locale: Automatically save profile when user model is saved
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:08:27 +01:00
Sunil Mohan Adapa
903c47bc25
locale: Update profile model
- Update the size of the language field to 32 bytes.

- Rename preferred_language to just language for consistency with forms.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:08:11 +01:00
Sunil Mohan Adapa
1cb7b3210a
locale: Decouple language setting from login views
Use the user_logged_in signal provided by Django to log the user in. This keeps
the login code simple and uncluttered.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:08:05 +01:00
Sunil Mohan Adapa
cfec96a9c7
locale: Don't remove language preference on logout
When a logged-in user is logs out, keep the language preference of the user who
was just logged in. This is Django behavior, don't overwrite it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:07:54 +01:00
Sunil Mohan Adapa
90932e78af
locale: Implement utilities for setting/getting language
Separate language cookie are only used if sessions (session middleware) are not
available. Otherwise, even anonymous users have their language preference in
sessions instead of cookies. This is default Django behavior, conform to it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:07:47 +01:00
Sunil Mohan Adapa
e644e5c86a
locale: Refactor language selection form
- Use properly base class overrides

- Implement feature to go back to the page user was on before language
  selection.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:07:39 +01:00
Sunil Mohan Adapa
ef9e5c7a43
locale: Update the language selection form
- Add help text.

- Add docstring.

- Add better description for 'no choice'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:07:31 +01:00
Sunil Mohan Adapa
4da0b0e5d1
locale: Update the style for language selection page
- Remove title. Redundant, like in login page.

- Properly center the form.

- Make it responsive.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:07:18 +01:00
Sunil Mohan Adapa
1b95432217
locale: Make language selection page URL consistent
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-21 21:06:53 +01:00