Commit Graph
43 Commits
Author SHA1 Message Date
Sunil Mohan Adapa d15e6b22f1 help: Don't uncompress the PDF manual
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-18 15:27:44 +05:30
Joseph Nuthalapati 0b6006968e manual: Download can serve either pdf or pdf.gz file
Fixes the problem where an installation might not have a gzipped version of the
manual (like the Plinth development VM for example).

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-18 15:27:26 +05:30
Joseph Nuthalapati 3bafdb3789 manual: Make manual available as a PDF download
- serving gzipped version of PDF manual
- works with the latest versions of both Firefox and Chromium
- closes #1117

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-18 15:26:33 +05:30
Prachi c8eb714562 Separate out the short description and app name
Signed-off-by: Prachi <prachi@swecha.net>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-08-21 11:17:08 +05:30
Hemanth Kumar Veeranki 29cc95bbdb Make help accessible for logged-in non-admin users
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-08-11 23:54:35 +02:00
Johannes Keyser 8ae6fbbd4c help: only show help pages if user is logged in 2017-06-07 22:22:08 -04:00
Johannes Keyser 5ee8e9397d help: Add Debian release to about page. 2017-05-29 20:00:52 -04:00
Sunil Mohan Adapa ee7cc98fee apps, system: Remove modules and merge into main
- Remove apps and system modules and merge their views into main views.

- Move main_menu from cfg into menu.py.

- Remove dependencies of other modules on apps and system modules.

- Update tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-05-05 22:31:45 -04:00
James Valleroy c7b4bb7cc8 help: Fix issues with new version indicator 2017-01-17 12:29:33 -05:00
pk13055 7fdb09abfd help: Add indicator for new plinth version available 2017-01-17 12:11:01 -05:00
fonfon 3af82ab14e Firstboot: minor variable renaming and cleanup 2017-01-02 15:05:20 -05:00
Sunil Mohan Adapa 037944e5fc help: Minor updates and fixes to status log
- Refactor reading status log file.

- Fix hardcoded URL path into 500.html.

- Rename 'status logs' to 'status log' for consistency.

- Decorate the personal information warning.  Avoid <b>.

- Add heading to status log page.

- Indentation and grammer fixes.
2016-08-26 21:51:58 -04:00
James Valleroy 561c7c1e6b Make minor changes to status log page 2016-07-21 18:00:53 -04:00
Hemanth Kumar Veeranki 15a336613b Fixed PEP8 standards and other specified changes 2016-07-21 17:58:14 -04:00
Hemanth Kumar Veeranki 8d5ef42b73 Created a Status Log page, Linked to 500 Template
Issue #451
2016-07-21 17:58:08 -04:00
Sunil Mohan Adapa ad61028a3a menu: Sort menu items for all locales
Currently menu items are shown in alphabetical order in applications and
no clear order in system configuration.  This is done using static
weights for menu items based on English names that does not work for
other locales.

Sorting can't be done at the time of adding menu items as users of
multiple locales may use the interface at the same time.

Implement a sorting mechanism based on existing order as well as labels
of menu item.  This allows the flexiblity of grouping menu items in
future as it may be need for system configuration.  In case of help menu

Remove sort order for all modules except for help menu as here we want
that specific order.
2016-06-06 17:44:59 -04:00
Sunil Mohan Adapa f04e1c1657 Minor PEP8 & spelling fixes in various modules 2016-02-28 19:38:53 +05:30
James Valleroy 080c891103 Be consistent with type of is_essential. 2016-02-19 23:24:08 -05:00
James Valleroy 992d2ea7e1 help: Use new setup mechanism 2016-02-19 22:52:52 -05:00
James Valleroy 9c8518499e help: Specify encoding when opening manual file
- Closes #404.
2016-02-16 08:43:27 +05:30
Caly 15312fe595 Update messages for simplicity/consistency/grammer
- Closes #375 and #380.

- More use of configurable brand name.
2016-01-24 12:14:25 +05:30
Sunil Mohan Adapa 572e68dc36 Make remaining uses of brand name customizable 2016-01-24 00:50:14 +05:30
cat-git d06a88ced2 help: Add link to irc webchat (Closes: #292) 2016-01-08 14:52:09 +05:30
fonfon 0f742d704b firstboot: Dont show normal mainmenu in help pages
- plus some minor adaptions like titles and using cfg.box_name
2015-12-30 01:08:43 +05:30
Sunil Mohan Adapa a69f419c3c Make Django urlpatterns list of url()s
- Support for legacy pattern() mechanism will be removed in Django
  1.10.  Currently we see a warning for each Plinth module.
2015-12-05 09:33:23 -05:00
Sunil Mohan Adapa 01d50c7ae8 Fix i18n of template expressions 2015-11-14 11:42:32 +05:30
Sunil Mohan Adapa 3df1a88824 Switch to Django i18n for code strings
Django i18n layer is on top of gettext and provide may crucial features
such as per-request locales, lazy translations etc.
2015-11-13 22:08:43 +05:30
Sunil Mohan Adapa 02cd89b60d Internationalize strings in template files 2015-11-13 22:02:17 +05:30
Sunil Mohan Adapa ac25f1f5be help: Update the about page 2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa 38fe07cd93 help: Serve FreedomBox manual
- Remove FAQ menu entry

- Remove Wiki entry and place a link from index page.

- Update index content to point to IRC, wiki, manual and mailing list.
2015-09-27 09:49:45 -04:00
Sunil Mohan Adapa fc6bc09c9e help: Move additional info from sidebar to main 2015-07-28 12:39:02 +05:30
Sunil Mohan Adapa 6fd04808d5 Don't require login for logout page & minor fixes 2015-07-01 07:57:21 +05:30
fonfon 824a9091c1 use django-stronghold for authentication handling (instead of @login_required) 2015-07-01 00:01:02 +05:30
Bob Girard d64ce6cc01 Bundle tests with applications
- For each application, add ./tests directory and __init__.py file
  within it.

- Modify test controllers (coverage.py, runtests.py) to find the new
  test directories for testing and coverage analysis.

- Move existing application-specific test modules (test_pagekite.py) to
  the newly created directories.
2015-06-26 12:05:48 +05:30
Sunil Mohan Adapa 53b0f5aca8 Don't use wells for placing all the content 2015-05-01 21:14:04 -04:00
fonfon 38ec7666ed Display Plinth version in Documentation / About
Users should see which Plinth version they use to make it easier to report
and reproduce bugs
2015-02-11 10:28:29 +05:30
Sunil Mohan Adapa 522ece851c Minor indentation fixes in templates 2014-12-06 17:08:38 +05:30
fonfon 96a14e3d0d moved 'in-app menu' from the sidebar to the top of the content; some template block renaming 2014-12-06 17:08:37 +05:30
Sunil Mohan Adapa 5b969d9d30 Explicitly write license headers for each source file
The package license (AGPL3+) implicitly indicates the license of each
file.  However, it is desirable to have license headers in each file.
This is the case for many prominent projects like GNU project, Mozilla
etc.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa 265953adc6 Bootstrap change .btn-large -> .btn-lg 2014-11-23 14:10:01 +05:30
fonfon f0582e7a94 replaced bootstrap2 by bootstrap3 2014-11-11 19:06:47 +01:00
Sunil Mohan Adapa 33f8015835 Make the help module read documentation directory from config 2014-08-31 13:07:00 +05:30
Sunil Mohan Adapa 65fa648d9f Reorganize python sources into 'plinth' package 2014-08-29 12:57:27 +05:30