Easy linux system management for schools
Ruby JavaScript HTML CSS Cucumber Makefile Shell
Failed to load latest commit information.
acl acl: test read access for users puavoSchool attribute Mar 8, 2016
app web: don't validate puavoExternalId if it's nil or empty Feb 4, 2016
config web: more information of users list Feb 4, 2016
db Seed an user without an email address Oct 15, 2014
debian.default Increment puavo-users/-rest etc. version number. Feb 25, 2016
doc Use ansible rules to build the packages Oct 31, 2014
features Fix missing org issue in tests Sep 21, 2015
import-tool import-tool: Lazy load username data Nov 23, 2015
lib web: return false if new group management is not configure for organi… Jan 21, 2016
public not using vanilla font-awesome Oct 2, 2015
rest rest: API for user authentication Apr 28, 2016
script Script for removing owner of the all organisations Dec 1, 2015
spec Merge jokor-mountpoint branch to the master Apr 14, 2014
test/models rest: use yajl to parse json from fluent Dec 18, 2013
vendor/assets/javascripts remove unused javascript files May 28, 2013
.bash_node_modules Install JS tooling for new mass import tool Aug 11, 2015
.eslintrc import-tool: Prevent unload during import Nov 18, 2015
.gitignore Ignore emacs backup files Sep 18, 2015
.gitmodules Drop submodules Mar 21, 2013
COPYING Added licence Nov 12, 2010
Gemfile import-tool: Configuration for transalations Sep 16, 2015
Gemfile.lock Update rails and use version 0.12.0 of net-ldap gem. Version 0.13.0 (… Jan 26, 2016
Gemfile.shared Update rails and use version 0.12.0 of net-ldap gem. Version 0.13.0 (… Jan 26, 2016
Makefile import-tool: Drop hot mode Oct 8, 2015
README.md add server make tasks Feb 24, 2015
Rakefile Make Rails 3 to boot Mar 19, 2013
VERSION Version 0.10.0 Oct 17, 2014
ci.sh Force org refresh before tests Sep 21, 2015
config.ru Add rails 3 files Mar 19, 2013
cucumber.yml First commit May 12, 2010
generic_test_helpers.rb Clean up test organisation (example) certificates Mar 18, 2016
monkeypatches.rb web: better monkeypatch for schema cache Jan 24, 2014
package.json Use piecon by opinsys repo Nov 30, 2015
webpack.config.js import-tool: Drop hot mode Oct 8, 2015

README.md

puavo-web & puavo-rest

Web interface and RESTful API server on top of OpenLDAP with Puavo schemas

Hacking

Apply Ansible rules from puavo-standalone.

Clone this repository and install build dependencies

sudo make install-build-dep

puavo-web

Install required rubygems and build assets

make

Stop the puavo-standalone installed puavo-web server and start a development server

sudo stop puavo-web
make server

If you need to hack on the worker process

sudo stop puavo-web-worker
bundle exec rake resque:work QUEUE='*' VERBOSE=true

Access ActiveLdap console

bundle exec rails runner script/puavo-web-prompt.rb

puavo-rest

cd rest

Install required rubygems

make

Stop the puavo-standalone installed puavo-rest server and start a development server

sudo stop puavo-rest
make server

or with a reloading server

bundle exec shotgun -o 0.0.0.0 -p 9292

Access model console

bundle exec scripts/puavo-rest-prompt.rb