Sunil Mohan Adapa
e53e120dbb
pagekite: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:14:52 +05:30
Sunil Mohan Adapa
0cacb21983
names: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:14:22 +05:30
Sunil Mohan Adapa
54b684dbaf
letsencrypt: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:14:12 +05:30
Sunil Mohan Adapa
a195fdca57
diaspora: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:14:01 +05:30
Sunil Mohan Adapa
377a50e213
config: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:13:43 +05:30
Sunil Mohan Adapa
1644b30605
bind: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:13:34 +05:30
Sunil Mohan Adapa
2d832ace36
backups: Convert tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:13:22 +05:30
Sunil Mohan Adapa
9040b26b4e
custom_shortcuts: Fix issue with writing tests as different user
...
- Don't write to files in test data directory. Instead write to temporary
directory patch the code to work with the temporary directory. This prevents a
problem with running tests when the user owning the source directory is not
the same as the user running the tests.
- Use fixtures.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:12:54 +05:30
Sunil Mohan Adapa
6a04500517
tests: Remove unused test discovery code
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:12:40 +05:30
Sunil Mohan Adapa
8ccb7780a2
tests: Add commonly used fixtures globally
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-05-12 17:12:14 +05:30
Sunil Mohan Adapa
c4c6480f10
apps: Promote/demote menu items for disabled apps too
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:58:18 -07:00
Sunil Mohan Adapa
7a2fbd4439
sharing: Always keep menu item in promoted state
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:58:15 -07:00
Sunil Mohan Adapa
dba0e40020
apps: Style the title for disabled icons section
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:58:11 -07:00
Sunil Mohan Adapa
4aae99d695
apps: Style disable app icons according to design
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:58:08 -07:00
Sunil Mohan Adapa
dd58b4fd39
apps: Fix showing apps background twice
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:58:05 -07:00
Sunil Mohan Adapa
8ebde0dc90
tor: Fix issue with promoting/demoting menu item
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:58:01 -07:00
Sunil Mohan Adapa
c0bb1282b8
transmission: Fix issue with promoting menu item
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:57:58 -07:00
James Valleroy
893bd2b4d6
apps: Separate enabled and disabled apps
...
- Add 'secondary' flag to menu items.
- Mark apps as 'secondary' when disabled.
- Extend TemplateView for apps index.
- Add card-container for disabled apps.
Closes #1309
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-05-07 16:57:55 -07:00
Erik Ušaj
fe16bf4d26
Translated using Weblate (Slovenian)
...
Currently translated at 9.7% (101 of 1036 strings)
2019-05-07 22:48:30 +02:00
ssantos
01b12b9dac
Translated using Weblate (Portuguese)
...
Currently translated at 5.4% (56 of 1036 strings)
2019-05-07 22:48:23 +02:00
ssantos
bfbf305490
Translated using Weblate (German)
...
Currently translated at 100.0% (1036 of 1036 strings)
2019-05-07 22:48:22 +02:00
Karel Trachet
16881906b8
Translated using Weblate (Dutch)
...
Currently translated at 87.4% (905 of 1036 strings)
2019-05-07 22:48:21 +02:00
Erik Ušaj
5d48686a80
Added translation using Weblate (Slovenian)
2019-05-06 16:10:18 +02:00
Radek Pasiok
db3a85c6e3
Translated using Weblate (Polish)
...
Currently translated at 29.2% (302 of 1036 strings)
2019-04-30 16:37:51 +02:00
Allan Nordhøy
62a0c4692c
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 100.0% (1036 of 1036 strings)
2019-04-30 16:37:04 +02:00
Doma Gergő
09475d884d
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (1036 of 1036 strings)
2019-04-30 16:35:07 +02:00
James Valleroy
cb43d5ad09
Merge branch 'master' of salsa.debian.org:freedombox-team/plinth
2019-04-29 20:05:30 -04:00
Sunil Mohan Adapa
56d511368d
i2p: Convert router configuration tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 16:51:58 -07:00
Sunil Mohan Adapa
97ed7fe144
i2p: Minor flake8 and yapf fixes
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 16:51:54 -07:00
Sunil Mohan Adapa
dca91da571
i2p: Update license headers for consistent formatting
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 16:51:51 -07:00
LoveIsGrief
f7d9c9eff5
i2p: Include default favorites after installation
...
The default favorites might change and we might have to update the list but for
now they were extracted from a clean router.config saved by the i2p daemon.
1528 - augeas for router.config
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 16:51:19 -07:00
LoveIsGrief
1c9ad9f953
i2p: Use augeas for editing the router.config
...
It's cleaner and less hacky, however we still overwrite the default favs because
they aren't written to the file by i2p until a change is made manually in the
frontend.
We still need to recreate the list of default and add them manually.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 16:50:40 -07:00
James Valleroy
90b61c5d4f
Release v19.6 to experimental
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.6
2019-04-29 19:18:42 -04:00
James Valleroy
a7b3e685e1
doc: Fetch latest manual
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-29 19:17:46 -04:00
James Valleroy
da11b30134
locale: Update translation strings
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-29 19:03:17 -04:00
Sunil Mohan Adapa
c13e9a4227
i2p: Don't enable proxies on external zone
...
- Only web interface (protected by sign-on) should be available on external
interfaces.
- Proxies should only be available on internal interfaces. Otherwise, they will
become open proxies on the Internet which might have implications for the
FreedomBox user.
- Update description to convey that we are not opening SOCKS proxy but only
HTTP, HTTPS and IRC proxies.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:38:43 -07:00
Sunil Mohan Adapa
8267c1156b
i2p: Disable the daemon before editing configuration
...
- This is likely to yield better consistency as the daemon also edits the
configuration files.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:02:30 -07:00
Sunil Mohan Adapa
1e8a39e690
i2p: Update firewalld service descriptions
...
- HTTP/HTTPS proxies are not SOCKS proxies. SOCKS proxies are not recommended by
the project. https://geti2p.net/en/docs/api/socks
- Write more detailed description in firewalld style.
- Rename the files for firewalld styling and removing 'socks'.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:02:27 -07:00
Sunil Mohan Adapa
ce9eacb751
i2p: Convert unit tests to pytest style
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:02:24 -07:00
Sunil Mohan Adapa
a73f002ed6
i2p: flake8 and yapf fixes
...
- Run isort and yapf.
- Better docstrings.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:02:20 -07:00
LoveIsGrief
66b161b986
i2p: Enable application
...
Closes : #1528 (i2p: Improve and enable the application)
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:02:03 -07:00
LoveIsGrief
f40ecaa155
i2p: Add HTTP(S) and IRC ports to firewall
...
Enable or disable the ports with the firewalld.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:01:59 -07:00
LoveIsGrief
5c26c28f96
i2p: Open HTTP(S) and IRC ports on all interfaces on install
...
I2P has to be restarted in order for the changes to take effect.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 15:01:50 -07:00
LoveIsGrief
eb28f47053
i2p: Add helper to modify the tunnel config
...
We will want to set the 'interface' property of certain tunnels to 0.0.0.0 and
the handle the rest with the firewall. This is just prep to do so.
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-29 14:58:38 -07:00
James Valleroy
0018e14cab
firewall: Show ports details
...
Show port types and numbers.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-28 20:59:37 -07:00
James Valleroy
e5081018a3
firewall: Get service ports details
...
Add interface to get port types and numbers for a service.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-28 20:59:15 -07:00
narendrakumar.b
51fc87f1bc
letsencrypt: Provide link to configure domain if not configured
...
Added hyper link to /plinth/sys/config as per #1355 .
Closes : #1355 .
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-04-26 11:52:17 -07:00
Mesut Akcan
21c664082b
Translated using Weblate (Turkish)
...
Currently translated at 79.0% (818 of 1036 strings)
2019-04-26 12:48:16 +02:00
Mesut Akcan
529c51e57e
Translated using Weblate (Turkish)
...
Currently translated at 77.7% (805 of 1036 strings)
2019-04-19 11:34:09 +02:00
Allan Nordhøy
af9d812778
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 99.8% (1034 of 1036 strings)
2019-04-17 23:04:47 +02:00