170 Commits

Author SHA1 Message Date
James Valleroy
797a057ea2
Release v19.15 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-26 19:12:59 -04:00
James Valleroy
9073f06dca
debian: Add lintian-override for package-installs-apt-preferences
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-26 19:12:52 -04:00
James Valleroy
ba9700cf0f
Release v19.14 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:46:04 -04:00
James Valleroy
872cf382b0
debian: Switch to debhelper-compat
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:45:58 -04:00
James Valleroy
68535fa1e6
debian: Update standards version to 4.4.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-08-12 19:45:48 -04:00
James Valleroy
4901ad76f2
Release v19.13 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-29 19:43:59 -04:00
Nikolas Nyby
ace339eabf
Introduce flake8 checking - #58
This introduces flake8 and fixes a bunch of flake8 errors.

flake8 is run with: ./venv/bin/flake8 plinth
if you're using a python3 venv.

We can eventually further integrate this with gitlab ci.

https://salsa.debian.org/freedombox-team/plinth/issues/58

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-24 14:01:54 -07:00
Nikolas Nyby
d2e987ef3c
Fix a handful of typos in docs and comments
Found with [codespell](https://github.com/codespell-project/codespell/)

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-24 12:39:11 -07:00
James Valleroy
45614b198b
Release v19.12 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 19:23:45 -04:00
James Valleroy
ff34c3a8a9
Release v19.11 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-08 18:14:45 -04:00
Joseph Nuthalapati
3a8fbdd799
debian: Add python3-paramiko to build dependencies
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-03 12:41:36 +05:30
Joseph Nuthalapati
67404a1c2d
backups: Make paramiko a dependency of freedombox package
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-03 12:41:28 +05:30
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
4c4a59e5fe
Release v19.9 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-06-10 19:19:43 -04: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
177c819a76
debian: Remove duplicate priority field
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-27 18:19:29 -04:00
Sunil Mohan Adapa
c61eea8e11
doc: Update the correct license for documentation
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-16 06:41:58 -04:00
Sunil Mohan Adapa
fbc2e195a1
icons: Update copyright information remaining icons
- Move information from LICENSES to debian/copyright file where applicable.

- Generate fresh PNG files from SVG to simplify copyright information.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-16 06:41:55 -04:00
Sunil Mohan Adapa
8e62c4e351
icons: Ensure SVG presence for all non-app icons
- Update debian/copyright with proper information.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-16 06:41:52 -04:00
Sunil Mohan Adapa
a931bf3fc5
icons: Add license information for SVG icons
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-05-16 06:41:46 -04: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
90b61c5d4f
Release v19.6 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-29 19:18:42 -04:00
James Valleroy
504ed112cd
Release v19.5 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-15 18:49:38 -04:00
James Valleroy
03432c2111
Release v19.4 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-04-01 20:32:11 -04:00
James Valleroy
6b45cdc68e
Release v19.3 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-18 20:31:22 -04:00
Sunil Mohan Adapa
fd9b6770be
tests: Use pytest for running all tests
- Create option --include-functional to run functional tests. Otherwise, they
  are disabled by default. If pytest-bdd is not installed, functional tests are
  not discovered at all.

- Make pytest-django discover the setting files by creating dummy manage.py in
  top level directory.

- Make pytest run as './setup.py pytest'. Add alias from './setup.py test'. This
  requires pytest-runner package.

- Merge .gitignore files from functional_tests/

- Update gitlab-ci.yml to run tests with coverage using pytest.

- Update HACKING.md to suggest using py.test-3 instead of old way of running.
  Merge functional tests README.md into HACKING.md.

- Remove execution wrapper runtests.py as pytest-django is able to configure
  Django settings before execution of tests. Update tests to explicitly ask for
  Django database as database access is denied by default.

- Replace usage of python3-coverage with python3-pytest-coverage. Execution
  wrappers are not required.

- Add build dependencies on pytest modules.

- Let all warnings be shown after running tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-10 09:54:23 -04:00
James Valleroy
c3cf60bcb6
Release v19.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-02 14:46:30 -05:00
James Valleroy
7c01585f2b
debian/copyright: Fix filename for tahoe-lafs logo
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 06:19:38 -05:00
Sunil Mohan Adapa
0a1a0cd1b4
debian/copyright: Update copyright for logos
Robert Martinez the original author transferred all copyrights for the initial
logo work to the FreedomBox foundation. The icons are derivatives of this work.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:58:59 -08:00
Sunil Mohan Adapa
06d1b167bb
debian/copyright: Add license text for CC-BY-SA-3.0
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:58:35 -08:00
Sunil Mohan Adapa
1e48a64ddf
debian/copyright: Add license text for GPL-2 and GPL-3
They are different from GPL-2+ and GPL-3+.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:57:59 -08:00
Sunil Mohan Adapa
f5c85471ee
debian/copyright: Add license text for public-domain
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:57:32 -08:00
Sunil Mohan Adapa
a4fdf3f703
debian/copyright: Add full text for AGPL-3+
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:57:29 -08:00
Sunil Mohan Adapa
130102e1f4
debian/copyright: Minor fixes
- Update copyright year for fonts based on information embedded in .ttf file.

- Remove incorrect copyright text.

- Each session should have only one copyright line.

- Fix syntax for multiple licenses.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-03-01 01:57:07 -08:00
James Valleroy
e4e379926f
debian/copyright: Move some more app icons from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 01:28:33 -08:00
James Valleroy
a1d130299a
debian/copyright: Include some URLs dropped from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 01:28:30 -08:00
James Valleroy
2297defe3d
debian/copyright: Move more app icons from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-03-01 01:28:26 -08:00
James Valleroy
990c2446a7
debian/copyright: Fix typo in year
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:14 -08:00
James Valleroy
f2b45ea15b
debian/copyright: Move some app icons from LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:11 -08:00
James Valleroy
7b0957d795
debian/copyright: Remove unnecessary fields for native package
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:07 -08:00
James Valleroy
d4b4d1e29f
debian/copyright: Move all license texts to end
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:04 -08:00
James Valleroy
4e5b1f346f
debian: Add copyright info for theme images
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:55:01 -08:00
James Valleroy
2202439af8
debian: Add copyright info for individual logo files
Remove from LICENSES.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:54:54 -08:00
James Valleroy
5b9b1cbfa9
debian: Add copyright info for lato fonts
Remove from LICENSES.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:54:51 -08:00
Sunil Mohan Adapa
2df02b059c
dbus: Add new module for D-Bus services
- Implement listening for CacheUpdated notification.

- Configuration to allow only root to trigger the notification.

- Trigger the notification from an apt update hook.

- Retrieve the list of packages available for upgrade and print them to log.

- Add dependency on libglib2.0-bin for the gdbus command line tool.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:05 -05:00
James Valleroy
adb08df512
debian: Add copyright years for debian/*
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-25 20:42:05 -05:00
James Valleroy
de62a3260c
Add 2019 to copyright years
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-25 20:17:54 -05:00
James Valleroy
7295a6d9cc
Release v19.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-14 06:01:53 -05:00
James Valleroy
97f603e998
Release v19.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-09 20:38:17 -05:00
Sunil Mohan Adapa
67451248eb
upgrades: Fix premature adding of buster-backports sources
It is incorrect to check for backports availability, FreedomBox systems got
added buster-backports sources prematurely. This will lead to apt update
failures resulting in FreedomBox becoming unable to install new apps.

Fix this by removing old sources and adding new sources only after
performing (this time correct) backports URL check.

Closes: #1496.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-09 19:36:03 -05:00