Commit Graph
3885 Commits
Author SHA1 Message Date
James Valleroy 6adec225d3 radicale: Add tests for well-known URLs
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-06 17:57:43 -05:00
Joseph Nuthalapati a41002ddec ci: Don't install fuse and fuse3 packages in the CI environment
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-01-06 03:56:46 +05:30
James Valleroy 97bb99b91c Release v0.46.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.46.1
2019-01-04 23:18:08 -05:00
James Valleroy edfc7a55ed debian: Fix spelling errors in lintian override comment
Thanks to Chris Lamb for pointing it out.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-04 23:05:35 -05:00
Sunil Mohan Adapa 25b5eaf4d9 debian: Replace and break older versions of plinth
This is necessary to avoid errors when installing freedombox with older plinth
already installed. Also make plinth depend on latest freedombox to ensure
upgrades go smoothly.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-01-04 22:52:15 -05:00
Allan Nordhøy bf0b7578f2 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1013 of 1013 strings)
2019-01-04 23:12:13 +01:00
Joseph Nuthalapati c3ae35c4b0 clients: Rename DAVdroid to DAVx5
Fixes #1441

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-01-04 14:11:33 -08:00
prolinux ukraine f7e8ccb38a Translated using Weblate (Ukrainian)
Currently translated at 8.6% (87 of 1013 strings)
2019-01-04 18:06:32 +01:00
James Valleroy d8f161adce Release v0.46.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 16:46:58 -05:00
James Valleroy f93b6e2d54 debian: Standards-Version is now 4.3.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 16:45:32 -05:00
James Valleroy 764bc7f5a7 doc: Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 16:36:36 -05:00
James Valleroy ec91638059 locale: Run update_translations
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 16:16:55 -05:00
Sunil Mohan Adapa 5f8965df25 debian: Rename plinth package to freedombox
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:59:08 -05:00
Sunil Mohan Adapa d9b374137b debian: Update short description
Plinth is no longer just the web interface but all of freedombox.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:59:02 -05:00
Sunil Mohan Adapa 399647f93c debian: Don't change ownership recursively in postinst
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:57 -05:00
Sunil Mohan Adapa d40ef19a25 debian: Fix lintian warning about vcs ignore file
W: plinth: package-contains-vcs-control-file
usr/lib/python3/dist-packages/plinth/tests/.gitignore

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:49 -05:00
Sunil Mohan Adapa db8ec9e784 debian: Ignore debian/debhelper-build-stamp
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:44 -05:00
Sunil Mohan Adapa a6479648a6 debian: Use description from freedombox.org
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:39 -05:00
Sunil Mohan Adapa b564c9d28e Move preseed file from freedombox-setup
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:35 -05:00
Sunil Mohan Adapa 9f93c874db debian: Break current version of freedombox-setup
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:29 -05:00
Sunil Mohan Adapa 2e8d28c7f8 Move update-motd script from freedombox-setup
Significant re-indentation due to yapf.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:22 -05:00
Sunil Mohan Adapa dfd9a7a298 sudoers: Allow all admin users to become superusers
- Migrated settings from freedombox-setup.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:16 -05:00
Sunil Mohan Adapa 4c1572a3f0 debian: Add dependencies from freedombox-setup
All the packages that are removed as dependencies in freedombox-setup and are
not essential for the operation of FreedomBox/Plinth have been moved to
Recommends .

The following packages were *moved* from freedombox-setup directly as is:

- bridge-utils
- curl
- devio
- dnsutils
- dosfstools
- haveged
- htop
- iftop
- iputils-ping
- iw
- libnss-gw-name
- libnss-mdns
- libnss-myhostname
- libpam-tmpdir
- libpam-abl
- locales
- locales-all
- lsof
- netcat-openbsd
- psmisc
- resolvconf
- rfkill
- tcpdump
- vim-tiny
- wget
- wireless-tools
- zile

The following packages have been *added* as they are part of standard system
utilities present in a Debian system:

- bzip2
- file
- openssh-client
- pciutils
- whois

The following packages were *dropped* as dependencies from freedombox-setup:

- dialog: no utility to an admin on command line. No scripts are currently using
  it. Any script using it should have a dependency on it.

- dnsmasq-base: network-manager is one that uses it and it already recommends
  it.

- parted: Added as dependency for the storage module which uses it.

- ssl-cert: apache2 and other packages that use it already recommend it.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:58:04 -05:00
Sunil Mohan Adapa bbd56ad9b6 storage: Add parted as dependency module
parted is being used in action scripts.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:57:55 -05:00
Sunil Mohan Adapa bf8fc21e08 debian: Alter control file indentation
To a more natural appearance.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-31 15:56:22 -05:00
Petter Reinholdtsen f9742966bb Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1013 of 1013 strings)
2018-12-31 21:09:02 +01:00
Sunil Mohan Adapa 35c70861dc logging: Remove references to old log files
- Remove access/error log references in configuration files and tests.

