Commit Graph
3055 Commits
Author SHA1 Message Date
James Valleroy 075ccf402a functional-tests: Minor cleanup of license headers and whitespace
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:13:11 +01:00
Joseph Nuthalapati af1406119d searx: Add basic functional tests
- Tests to enable/disable Searx

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:01:03 +01:00
Joseph Nuthalapati 0bdc2802f2 functional-tests: Merge plinth-tester into plinth
- Rename Plinth-tester to FreedomBox
- Add pytest.ini to discover the root directory for tests easily
- Update README to say that py.test should be run from functional_tests
  directory.
- Add geckodriver.log to .gitignore

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:00:42 +01:00
Joseph Nuthalapati 73bac986e4 coquelicot: Rename Plinth to FreedomBox in license headers
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-28 19:00:04 +01:00
Luis A. Arizmendi c5b7a0772a Translated using Weblate (Spanish)
Currently translated at 100.0% (902 of 902 strings)
2018-02-27 19:32:45 +01:00
Allan Nordhøy 7dea462f2b Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.1% (813 of 902 strings)
2018-02-27 06:37:32 +01:00
danielwine bf6e364004 Translated using Weblate (Hungarian)
Currently translated at 18.7% (167 of 890 strings)
2018-02-27 06:37:32 +01:00
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