Sunil Mohan Adapa
f457a0bdd3
first_boot: Fix various issues and refactor
...
- Fix major regression so that steps can submitted multiple times in
case of errors.
- Don't serve the welcome page (and other pages) only once. Show it
until action is an taken. This does not apply to the final step.
- Eliminate all coupling of one first boot step on another.
- Move first boot helper methods to __init__.py instead of middleware as
it is more generic than middleware.
- Implement caching the first boot state to avoid an SQL query on every
page load. The down side is that if first boot state is modified in
the backend DB outside Plinth, Plinth will need to be restarted to
catch the modified value.
- Mark some methods as private.
- Refactor middleware code for slightly more simplicity.
- Don't show sidebar in pagekite first boot step. Set width like other
pages.
2016-12-04 15:24:48 -05:00
Sunil Mohan Adapa
56686b7148
firstboot: Rename views/urls to be non-numeric
2016-12-04 15:24:36 -05:00
Hemanth Kumar Veeranki
0290f68ae6
Removed redirection for login and help urls
...
Changed the redirection in state0 template
2016-11-03 22:06:05 -04:00
Hemanth Kumar Veeranki
0332d4489e
Added code for modules to register for first_boot #529
2016-11-03 22:06:00 -04:00
Sunil Mohan Adapa
c3c44ab379
firstboot: Minor Danube PageKite fixes
...
- Fix message internationalization with formatting and laziness.
- Styling fixes.
- Simplify Subdomain widget.
- Update messages for grammer and consistency.
2016-03-13 23:32:26 +05:30
fonfon
435f980c6f
firstboot: freedombox.me pagekite vouchers
...
- Show PageKite voucher only if cfg.danube_edition is enabled
2016-03-13 23:32:20 +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
4602c5bfce
Use translated brand name in templates
...
Using brand name directly from configuration means that it can't be
easily translated. Instead use the translated brand name sent in my the
context processor.
2016-01-24 00:37:01 +05:30
Sunil Mohan Adapa
96f9fee96b
firstboot: Fix double nested navbar
2015-12-30 01:10:45 +05:30
fonfon
56e1b4ae57
firstboot: removed link to 'Applications'
...
minor bugfix - the icon wasn't displayed but the link and hover effect
were still there.
2015-12-30 01:09:13 +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
fonfon
74f64123b3
first-boot: state10: change text and layout
...
Instead of the buttons there is now only one link in the text for the
network setup.
2015-12-22 10:46:56 +05:30
fonfon
77e74746f0
first-boot: state1: fix focusing on form element
2015-12-22 10:38:30 +05:30
fonfon
23aee97ea9
first-boot: state0: update text and button
2015-12-22 10:38:26 +05:30
fonfon
6ee545023d
first-boot: use a common navbar
...
- Also hide the applications icon in the second step while keeping the
logo.
2015-12-22 10:05:37 +05:30
Philippe Baret
2037a273b3
Edited string
...
LDAP mention to delete (https://github.com/freedombox/Plinth/issues/347 )
2015-12-19 13:36:47 -05:00
Sunil Mohan Adapa
02cd89b60d
Internationalize strings in template files
2015-11-13 22:02:17 +05:30
Sunil Mohan Adapa
20d4d32153
firstboot: Show network diagram at the end
...
- Fix an issue with not showing message in state 1 (no messages to show
as of now).
- Provide options to go to Applications or Network configuration page as
discussed in first boot redesign.
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
8fb6e31e9a
first_boot: Remove login from account creation
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
26737293e4
first_boot: Reduce the width of administrator form
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
5cd1b7e4b3
first_boot: Remove sidebar in favor of help icon
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
f3a0c70d23
first_boot: Add separate greeting page
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa
23eb40fce8
first_boot: Require password confirmation
...
- Use existing UserCreationForm from auth module.
- Use cleaned data for login.
2015-10-28 20:02:56 -04:00
fonfon
a94dc0f57d
firstboot: remove deprecated CSS
2015-09-29 09:15:37 +05:30
Sunil Mohan Adapa
53b0f5aca8
Don't use wells for placing all the content
2015-05-01 21:14:04 -04:00
Sunil Mohan Adapa
90203986f2
Remove modules 'expert_mode' and 'lib'.
...
The login/logout URLs are now in the 'users' module.
2014-12-14 17:26:05 +05:30
Sunil Mohan Adapa
95bf621c08
Update link to wiki during first boot
2014-12-06 17:15:30 +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
fonfon
e4c11e7d8e
show the sidebar with help during first_boot
2014-12-06 17:08:37 +05:30
Sunil Mohan Adapa
6a1f96d7c2
Bootstrap change .btn-primary -> .btn .btn-primary
...
Only then the full intended style will apply. This is a change from
Bootstrap 2 to Bootstrap 3.
2014-11-23 14:08:13 +05:30
Sunil Mohan Adapa
0bb2dd51d8
Minor styling changes in first boot module
2014-10-20 00:22:47 +05:30
fonfon
94040e402a
refactored first boot module; user is now logged in automatically after an account is created
2014-10-20 00:15:49 +05:30
Sunil Mohan Adapa
c6a05f341f
Remove box key related code from first boot
...
- Box key is not being used currently
2014-10-04 13:41:26 +05:30
Sunil Mohan Adapa
65fa648d9f
Reorganize python sources into 'plinth' package
2014-08-29 12:57:27 +05:30