- Ensure that /var/log/plinth directory is not created anymore.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-30 13:45:23 -05:00
Petter Reinholdtsen f625b16c16 Translated using Weblate (Norwegian Bokmål)
Currently translated at 98.2% (995 of 1013 strings)
2018-12-28 09:08:49 +01:00
James Valleroy 1813f175da debian: Move Recommends to binary package
This field is not recognized for the source package, and causes a
warning.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 19:50:37 -08:00
James Valleroy da08b8bd02 vagrant: Cleanup for obsolete log files
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 19:36:57 -08:00
Sunil Mohan Adapa f1d475bb4e letsencrypt: Remove outdated Apache configuration
No need to have explicit configuration to allow all requests. This is the
default.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 09:20:16 -05:00
Sunil Mohan Adapa 91ba56e3ce letsencrypt: Use macros for configuring sites
Makes it trivial to alter site configuration for all domains at once. Also
possible to easily switch to TLS modules other than mod_gnutls.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 09:20:05 -05:00
Sunil Mohan Adapa a48471680d sso: Update outdated Apache configuration
Use Require instead of Deny directive.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 09:19:56 -05:00
Sunil Mohan Adapa 5076488c7f searx: Update outdated Apache configuration
- Avoid Satisfy and Allow which are deprecated.

- Make sure the redirection rule applies only to the URL intended.

- Fix issue with Proxy matching of URLs.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-26 09:19:41 -05:00
Sunil Mohan Adapa 6afbd0d9fc logging: Implement colors for console messages
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:18:25 -05:00
Sunil Mohan Adapa bc55edd186 logging: Separate logging init logic into a module
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:18:21 -05:00
Sunil Mohan Adapa f36753fcb8 logging: Log to systemd journal directly
While capturing stdout and stderr and automatically logging that to system
logging daemon provides basic information, a lot of information lost in the
process.

This change logs to systemd journal directly so that rich information such as
code file, code function, code line, etc, can be captured in a structured way.
To avoid double logging, discard stdout and stderr in the systemd unit file.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:18:13 -05:00
Sunil Mohan Adapa dc7bd96ed7 logging: Don't log to a log file
Instead log only to the console and let daemon wrapper (systemd in Debian) take
the logs from the console and log them to system log. There are many advantages
for logging to system log instead of handling files on our own:

- No need to handle log file rotation. This can be configured in many ways and
  we don't have to support that. System's log daemon handles this. Closes #1353.

- Remaining system logs such as sudo and audit logs can be along with FreedomBox
  logs for better debugging.

- It is possible to do remote logging based on system logger.

- It is possible to make the logs tamper resistant based on system logger
  configuration.

Since timestamp is automatically logged by system log daemon, remove timestamps
from log format. When running on console, timestamps are not very useful.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:18:04 -05:00
Sunil Mohan Adapa a541ea06b7 logging: Make cherrypy log to the main log
- Access log is not populated by cherrpy anymore.

- CherrPy does not log WSGI handler requests at all. So the request for HTML
  pages actually is never logged. Only static file requests which are hardly
  useful are logged.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:17:56 -05:00
Sunil Mohan Adapa 8a7c849fbf logging: Don't log static file requests
They are rarely useful. Refactor setup of static file serving to a method to
avoid repetition.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-23 17:17:45 -05:00
prolinux ukraine c5ac291146 Translated using Weblate (Ukrainian)
Currently translated at 3.0% (30 of 1013 strings)
2018-12-19 22:12:11 +01:00
advocatux d16091726d Translated using Weblate (Spanish)
Currently translated at 100.0% (1013 of 1013 strings)
2018-12-19 22:01:10 +01:00
Johannes Keyser 03bc72bfe2 Translated using Weblate (German)
Currently translated at 100.0% (1013 of 1013 strings)
2018-12-19 22:00:36 +01:00
Pavel Borecki 2ad9c05dcc Translated using Weblate (Czech)
Currently translated at 100.0% (1013 of 1013 strings)
2018-12-19 21:59:43 +01:00
James Valleroy b6cd60b647 Release v0.45.0 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.45.0
2018-12-17 19:06:31 -05:00
James Valleroy 19eb8cb3fe Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-17 19:05:30 -05:00
James Valleroy dcfad32b22 Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-17 18:33:50 -05:00
Allan Nordhøy 7c026ec100 Translated using Weblate (Norwegian Bokmål)
Currently translated at 99.9% (991 of 992 strings)
2018-12-18 00:32:00 +01:00
ssantos ec496b1692 Translated using Weblate (German)
Currently translated at 100.0% (992 of 992 strings)
2018-12-17 13:08:43 +01:00
James Valleroy a99c4e0901 functional_tests: Move backup test into backups feature
Remove @bind tag from backups feature.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-12-13 20:48:14 -05:00