4759 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
273c419a26
gitlab-ci: Fix path for HTML coverage report generation
This issue is caused by use of tmpdir fixture which forces the tests to run in a
temporary directory and HTML report to also get generated there.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-26 23:01:38 -07:00
Sunil Mohan Adapa
83337e4786
cfg: Fix test case failure due to incorrect path assumption
When tmpdir fixture is used, the tests run in a separate directory instead of
command execution directory. Any tests that take the current directory and
assume that it contains files will fail. Fix this by taking the path relative to
test module instead.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-26 22:07:52 -07:00
Veiko Aasa
c8eb5bb3ca
gitweb: Add tests for actions script
- add tests for create, edit and delete repository functions
- modify actions script to allow run actions without root privileges:
  - add argument --git-repo-root to overwrite the default root directory
    of repositories
  - add option --keep-ownership to the create-repo command to skip
    changing ownership to www-data
- actions script, repo-info command: instead of returning empty values,
  raise an error if the repository doesn't exist

Closes #1667

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil@medhas.org Remove unneeded #! directive]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-26 21:27:28 -07:00
Thomas Vincent
314e30d034
backups: Fix a typo in backups upload form
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-26 17:55:21 -07:00
Allan Nordhøy
fa82a7ea72
Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.9% (1056 of 1101 strings)
2019-10-26 19:53:28 +02:00
Mattias Münster
d09b485590
Translated using Weblate (Swedish)
Currently translated at 18.2% (200 of 1101 strings)
2019-10-26 19:53:27 +02:00
homycal
92790ff8d4
Translated using Weblate (French)
Currently translated at 76.0% (837 of 1101 strings)
2019-10-26 19:53:25 +02:00
Thomas Vincent
10ea3b2a58
Translated using Weblate (French)
Currently translated at 76.0% (837 of 1101 strings)
2019-10-26 19:53:24 +02:00
Fioddor Superconcentrado
221d1ee887
Translated using Weblate (Spanish)
Currently translated at 100.0% (1101 of 1101 strings)
2019-10-26 19:53:20 +02:00
Pavel Borecki
9133855cec
Translated using Weblate (Czech)
Currently translated at 98.8% (1088 of 1101 strings)
2019-10-26 19:53:17 +02: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
Michael Breidenbach
b6ff4f9879
Translated using Weblate (German)
Currently translated at 100.0% (1101 of 1101 strings)
2019-10-25 19:27:00 +02:00
Fioddor Superconcentrado
a21f1f458c
Translated using Weblate (German)
Currently translated at 100.0% (1101 of 1101 strings)
2019-10-25 19:26:59 +02:00
Veiko Aasa
7c5837a13a
gitweb: Set correct access rights after enabling application
- after enabling application, do not enable Apache auth configuration
  if a public repository exist.

Closes #1669

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-22 11:44:49 -07:00
James Valleroy
d05facfe04
Release v19.19 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.19
2019-10-21 18:50:38 -04:00
James Valleroy
52d718b3e6
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-21 18:48:18 -04:00
James Valleroy
93bad8a55e
locale: Update translations strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-21 17:57:57 -04:00
Matthias Dellweg
ebd3af340c
quassel: Add let's encrypt component for certficiates
Signed-off-by: Matthias Dellweg <2500@gmx.de>
[sunil@medhas.org Implement set domain as superuser action to make it succeed]
[sunil@medhas.org Minor cosmetic changes]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-21 12:09:13 -07:00
Veiko Aasa
4c13ef24bb
gitweb: enable rename detection
Closes #1666

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
2019-10-21 10:41:58 -07:00
Veiko Aasa
98051751ff
gitweb: add help text for description and owner fields in the form
Closes #1665

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil@medhas.org cosmetic changes, isort]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-21 10:38:15 -07:00
Veiko Aasa
08b90f6830
gitweb: fix Windows Git client download link in manifest
Closes #1664

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-21 10:30:55 -07:00
Veiko Aasa
a17749ce3e
gitweb: update repository list where necessary
Closes #1663

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil@medhas.org Add docstring to update_service_access method]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-21 10:26:11 -07:00
Allan Nordhøy
d01b04d218
Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.7% (1056 of 1070 strings)
2019-10-21 02:52:56 +02:00
Michael Breidenbach
7c4b840b96
Translated using Weblate (German)
Currently translated at 100.0% (1070 of 1070 strings)
2019-10-21 02:52:56 +02:00
Sunil Mohan Adapa
8a1a3a66f7
cosmetic: yapf formatting
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-20 11:54:15 -04:00
Sunil Mohan Adapa
f509dc54c1
ikiwiki: Remove extra create button when no wiki/blog is present
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-20 11:54:13 -04:00
Sunil Mohan Adapa
54cf2566d8
searx, app, translation, language-selection: Fix license header
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-20 11:54:10 -04:00
Veiko Aasa
b86f3ff675
users: reload Apache2 to flush LDAP cache after user operations
Fixes #1660

