24 Commits

Author SHA1 Message Date
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
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
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
Joseph Nuthalapati
5e06017e5c
customization: Serve custom shortcuts through the REST API
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-10-08 20:30:24 -04:00
James Valleroy
8fa1b54ba7
Bump Standards-Version to 4.2.1
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-09-24 19:22:41 -04:00
James Valleroy
9b620d7986
Bump Standards-Version to 4.2.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-08-27 18:22:33 -04:00
Joseph Nuthalapati
f762f57d1c
Add turbolinks
- Load scripts in the head with `defer` instead of at the end of the body
- Disable turbolinks for application shortcuts and manual download

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-29 12:22:52 -04:00
Joseph Nuthalapati
d75b03b85f
debian: Remove Bdale Garbee from the list of uploaders
As requested. Closes #1339.

Thanks for all those uploads, Bdale!

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-07-28 12:27:23 +05:30
James Valleroy
6fdd033625
debian: Update standards version
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-16 19:34:42 -04:00
Joseph Nuthalapati
ba9af6ddff
firstboot: Prompt for secret during firstboot welcome
- A freshly installed FreedomBox can be hijacked by a third party and an admin
  account can be created which can be used to inject malware or simply take over
  the instance. Password protecting the firstboot step is a good way to avoid
  this. A secret will be displayed to the user as soon as the Plinth package
  is installed, which they have to enter during firstboot welcome step. Also,
  writing this to a file in plinth's home in case the user loses it.
- This protection is not applicable for images built by freedom-maker and for
  Amazon Machine Images.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-04 20:22:54 -04:00
James Valleroy
08eeace30f
udiskie: New module for automatic mounting of removable media
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-07-02 19:00:32 -04:00
James Valleroy
d83c5de6bd
Bump Standards-Version to 4.1.4
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-04-23 20:55:50 -04:00
James Valleroy
4cfdf102a5
debian: Bump standards version to 4.1.3
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-04-09 19:05:49 +05:30
James Valleroy
094b586834
debian: Bump debhelper compat version to 11
Rely on dh_installsystemd instead of systemd-sequence.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-04-09 19:04:35 +05:30
Sunil Mohan Adapa
1da594c32d
Support Django 2.0
This is the final change required for Django 2.0 support. Instead of using
MIDDLEWARE_CLASSES use MIDDLEWARE setting. Support for new style middleware was
provided in version 0.3.0, so depend on that version. Django built-in middleware
already supports new style and plinth middleware will now support new style.

The actual semantics of the middleware don't need changes. See:
https://docs.djangoproject.com/en/2.0/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-03-12 17:27:26 -04:00
James Valleroy
05af10729c
Add fonts-lato as dependency
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-12 18:00:41 -05:00
Joseph Nuthalapati
45c23068db
matrix-synapse: Fix YAML format issues.
/etc/matrix-synapse/homeserver.yaml file has several complex cases of inline
comments which are introducing bugs when parsed with ruamel.yaml
Eliminated the problem by discarding comments altogether since the YAML data is
only read by Plinth and not by a human.

Closes #1214

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-01-30 12:30:16 +05:30
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
Sunil Mohan Adapa
c957427a59
debian: Add e2fsprogs as explicit dependency
- To Build-Depends list as tests depend on it.
- To Depends list as storage action needs it.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-15 14:14:00 -05:00
James Valleroy
029451870c
Bump standards version, no changes needed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-18 17:16:47 -05:00
Joseph Nuthalapati
e4f053af17
Make Plinth depend on django-axes 3.0.3 or later
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-30 20:22:20 -05:00
Sunil Mohan Adapa
4f620fde10
debian: Update Homepage and VCS URLs
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-04 15:29:25 -04:00
Sunil Mohan Adapa
41e8bb4805
debian: Remove python3-yaml dependency
The yaml package is not used in Plinth anywhere.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-11-04 15:29:16 -04:00
Federico Ceratto
17ee712502
debian: Switch to native package
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-03 18:30:35 +05:30