summaryrefslogtreecommitdiff
path: root/files/common/www
AgeCommit message (Collapse)Author
2012-06-19move fsm, geolocate, p2ptbl, shuf to external reposplugnprayJan Huwald
- remove fsm, geolocate, p2ptbl, shuf - update .config - update paths (the package install into /usr/sbin instead of /sbin)
2012-04-27webif: add description for geolocation settingsJan Huwald
2012-04-27cgi-bin: fix typo in geolocation lockJan Huwald
2012-04-27webif ccfg: implement server side handlerJan Huwald
2012-04-27webif ccfg: correct form action and some textJan Huwald
2012-04-27webif: fix XSS in splashJan Huwald
2012-04-27webif: remove old errors/highlights on next form submitJan Huwald
2012-04-27cgi-bin: polishJan Huwald
2012-04-23rewrite splash to use a p2ptblJan Huwald
- add p2ptbl splash (see doc/splash.org) - replace all uci queries with p2ptbl queries - centralize splash db modification in /etc/splash.sh - add node to the list of splashed devices upon first use of /etc/splash.sh (shortly after booting) - remove locks in cgi-bin/splash_click
2012-04-04webif: fix ajax caching in settings.jsJan Huwald
2012-04-04webif: add service listingJan Huwald
Add two service lists: - the index page has a short list with one item per service class - the service page lists and links all services in full detail
2012-04-04www: add services.jsonJan Huwald
Returns a copy of the services p2ptbl in JSON format.
2012-03-30webif: remove status.xmlJan Huwald
2012-03-30webif: add debug helperJan Huwald
echos the environment given by uhttpd
2012-03-30webif: add mockup api for client config and node db queryJan Huwald
2012-03-30webif: add router config apiJan Huwald
2012-03-30webif: add geolocation apiJan Huwald
2012-03-30webif: add intnert status apiJan Huwald
2012-03-30webif: add client network reflection apiJan Huwald
2012-03-30webif: add common helper functionsJan Huwald
2012-03-30adapt splash and robinson redirection to new webifJan Huwald
2012-03-30add new webif (client side)Jan Huwald
2012-03-30add OpenLayerJan Huwald
A OSM mapping javascript library, see http://openlayers.org/ only the CSS file is added. The JS lib is hosted on http://www.feinsterfug.de/ffj/webif/OpenLayers.js to save storage (it is unusable without internet access anyway).
2012-03-30add twitter bootstrapJan Huwald
see http://twitter.github.com/bootstrap/index.html
2012-03-30add jqueryJan Huwald
2011-12-20cosmetic fixes missed in the previous commitKatze Miau
2011-12-20reintegrate splashKatze Miau
- add cronjob for splash_sync (every minute for debugging; to be increased) - add redirection for unsplashed users in queen.enter, remove it in queen.leave - add /etc/splash.sh to centralize functionality used in /sbin/splash_sync and /www/service/*splash* - make splash_sync to use a transactional update approach: insert iptable rules for all splashed MACs into a new chain, then replace old and new chain; this avoids downtime even if splash_sync is slow - remove allowed services for splashed users; this is intended to not move old cruft over to new code; if any of the those services shall be reenabled, it should happen in /etc/firewall.user - make /sbin/splash_sync aware of the current state of FSM inetable (read via /sbin/fsm with optional command line override); this allows to unconditionally call splash_sync via cron - add locks to all places where the splash state is touched - remove multiple escaping/quoting/encoding problems in splash cgi scripts - reenable link to the page the user initially demanded in /www/service/cgi-bin/splash_click
2011-12-20/www/redirection/redirect: pass url via stdin to url encoderKatze Miau
2011-12-19add landing page for robinson modeKatze Miau
2011-12-11fsm inetable: change httpd instances in queen/ghost/robinson statesKatze Miau
- update the redirection uhttpd config and www-root to redirect all incoming request to a url specified by /tmp/redirection_target - use this to implement robinson and splash redirection during robinson and queen/ghost states, respectively - change the service httpd to listen on the public IPv4 address available on the mesh interface in those states. Missing is the - iptable based redirection - already referenced /sbin/urlencode
2011-12-11split /www into subdirs for several services; adapt uhttpd configKatze Miau
This patch splits the single uhttpd instance into two uhttpd instances with www root /www/<servicename> for the following purposes: - service :: self-service / debugging / status.xml - redirection :: use for splash/robinson redirection The uhttpd uci config is adapted: by default all instances declared there are disabled; They shall be enabled by the FSM inetable. To this end a listen_http directive will be added and the config type will be changed from 'disabled' to 'uhttpd' by state transition scripts.
2011-10-16add makefile to generate imageswrtbuild
contact: Jan Huwald // Impressum