194 Commits

Author SHA1 Message Date
James Valleroy
ada1967755
Release v19.23 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-16 18:39:08 -05:00
James Valleroy
cb176d2a5d
Release v19.22 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-02 18:01:33 -05:00
Veiko Aasa
dbdd482e61
samba: fixes and improvements
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-01 11:30:35 -05:00
James Valleroy
5802d74e86
debian: Update German debconf translation (Closes: #945387)
Thanks to Helge Kreutzmann for the patch.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-24 05:30:49 -05:00
James Valleroy
a869ef531c
Release v19.21 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 19:36:34 -05:00
James Valleroy
1bd0a65e5c
d/po: Run debconf-updatepo
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 18:14:35 -05:00
Joseph Nuthalapati
815d3ec0e8
firstboot: reading firstboot-wizard-secret file
Explain how to read the firstboot-wizard-secret file using shell
commands. Remove output of the cat command.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 18:10:24 -05:00
James Valleroy
ca0c991562
Release v19.20 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-04 19:26:55 -05:00
Sunil Mohan Adapa
80498919fb
doc: Add developer documentation using Sphinx
- This is completely reworked but based on /Developer page in the FreedomBox
  Manual.

- This documentation can be made available as static site on
  https://docs.freedombox.org and the /Developer page in the FreedomBox Manual
  can be dropped.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-02 13:51:14 -04:00
Joseph Nuthalapati
d62463247f
doc: Move English manual to manual/en directory
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil@medhas.org Have common top level makefile for building manual]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-30 19:25:02 -04:00
Joseph Nuthalapati
46b587196f
doc: Fix Unicode issues with the manual
docbook2html generates HTML4 documents and can't handle utf-8 input. It is quite
outdated. Switch to using stylesheets from docbook-xsl package instead.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil@medhas.org Remove intermediary file docbook.css]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-30 19:24:52 -04:00
Fioddor Superconcentrado
a2565906ca
d/po: Fix header comments
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-30 11:55:16 -07:00
Fioddor Superconcentrado
60b412990f
d/po/es: New translation file
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-30 11:54:58 -07:00
Sunil Mohan Adapa
b372a13b1e
debian: Remove plinth transitional package
Stop building plinth package.

This will spark removal of package from unstable as it will not be built for any
source package (NBS, "not built from source") by the "cruft-report" tool.
Eventually it will also be removed from testing as there are not dependencies on
it.

See: https://wiki.debian.org/ftpmaster_Removals

Removal from backports may require filing a ticket in RT.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-26 09:50:46 -04:00
James Valleroy
d05facfe04
Release v19.19 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-21 18:50:38 -04:00
Sunil Mohan Adapa
8d4614c3e2
gitweb: Minor fixes after review
- Since Wiki Commons and Icons project seems to be referring to each other for
  license about the git icon, point to the upstream git as source for copyright.

- Rename the is_running() method so that it won't clash with the semantics of
  is_running method in other components.

- Fix incorrect call to have_public_repos() in is_enabled() method for gitweb
  auth configuration.

- Use {{ block.super }} to avoid repeating inherited block.

- Send the repository data as context data rather than form data in AppView.
  This seems more appropriate.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-19 19:13:57 -07:00
Veiko Aasa
1b9dea4033
gitweb: New app for simple git hosting
Closes: #1658

Signed-off-by: Veiko Aasa veiko17@disroot.org
[sunil@medhas.org Minor styling and cosmetic changes]
[sunil@medhas.org Write comments for Apache configurations]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-19 19:13:54 -07:00
James Valleroy
4a85167b5b
Release v19.18 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:15:54 -04:00
James Valleroy
0b78a40766
d/control: Update Standards-Version to 4.4.1
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:15:40 -04:00
James Valleroy
1996a0c821
d/control: Add Rules-Requires-Root: no
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:14:30 -04:00
James Valleroy
5fe84bf395
security: Add past vulnerabilities count
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org isort]
[sunil@medhas.org Handle errors during HTTP request]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-03 15:59:49 -07:00
Sunil Mohan Adapa
f0e45d39c9
debian: Remove python3-requests from depends list
Requests library is still used by functional tests.

- Add requests as test dependency in setup.py.

- Keep python3-requests are build dependency in debian/control

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-02 17:21:44 -04:00
James Valleroy
aca0c65d68
Release v19.17 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-23 18:15:17 -04:00
James Valleroy
ee77b00079
Release v19.16 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-09-09 18:20:16 -04:00
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