2992 Commits

Author SHA1 Message Date
James Valleroy
e2b13a218f
Release v19.10 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-24 20:07:11 -04:00
James Valleroy
5a2aaae8d6
locale: Update translations strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-24 19:49:08 -04:00
Sunil Mohan Adapa
c6bbc847b4
syncthing: Open firewall ports for listening and discovery
- Closes #1592.

- Use firewall service definition 'syncthing' already available.

- Open externally also, helps in syncing with peers on the Internet. Open
  discovery port also externally and syncthing deal with the traffic.

- Based on https://docs.syncthing.net/users/firewall.html

Test:

- Install version 2, syncthing firewall service is enabled in internal and
  external zones.

- Disable app, syncthing firewall service is removed. Enable app, syncthing
  firewall service is added.

- Install version 1, upgrade to version 2, syncthing firewall service is added.

- Install version 1, disable syncthing, upgrade to version 2, syncthing firewall
  service is not added. Enable syncthing, firewall service is added.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-24 18:11:35 -04:00
Petter Reinholdtsen
1867cc6e50
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1045 of 1045 strings)
2019-06-22 08:01:21 +02:00
adaragao
e1c0e99cb8
Translated using Weblate (Portuguese)
Currently translated at 7.2% (75 of 1045 strings)
2019-06-22 08:01:20 +02:00
Allan Nordhøy
adb4a988c2
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.8% (1043 of 1045 strings)
2019-06-19 00:01:04 +02:00
Pavel Borecki
a8c19295ea
Translated using Weblate (Czech)
Currently translated at 100.0% (1045 of 1045 strings)
2019-06-19 00:01:03 +02:00
ssantos
4dc4cae04e
Translated using Weblate (German)
Currently translated at 100.0% (1045 of 1045 strings)
2019-06-19 00:01:02 +02:00
Mesut Akcan
399c7007d0
Translated using Weblate (Turkish)
Currently translated at 82.3% (860 of 1045 strings)
2019-06-19 00:01:01 +02:00
Sunil Mohan Adapa
23f37a3a3d
app: Set app as enabled only when the daemon is enabled
- For avahi, datetime and SSH.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:18:08 -04:00
Sunil Mohan Adapa
e4351b6b97
Introduce daemon component to handle systemd units
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:18:02 -04:00
Sunil Mohan Adapa
46f162d093
app: Add unique ID to each app class
Also maintain a global list of apps

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:17:59 -04:00
Sunil Mohan Adapa
e55a85bdd1
app: Rename get() method to get_component()
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:17:56 -04:00
Sunil Mohan Adapa
862d87920a
Introduce uwsgi component to manage uWSGI configuration
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:17:53 -04:00
Sunil Mohan Adapa
4100d36381
Introduce webserver component for managing Apache configuration
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:17:49 -04:00
Sunil Mohan Adapa
ca2c7dbeb0
Introduce firewall component for opening/closing ports
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-13 20:17:45 -04:00
James Valleroy
4c4a59e5fe
Release v19.9 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-10 19:19:43 -04:00
James Valleroy
1c2595a5e5
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-10 19:02:56 -04:00
Allan Nordhøy
60ed0466ec
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1038 of 1038 strings)
2019-06-11 01:00:28 +02:00
Mesut Akcan
c5e18350ca
Translated using Weblate (Turkish)
Currently translated at 81.8% (849 of 1038 strings)
2019-06-11 01:00:26 +02:00
James Valleroy
1600c25ae8
monkeysphere: Hide by default
Update functional test to show advanced apps.

Closes #1453.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-10 11:16:01 -07:00
James Valleroy
ff06c722bb
config: Add option to show advanced apps
Closes #1454.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-10 11:15:58 -07:00
James Valleroy
5fe7f4aaba
searx: Update to use shortcut component
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-09 10:40:58 -04:00
Joseph Nuthalapati
7e1e5182cc
searx: Preserve public_access setting
- Preserve the setting during enable/disable as well as during backup/restore.
- Show setting as disabled when application is disabled but restore user's
  original preference value on enable.
- Add functional test for this.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-09 10:40:49 -04:00
Joseph Nuthalapati
2d85b61199
searx: Add option to allow public access to the application
[jvalleroy] Resolved merge conflict to use shortcut component.