Signed-off-by: Veiko Aasa veiko17@disroot.org
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-20 11:50:36 -04:00
Sunil Mohan Adapa
054a3744d5
frontpage: Show shortcuts that public even if need a group
Closes: #1659.

When shortcuts have login_required=False and allow_groups set to a list of
groups, the current behavior for logged in users is to match for allowed_groups
even when login_required is False. Thus, for searx, when public mode is enabled
searx shortcut is not shown for logged in users who are not part of searx group.

Fix this by ignoring allowed_groups if login_required is False.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-20 11:38:37 -04:00
James Valleroy
91da0996a4
gitweb: Fix flake8 error
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-20 10:58:20 -04:00
Sunil Mohan Adapa
3001099cda
gitweb: Fix issue with elevated access to private repositories
When using git-http-backend, both URLs ending with and without .git are allowed.
However, access restriction has only be applied for URLs ending with .git. This
means that private git repositories are clone-able by anonymous users by
removing the .git suffix in the URLs.

Fix the issue by extending the access restriction to cover URLs not ending with
.git.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-19 19:14:04 -07:00
Sunil Mohan Adapa
f581591521
gitweb: Minor visual changes to templates
- Remove cancel button in favor of back button.

- In create/edit form, make the form full width to make it consistent with other
  forms. The styling for all the forms can be changed together, if desired.

- Remove dead HTML code outside block context in inherited template.

- Add missing 'list-group' parent for repository list as suggested by bootstrap.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-19 19:14:00 -07: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
ikmaak
ff3c6adac8
Translated using Weblate (Dutch)
Currently translated at 93.7% (1003 of 1070 strings)
2019-10-16 00:52:52 +02:00
Sunil Mohan Adapa
a6fc4bfea3
ejabberd: Removed unused letsencrypt action
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-15 06:54:16 -04:00
Sunil Mohan Adapa
42b923c04e
matrixsynapse: Remove unused letsencrypt action
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-15 06:54:13 -04:00
Nevena Mircheva
b0ba185020
Translated using Weblate (Bulgarian)
Currently translated at 1.0% (11 of 1070 strings)
2019-10-12 16:52:32 +02:00
James Valleroy
afa75fd0d4
Translated using Weblate (French)
Currently translated at 75.9% (812 of 1070 strings)
2019-10-11 12:10:22 +02:00
Birger Schacht
40de5b7ffc
ssh: Show server fingerprints in SSH page
- Add a function to the ssh module that returns information about the SSH host
  keys as dict.

- Move SSHAppView to a new ssh/views.py.

- Add the ssh host key information to the SSHAppView context.

- Create a template for the SSH module.

- Display the sshkeys context information in the template below the status area.

Closes: #1650

Signed-off-by: Birger Schacht <birger@rantanplan.org>
[sunil@medhas.org Minor styling updates for variable names, isort, yapf]
[sunil@medhas.org Styling updates on the HTML output for consistency]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-10 20:20:39 -07:00
Veiko Aasa
ed646d84a5
actions: Check with flake8
Also fix flake8 warnings.

Closes: #1613

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil@medhas.org split multi strings differently to avoid spaces]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-10 19:08:45 -07:00
Thomas Vincent
938e83ade6
Translated using Weblate (French)
Currently translated at 75.9% (812 of 1070 strings)
2019-10-09 22:58:36 +02:00
Pavel Borecki
a1f68dd5a3
Translated using Weblate (Czech)
Currently translated at 98.6% (1055 of 1070 strings)
2019-10-09 22:58:34 +02:00
Veiko Aasa
6cd6742d8f
ikiwiki: Allow full Unicode text in wiki/blog title names
Closes: #1523

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil@medhas.org Fix issue with enabling shortcuts on daemon start]
[sunil@medhas.org Run isort and yapf]
[sunil@medhas.org Prevent change in i18n string]
[sunil@medhas.org Fix flake8 warning about uniform return values]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-10-08 14:33:36 -07:00
James Valleroy
4a85167b5b
Release v19.18 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.18
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
3d6625333f
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 19:05:42 -04:00
James Valleroy
1be1fb1eaa
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-07 18:32:06 -04:00
Sunil Mohan Adapa
211b0ea78d
minetest: Remove mod-torches no longer available in testing/unstable
Closes: #1651

Tests:

- Install and check that the daemon is running.

- Run functional tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-10-05 15:00:21 -04:00