4136 Commits

Author SHA1 Message Date
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
354b0ca78a
LICENSES: Add reference to debian/copyright
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 23:54:58 -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
Joseph Nuthalapati
668d4de77a
matrix-synapse: Fix LDAP login issue
Pass the `mail` attribute as an empty string instead of None (null in yaml)

Fixes #1484

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-28 19:13:59 -08:00
Sunil Mohan Adapa
ec68eb3d89
setup: Make additional info available for force upgrading
This includes list of packages for which conffile prompts will be shown. For
each package current version of the package, new version of the package and list
of configuration files that were modified.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:48:51 -05:00
Sunil Mohan Adapa
7862325bb6
apache: Increment app version number
To trigger setting up all the necessary modules again.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:48 -05:00
Sunil Mohan Adapa
7bdf47eea2
apache: Use cgid module instead of cgi
Trying to enable cgi module results in cgid being enabled. Checking for cgi
being enabled always results in failure.

Your MPM seems to be threaded. Selecting cgid instead of cgi.
Module cgid already enabled

No module matches cgi (disabled by site administrator)

This is the reason why installing ikiwiki was causing Apache restart even though
the modules required by ikiwiki are already enabled.

Closes: #1448.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:45 -05:00
Sunil Mohan Adapa
3af207a4e8
sso: Pre-enable necessary apache modules
To avoid Apache restart during installation (although sso is an essential app
and this is not an issue).

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:42 -05:00
Sunil Mohan Adapa
33f54089b8
ikiwiki: Pre-enable necessary apache modules
To avoid restart during installation.

Closes: #1482.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:40 -05:00
Sunil Mohan Adapa
cf06aa3d56
letsencrypt: Pre-enable necessary apache modules
To avoid restart during installation (although since letsencrypt is an essential
app and this is not an issue).

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:38 -05:00
Sunil Mohan Adapa
c50e322cdb
radicale, searx: Pre-enable necessary apache modules
To avoid Apache restart during installation.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:36 -05:00
Sunil Mohan Adapa
3c420c1488
cockpit: Pre-enable necessary apache modules
To avoid Apache restart during installation.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 20:13:33 -05:00
Joseph Nuthalapati
241d3a98d5
Disable Coquelicot for Buster release
As confirmed by multiple users, Coquelicot is no longer useful for uploading
files, which makes it useless as a file sharing application.

We might enable it in the future if it's actively maintained once again, or find
an alternative.

- Skip functional tests

- Disable modules-enabled file

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-28 18:34:14 -05:00
Sunil Mohan Adapa
ee87c00578
ttrss: Make functional test definitions specific to ttrss
- So as not to clash with future apps that may have feed add/remove capability.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-26 15:24:09 -08:00
James Valleroy
1eed7d581d
ttrss: Add backup support
- Use backup hooks to dump and restore database.
- Add functional test for backup and restore.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-26 15:23:47 -08:00
James Valleroy
8a60581f3d
radicale: Add description of web interface
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-26 12:50:11 -08:00
Joseph Nuthalapati
a4887ef0d0
users: Add nscd as a dependency
Currently, nscd comes as a recommended package of nslcd, which is a dependency
of Plinth. Plinth needs nscd to work. An installation with the --no-recommends
option will cause errors in Plinth.

Users is an essential package in plinth. nscd is now a managed package of users.

Fixes #1213

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-26 11:07:24 -08:00
Sunil Mohan Adapa
871215abb0
setup: Rush force upgrade in development mode
- So that developers don't have to wait a long time to see the changes.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:25 -05:00
Sunil Mohan Adapa
d51a2b6865
bind: Handle conffile prompt during upgrade
- Simply keep the old configuration as the configuration format for bind is
  unlikely to change due to its stability. Future versions may consider checking
  for version of package being upgraded to.

- Don't start service if not already running.

- Don't perform firewall changes.

- No need to rerun setup as old configuration is being kept.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:22 -05:00
Sunil Mohan Adapa
16252a10f3
setup: Trigger force upgrade for app that implement it
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:19 -05:00
Sunil Mohan Adapa
c8b2ba8c99
package: Helper method to filter packages that need conffile prompt
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:17 -05:00
Sunil Mohan Adapa
5b4aa1cda0
package: Implement identifying packages that need conffile prompts
Given a list of packages, check with among those will result in showing a
configuration file prompt.

Irrespective of whether apt shows a conffile prompt, this logic mimics what
unattended-upgrades perceives as package needing a conffile prompt. This is
because when unattended-upgrades gives up, that is when this logic need to take
over.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:14 -05:00
Sunil Mohan Adapa
f03336253e
setup: Filter packages to force upgrade
- Ensure that force upgrade mechanism runs only once simultaneously.

- Multiple attempts.

- Wait before first attempt and after each attempt. Shutdown properly while
  waiting.

- Only consider managed packages of apps that implement force_upgrade() hook.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:11 -05:00
Sunil Mohan Adapa
d042026314
setup: Abstraction for getting managing packages of a module
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:08 -05: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
Sunil Mohan Adapa
94255806cf
web_server: Move shutdown handling to main
This will keep web server de-coupled with service that want to shutdown on exit.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-26 06:24:02 -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
fbc2ff6105
Fix some paths in LICENSES
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-25 20:27:15 -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
Jag
57666b661b
vagrant: Use virtualbox linked clones / CoW to reduce startup times
Behaves more like docker now with Copy on Write. More documentation:

 - https://www.vagrantup.com/docs/virtualbox/configuration.html#linked-clones
   (https://archive.fo/Yy6A4)

 - https://www.virtualbox.org/manual/ch01.html (https://archive.fo/1rj4q)

Closes #1551

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-02-25 10:40:15 -08:00
Petter Reinholdtsen
4df3f10edb
Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1024 of 1024 strings)
2019-02-25 04:30:57 +01:00
Joseph Nuthalapati
b33b44b526
config: Fix error when setting JSXC as the home page
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:31:08 -05:00
Joseph Nuthalapati
bd43ed515e
config: Remove Apache home page configuration from freedombox.conf
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:31:05 -05:00
Joseph Nuthalapati
bedc5ff96d
config: Add option to use Apache's default home page as home page
This supports the use case of hosting a website on FreedomBox at Apache's web
root. This makes the assumption that index.html is a file in the website.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:31:02 -05:00
Joseph Nuthalapati
8bc34f84c3
config: Rename Default App to Webserver Home Page
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:30:59 -05:00
Joseph Nuthalapati
a87b0ff596
config: Migrate default app configuration to new conf file
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:30:55 -05:00
Joseph Nuthalapati
209d8e7b3a
config: Fix Ikiwiki entries not showing up as default apps
- When a user selects their Ikiwiki wiki or blog as the default app, the UI
  doesn't reflect that. It still shows Plinth as the default app. This commit
  fixes the bug.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:30:51 -05:00
Joseph Nuthalapati
5ad22114ed
config: Move default-app configuration to a dedicated file
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-02-23 10:30:45 -05:00
Doma Gergő
70cb3d46b4
Translated using Weblate (Hungarian)
Currently translated at 100.0% (1024 of 1024 strings)
2019-02-23 10:05:21 +01:00
Darkblaze
8fe733369f
Translated using Weblate (Telugu)
Currently translated at 69.1% (708 of 1024 strings)
2019-02-22 13:17:46 +01:00
Anjali Datla
4350133512
Translated using Weblate (Telugu)
Currently translated at 69.1% (708 of 1024 strings)
2019-02-22 13:17:45 +01:00