Fixes #1590

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-09 10:37:16 -04:00
James Valleroy
6a9133c305
config: Update migration to use app id
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-08 22:50:20 -04:00
Sunil Mohan Adapa
75c57d3e00
Turn frontpage shortcut into an app component
- Turn frontpage shortcut into an App component. Add tests and full
  documentation.

- Overridden implementations for tahoe, diaspora, mediawiki shortcuts to handle
  special cases. Special handling for ikiwiki.

- Extend App API for removing and retrieving a component.

- Add clients information into shortcuts to avoid hacks when presenting
  shortcuts to Mobile devices via API.

- Fixed unnecessary stripping and adding of '/' when setting home page redirect
  URLs. This fixes problem with setting Cockpit as home page.

- Replaced the use of term 'app' in favor of 'shortcut' as the term when setting
  frontpage shortcuts as home page.

- JSXC shortcut does not require login.

- Don't show shadowsocks for anonymous users.

- Simplify showing selected shortcut details.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-07 11:48:08 -07:00
Sunil Mohan Adapa
b96d901071
Introduce component architecture and menu component
- Introduce base class for all apps that will contain components. With
  unittests.

- Introduce base classes for components. With unittests.

- Turn Menu class into an app component.

  - Further cleanup Menu class.

  - Update tests.

  - Maintain a global list of menu items and look them up easily. Generalize
    such that subsubmenus can later be merged into Menu class.

  - Cleanup scope of main menu initialization.

  - Use None instead of empty strings for various values. Ensure that
    printing short_description does not show 'None' in output.

  - Use enable/disable instead of promote/demote.

- Use menu component in all apps.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-07 11:48:04 -07:00
Sunil Mohan Adapa
0eee8ddf65
menu: Removed unused templates, methods and properties
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-07 11:48:01 -07:00
Sunil Mohan Adapa
27980238cd
menu: Remove unused template submenu.html
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-06-07 11:47:58 -07:00
Danny Haidar
4d93e2650c
Added translation using Weblate (Bulgarian) 2019-05-31 19:16:57 +02:00
James Valleroy
a31eb867e2
Release v19.8 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-27 18:30:28 -04:00
James Valleroy
935c223234
locate: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-27 17:49:13 -04:00
Petter Reinholdtsen
b220b06421
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1038 of 1038 strings)
2019-05-27 23:46:35 +02:00
ventolinmono
14be30b6e5
Translated using Weblate (Spanish)
Currently translated at 99.7% (1035 of 1038 strings)
2019-05-21 04:49:35 +02:00
Mesut Akcan
99e8f6da2e
Translated using Weblate (Turkish)
Currently translated at 79.4% (824 of 1038 strings)
2019-05-19 12:48:56 +02:00
ssantos
5d1c1c63cc
Translated using Weblate (German)
Currently translated at 100.0% (1038 of 1038 strings)
2019-05-19 12:48:54 +02:00
Doma Gergő
6829bc3ffd
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1038 of 1038 strings)
2019-05-16 16:48:45 +02:00
Sunil Mohan Adapa
b6325073c5
templates: Use SVG icons for apps page and shortcuts
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-16 06:41:49 -04:00
Allan Nordhøy
51309bef9b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.9% (1037 of 1038 strings)
2019-05-15 14:48:34 +02:00
Pavel Borecki
4197145bc8
Translated using Weblate (Czech)
Currently translated at 100.0% (1038 of 1038 strings)
2019-05-15 14:48:33 +02:00
James Valleroy
920ba36ea1
Release v19.7 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-13 19:48:47 -04:00
James Valleroy
4108e8f30f
locate: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-13 19:21:53 -04:00
Joseph Nuthalapati
76361eac6a
Translated using Weblate (Telugu)
Currently translated at 68.1% (706 of 1036 strings)
2019-05-14 01:19:36 +02:00
Sunil Mohan Adapa
eb72c8cbf5
ssh: Show port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-13 15:54:36 -07:00
Sunil Mohan Adapa
3a0b2cbc01
bind: Show port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-13 15:54:30 -07:00
Sunil Mohan Adapa
4bfb1accfb
i2p: Show port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-13 15:54:24 -07:00
Sunil Mohan Adapa
ad5b34ed35
Common template for showing port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-13 15:54:12 -07:00
Sunil Mohan Adapa
683b70976f
repro: Show port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-13 15:54:05 -07:00
Sunil Mohan Adapa
b92082a530
ejabberd: Include Bosh port 5280 in port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-13 15:53:57 -07:00