James Valleroy
fbce204180
Add ikiwiki module with initial setup and option to enable site.
2015-04-13 20:43:07 +05:30
Sunil Mohan Adapa
0cb8b4a5fc
network: Cleanup, minor fixes and refactoring
...
- Make network-manager package get installed when accessing the index page of
networks. Also freedombox-setup shold actually pull network-manager package
as dependency and use it for configuring the initial networks.
- Remove the /connect page and re-use the /add_wifi page for that purpose.
- Fix add connection page titles.
- Handle the case when network-manager returned empty string for SSID.
- Don't explictly URL encode the Wi-Fi SSID when adding a new Wi-Fi network.
Django automatically handles this in 'url' tag and decodes before url
routing. Relax the regex that matches SSID as part of the URL to handle all
possible SSIDs.
2015-04-06 22:21:29 +05:30
Sunil Mohan Adapa
fc6b59d59b
network: Untabify and minor refactoring
2015-04-06 22:21:29 +05:30
Sunil Mohan Adapa
bc4ac58f2e
network: Use uuids for identifying connections
...
- Name for a network connection is not unique. UUIDs are much less likely to
change compared to name of the connection. No necessity to perform URL
encoding too.
- Move UI error message strings to view module instead of the network module
for proper separation.
- Minor refactoring.
2015-04-06 22:21:29 +05:30
James Valleroy
ed4e6eddc1
Update dependency list and pep8 fixes.
2015-04-06 22:21:29 +05:30
James Valleroy
40bbad4484
Add wifi mode to connect page also.
2015-04-06 22:21:29 +05:30
James Valleroy
2441caf647
Add AP and adhoc wifi modes, and shared IPv4 addressing mode.
2015-04-06 22:21:29 +05:30
James Valleroy
8d9b388375
Fix network tests, add form help and validator.
2015-04-06 22:21:29 +05:30
James Valleroy
45086ff003
Add firewall zone selection for networks.
2015-04-06 22:21:29 +05:30
James Valleroy
f0c5cd080c
Add wifi security settings.
2015-04-06 22:21:29 +05:30
James Valleroy
f63d8d29de
Connect to network selected from scan page.
2015-04-06 22:21:29 +05:30
James Valleroy
c0cd01221e
Add wifi scan page to networks module.
2015-04-06 22:21:28 +05:30
James Valleroy
9b201a2daf
Rename network module to networks.
...
Move networkmanager helper functions into a new file.
Add some network tests.
2015-04-06 22:21:28 +05:30
James Valleroy
c6a2e6abd7
Separate network-manager logic from network module views.
2015-04-06 22:21:28 +05:30
James Valleroy
201c96cb36
Add form to edit network connections.
2015-04-06 22:21:28 +05:30
James Valleroy
1c69b6cdb6
Set auto or static IPv4 address.
2015-04-06 22:21:28 +05:30
James Valleroy
0f99de9347
Add Ethernet or Wifi connection
2015-04-06 22:21:28 +05:30
James Valleroy
17040d4762
Enable and disable network connections
2015-04-06 22:21:28 +05:30
James Valleroy
6ad1fb9ce7
Network connection list and delete
2015-04-06 22:21:28 +05:30
James Valleroy
d4ac0c3b46
Update dynamicdns views to use new required package list format.
2015-04-04 13:14:57 -04:00
Sunil Mohan Adapa
a4b33e07c8
xmpp: List all configured vhosts during user registration
...
Try to make the terminology a bit more consistent by renaming server ->
vhost and server -> domainname according to the situation.
2015-03-30 01:52:31 +05:30
James Valleroy
dae7abd00f
Use domainname as ejabberd host.
...
Only use hostname when domainname is blank.
2015-03-30 01:52:31 +05:30
Sunil Mohan Adapa
be838a30c1
package: Add ability to receive notification on install
...
- Fix issue with Mumble firewall enabling after a fresh install.
2015-03-28 16:02:39 -04:00
Sunil Mohan Adapa
2028a63deb
mumble: Add new module for installing, enabling/disabling
2015-03-28 16:02:39 -04:00
Sunil Mohan Adapa
475ddd0c72
firewall: Fix bootstrap 2->3 style for diabled items
2015-03-28 16:02:39 -04:00
James Valleroy
af94194b7a
Merge remote-tracking branch 'steglicd/dynamicdns'
2015-03-26 16:02:07 -04:00
Daniel Steglich
8af4ee423a
removed dictionary because string values can be used in dropdown menu directly
2015-03-13 14:09:58 +01:00
Daniel Steglich
337fa56b15
refactoring, made the code more readable, use consistent indentions, whitespaces and linebreaks next to brackets
2015-03-12 17:07:21 +01:00
Daniel Steglich
e94c85c357
improved help texts
2015-03-10 09:00:56 +01:00
Daniel Steglich
66a4083891
moved reconfiguration of dropdown display directly to the onchange function of the dropdown box as the code is not used elsewhere
2015-03-10 00:31:30 +01:00
Daniel Steglich
dfe35c9c97
improved helper text
2015-03-09 23:39:35 +01:00
Daniel Steglich
8269cfe97e
removed duplicate code and avoid deleting form field config on reload
2015-03-09 23:33:09 +01:00
Daniel Steglich
2782406cae
improved form validation (only request domain/user/pass if gnudip is selected to allow empty params on update URL), and stripped single qoutes from empty values to avoid showing them when form is loaded
2015-03-09 23:32:13 +01:00
Daniel Steglich
1a3d7a3d00
only validate form fileds if the form is enabled at all
2015-03-09 22:36:21 +01:00
Daniel Steglich
9f8281f9dc
do not change values of dropdown element, but change selection
2015-03-09 22:35:51 +01:00
Daniel Steglich
6bb73467a6
improved helptext
2015-03-09 22:06:21 +01:00
Daniel Steglich
9f6d9487bd
use ssl for freedns
2015-03-09 21:57:34 +01:00
Daniel Steglich
4356a2cff3
fixed typo
2015-03-09 21:53:12 +01:00
Daniel Steglich
fa076edda4
fixed indention
2015-03-09 21:44:25 +01:00
Daniel Steglich
15a6c49922
only show fields according to dropdown menu when entering form first tim (after enable checkbox was selected)
2015-03-07 00:03:00 +01:00
Daniel Steglich
e5ddfe0906
added hint for free dns service
2015-03-06 23:41:30 +01:00
Daniel Steglich
808062da11
added some comments
2015-03-06 23:30:24 +01:00
Daniel Steglich
ce057ebd22
need to remove unused parameters according to dropdown box selection
2015-03-06 23:27:45 +01:00
Daniel Steglich
21c4326a1d
do not clear server and URL values when changing dropdown menu but check if one of them is filled when validate the form
2015-03-06 23:18:50 +01:00
Daniel Steglich
3b0a070283
configure the form according to last configured values when loading the formular
2015-03-06 23:10:36 +01:00
Daniel Steglich
379815d92b
fixed dropdown box based deletion of unused params
2015-03-06 23:06:17 +01:00
Daniel Steglich
a57f86315e
added freedns provider
2015-03-06 22:04:42 +01:00
Daniel Steglich
7d44f0c4e4
do not delete GnuDIP Server address if dropdown box changes and check/uncheck HTTP Basic auth according to update URL provider template
2015-03-06 21:21:19 +01:00
Daniel Steglich
45960542bb
less than 80 characters per line
2015-03-05 22:03:55 +01:00
Daniel Steglich
94991b9bb6
changed form manipulation from plain javascript to jquerry and removed javascript from python file
2015-03-05 21:48:30 +01:00