32 Commits

Author SHA1 Message Date
Veiko Aasa
dbdd482e61
samba: fixes and improvements
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-12-01 11:30:35 -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
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
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
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
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
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
a69e7a27a3
debian: Use https for copyright format url
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-04-09 19:05:13 +05:30
Sunil Mohan Adapa
f64a584aff
debian: Update copyright to FreedomBox Authors
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-16 20:11:17 -05:00
Sunil Mohan Adapa
db2b796165
Update Github URLs with Salsa URLs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-01-30 11:06:13 +05:30
Federico Ceratto
17ee712502
debian: Switch to native package
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-03 18:30:35 +05:30