Sunil Mohan Adapa
e36781af77
app: Document the app_id property for App class
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-16 18:22:10 -05:00
Sunil Mohan Adapa
b576a77c3d
app: Refactor all apps to use the Info component
...
- Remove the need to pass all the individual information elements to the AppView
separately. This eliminates many issues with elements that were mistakenly not
sent to AppView. Also reduces a lot of code duplication.
- Create App classes for power and sso for consistency.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-16 18:22:01 -05:00
Sunil Mohan Adapa
67a216ba18
app: Add info property as shortcut to access basic information
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-16 18:21:58 -05:00
Sunil Mohan Adapa
72ce23e377
app: Introduce Info component to store basic app information
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-16 18:21:53 -05:00
Sunil Mohan Adapa
7b05d7433d
functional_tests: cosmetic: Minor yapf chnage
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 15:36:11 -05:00
Sunil Mohan Adapa
45bd9d3905
jsxc: Fix functional test case failure
...
The optimization for not visiting FreedomBox pages again while on FreedomBox
pages fails as it assumes that all URLs starting with /plinth/ are part of
FreedomBox. /plinth/app/jsxc/jsxc/ is an exception. Fix the optimization
condition by adding a conditional check. Better ways can be found later.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 15:36:04 -05:00
Sunil Mohan Adapa
591ed5c4ae
jsxc: Bypass issue with stronghold to get the app working again
...
stronghold seems to have an issue with Django 2.1 decorators. A fix has not
been released yet.
Closes : #1697 .
Tests:
- Functional tests for JSXC.
- Vist JSXC, login using FreedomBox account. Chat rooster becomes available.
- Log out, ensure that JSXC page is available.
- Log in, ensure that JSXC page is available.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 15:35:54 -05:00
James Valleroy
c78d96984b
bind: Bump version and handle upgrade
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 10:07:48 -05:00
Nektarios Katakis
3f0642109c
bind: create zones directory on setup action
...
Closes : #1571
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 10:07:46 -05:00
Nektarios Katakis
d0fcc179a7
bind: views show served domains in main view
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 10:07:43 -05:00
Nektarios Katakis
5826d35ce5
bind: test for parsing zones file with specific format
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 10:07:41 -05:00
Nektarios Katakis
19f9436457
bind: parse zones files
...
Signed-off-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-15 10:07:38 -05:00
Allan Nordhøy
4ac8e2c15f
openvpn: Fix spelling for Tunnelblick
...
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-14 16:38:42 -08:00
Joseph Nuthalapati
deb4adc4ab
l10n: Fix gettext not detecting no-python-format
...
Looks like the annotation provided by Django has to be literally on the
line above the line where the percent symbol is found.
https://docs.djangoproject.com/en/3.0/topics/i18n/translation/#troubleshooting-gettext-incorrectly-detects-python-format-in-strings-with-percent-signs
2020-02-15 00:57:52 +05:30
Sunil Mohan Adapa
e398f58ca9
system: Implement new style for cards
...
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-02-14 23:02:55 +05:30
Sunil Mohan Adapa
ca624e718a
cards: Remove the transition delay on hover effect
...
The cards react very fast to mouse movements give the feeling of more
responsiveness in the UI instead of feeling sluggish.
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-02-14 23:02:25 +05:30
Petter Reinholdtsen
adbdd5814b
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 83.8% (1044 of 1246 strings)
2020-02-14 04:18:25 +01:00
Dietmar
a1c074f9c2
Translated using Weblate (Italian)
...
Currently translated at 44.5% (554 of 1246 strings)
2020-02-14 04:18:23 +01:00
Dietmar
137c065b0d
Translated using Weblate (German)
...
Currently translated at 100.0% (1246 of 1246 strings)
2020-02-14 04:18:11 +01:00
James Valleroy
3b6174eb15
Release v20.2~bpo10+1 to buster-backports
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.2bpo10+1
2020-02-13 19:41:07 -05:00
James Valleroy
f0173e7729
Release v20.2 to unstable
...
-----BEGIN PGP SIGNATURE-----
iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl5B93MWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICDGwEACX8F8fHHD++j/ULpk1O4LUxdfr
D6MZ1002rdNmVaDSBK8hv6AKF+M4EStkhzwAe5iiUK82Fh6SaGhN1xHymAUMw7Q6
IJp0F05Psj6LZFjTF03qmfdr8tCYysF8xN9LBLeEIFqJ7jUQU7p3DIXNRAXq01Uk
rPeA3ibuhLw/i40W3AGEm1R1pQx3zTs6LljiyIB37arS9ply0skT2w3+Kw6mnera
oWXSH2aVQ/jX5Sa/7W9EDhYhVRqcw106uWQ+Fmv9LhscNpOIOvCHQ9r0+7LR1En1
Bu3ATt2UAOiFWU0N0Meb0M0cmRG4EmTiJ9jwm6AZVBG7iBIIU9tmeiOrBj1APU38
FlqsoxuRmMp6KaJT+bkfsVU0M/4e4Q5gP12dAzVEhw34jfsyQGqK+hyrxuGBbXCZ
ojxUmU24AW6iC4TfSf0WVvuSNl2oyuZWwhtBBOFVlMZmDp2G4zywTcLzwmbXfpfL
PBfIC0pC0r0G7n8oHOmIVkaL70y8RvjshkZOpPkx1mlFXCDfkeJv6xjfd5zFPznA
QpOiGFCzzPBVgWzf0rCXor01TKNMs+1b72jZjJCCf4kJZO4v5JtE/6LuTScCa+m4
mp/KtTeEWqfqeIAP5xbg5yys4ITJMukThvN9w9A78tkhE5sbgS5vUA4+rgfzoFpR
/QTFnqPwVBag8zH9jg==
=j/pz
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAl5F7HgWHGp2YWxsZXJv
eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICARdEADA3rnauM4zKzUBlGmkTvhNPsDy
pce/7jfv917d1xTtDXx1GRbnFmOVXdlOzJqxRU0EN59YCnOKQVr+iN4TS0H0OJzc
/eIEPNb+95l2L+M4ouTrBr8NiqBd4UtxWGECzhTnxg3rcnCZnXJaqritKz3g/sIF
+CEqLKNVDRFPWYZYkKxlmIjvn8L4KKlqK1Ckvv9/bLg+EcU73OWk21TUG29qFFoU
XclxcT36utVn1zibeyc0zZcFCjJkyVqjx4/DkR2Ie+jOllJ7AMX9K0LEayljwq1b
BEt33qxb1XmZQRjITybCmgV6LmDxobkCI4Qm/BSTdk2oKZT2Q8Lii64DUUSqboKS
wgmUh78X58A2eIi6jhB7LhEnTj4n6uGXi6MLgoSOOPvPubmIyuPGkjIm+JcSzDFi
q5TkSHc0Zufr/j8MwjGND8vurfahYcM49Tv9NIZYbtfdTK/4M+jBMqr/KN4qCu80
3qelayZCcHVFLPDyU9XqUg59z4Dq1nlCRNMiSCbCb0Nv2bccD3XYe0RFvQErz4gd
Z68mYy3dYbX2nGHS3D0XxskSIs+TOcQkoEKTLysRgeD0jOrb0HmXD/NmCxZ/pFBc
1IEBqnpNQpovWgLc/aEmOc5eCBMxf7ATjl1mBSXCJUOm0E3G5mXGlNQNY6/xBg3k
h+WlGID9BcixPUTr4w==
=WCr8
-----END PGP SIGNATURE-----
Merge tag 'v20.2' into debian/buster-backports
Release v20.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-13 19:40:21 -05:00
Veiko Aasa
87983461e0
apps: remove css filters and glow from app icons
...
Closes #1722
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-13 14:42:53 -08:00
James Valleroy
8f63590882
Release v20.2 to unstable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.2
2020-02-10 19:23:16 -05:00
James Valleroy
879927a290
doc: Fetch latest manual
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 19:22:39 -05:00
James Valleroy
85f40cba5b
locale: Update translation strings
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:36:45 -05:00
Sunil Mohan Adapa
9ef28c87c6
storage: In develop mode check for low disk space more frequently
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:42 -05:00
Sunil Mohan Adapa
db48e869a6
upgrades: Show notification when FreedomBox is updated
...
- Don't not show notification on first install/run.
- Shows notification when upgrading or downgrading.
- This also serves as an example of how to show more specific notifications when
upgraded to a newer version. Closes: 1637.
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:33 -05:00
Sunil Mohan Adapa
5714fc6f51
storage: Show low disk space warning using notifications API
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:31 -05:00
Sunil Mohan Adapa
8529022f63
notification: Show a drop down from main navbar for notifications
...
Closes : #1042 .
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:28 -05:00
Sunil Mohan Adapa
afe179d91d
views: A view to dismiss notifications
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:25 -05:00
Sunil Mohan Adapa
2a8c8c42ca
notification: Add tests for notification API
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:21 -05:00
Sunil Mohan Adapa
8e0a94282f
notification: New API for showing better notifications
...
Closes : #867 .
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:19 -05:00
Sunil Mohan Adapa
5c514e91d3
models: Add model for storing notifications
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:16 -05:00
Sunil Mohan Adapa
f1c4b2235a
tests: Allow adding test templates
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:12 -05:00
Sunil Mohan Adapa
67ac86899a
log: Ability to log SQL queries (disabled by default)
...
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:04 -05:00
Sunil Mohan Adapa
4956a2a63a
web_framework: Set the timezone to UTC
...
This is needed to ensure that all the time/date values stored in the database
are UTC. A timezone change in the settings should not make the database values
inconsistent.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:13:01 -05:00
Sunil Mohan Adapa
9cf84286f4
glib: Introduce method to schedule an operation at regular intervals
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:12:58 -05:00
Sunil Mohan Adapa
2e534db168
glib: Create a new module to deal with all things glib
...
- Chmod -x dbus.py. It appears that the file was accidentally set to permissions
0o755 instead of 0o644.
glib module will contain:
- Code to deal with glib main loop.
- Use glib as a way to schedule timely events instead of creating long running
threads.
- Other mechanisms to help with asynchronous I/O until we start using asyncio.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:12:55 -05:00
Sunil Mohan Adapa
f150528379
help: Eliminate redundant HTML attribute in template
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-10 18:11:34 -05:00
Joseph Nuthalapati
9876c153ba
searx: Fix installation issue for 0.16.0
...
- The Debian package doesn't ship a gzip compressed settings file anymore.
- Tested both the cases - settings.yml.gz and settings.yml
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Create parent directory before simple copy of settings.yml]
[sunil: Use pathlib for simpler code]
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 22:18:15 -08:00
Michael Breidenbach
ffb4e141bb
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1235 of 1235 strings)
2020-02-10 06:50:53 +01:00
Michael Breidenbach
08c23fbc73
Translated using Weblate (German)
...
Currently translated at 100.0% (1235 of 1235 strings)
2020-02-10 06:50:51 +01:00
Joseph Nuthalapati
e35798212e
Translated using Weblate (Telugu)
...
Currently translated at 63.7% (787 of 1235 strings)
2020-02-10 06:50:46 +01:00
James Valleroy
abdcbd3f65
security: Drop PrivateUsers=yes from all service files
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 18:48:22 -08:00
James Valleroy
e5c80e8af3
matrixsynapse: Enable systemd sandboxing
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 18:48:07 -08:00
James Valleroy
4fc3d14ac3
bind: Add CapabilityBoundingSet and ReadWritePaths to service file
...
Change ProtectSystem to strict.
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 18:47:38 -08:00
Veiko Aasa
c18be280f6
help: Fix anchor hidden under navbar
...
The solution idea is from
https://github.com/twbs/bootstrap/issues/1768#issuecomment-46519033
Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 15:14:57 -08:00
James Valleroy
20a1c70fc2
security: Add Sandbox Coverage to report page
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Change label from 'Not Running' to 'Not running' for consistency]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-02-09 15:03:22 -08:00
Joseph Nuthalapati
a6b329fef4
vagrant: Allocate cpus equal to the no. of cores
...
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:58:54 -05:00
James Valleroy
8cec7893e7
users: Make help text translatable
...
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-02-09 11:18:12 -05:00