Commit Graph

58 Commits (4a6795409d1520fd3da3e909a8bcf9d7fd0927bb)

Author SHA1 Message Date
John Crispin fca3f32fe8 rpcd: update to the latest version
This is required to make object "session" procedure "access" dump ACLs
when no "object" or no "function" parameters are passed.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40496
10 years ago
Jo-Philipp Wich f126298a7c rpcd: build, uci and session api fixes
- fix CMakeFile to support rpcd out of tree builds
	- fix a possible file descriptor leak in the session deserialization code
	- add uci.state call which is equivalent to uci -P /var/state get ...
	- make uci.changes "config" argument optional to allow listing all deltas in one go
	- fix inverted check in uci.commit and uci.revert, resulting in eroorneous permission denied responses
	- only trigger config change events if libuci was able to parse the config
	- rename misleading "commit" argument of uci.apply to the more appropriate name "rollback"

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 39224
10 years ago
Jo-Philipp Wich a94b5fbd5c rpcd: fix missing option removal when merging subsequent uci set calls
SVN-Revision: 38254
11 years ago
John Crispin f874094402 procd: convert various packages to procd style init.d scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38023
11 years ago
Jo-Philipp Wich c6c1c381d6 rpcd: update to git head
- recalculate session ACLs on reload
	- support negative access group expressions in /etc/config/rpcd
	- prevent destryoing the default session
	- use "ubus_rpc_session" attribute as session identifier to enforce JSON-RPC proxy security

SVN-Revision: 37961
11 years ago
Jo-Philipp Wich 106f3eab79 rpcd: update to git head
- introduces persistent null session to allow access to procedures without login
	- implements session.login procedure to support user logins via json-rpc

SVN-Revision: 37941
11 years ago
Jo-Philipp Wich e6d015489b rpcd: update to git head
- adds support for service triggering on config commit
	- adds uci transaction support
	- adds daemon reload support without loosing session data
	- exports headers for use by external plugins
	- drops LuCI2 in favor to an out of tree plugin

SVN-Revision: 37921
11 years ago
Jo-Philipp Wich a6b26d9aea Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
SVN-Revision: 37877
11 years ago