Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Brown paper bag!
|
|
This would prevent the backends to be started via D-Bus activation...
|
|
|
|
Else we were installing files like /usr/share/locale/de/LC_MESSAGES/@GETTEXT_PACKAGE@.mo.
|
|
We can remove many parts of the code thanks to the new version. This is fully incompatible with previous API of PolicyKit, so clients need to be updated too. This patch uses D-Bus connexion to identify the client, which does not work for now with PolkitLockButton in the GUI. Next patch fixes that, but could possibly be reverted or simplified later.
|
|
|
|
This patch fixes bug http://bugzilla.gnome.org/show_bug.cgi?id=528015 by
adding i18n infrastructure to .policy files by means of intltool.
This allows the strings in .policy files -which are shown on the desktop
through policykit-{gnome,kde}- to be extracted for translation.
Signed-off-by: David Planella <david.planella@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initscript anymore.
* configure.in: bumped DBus requirement to 1.1.2, install service files in system-services directory.
* services/*.in:
* org.freedesktop.SystemToolsBackends.service.in: Tell them to run with User=root.
* system-tools-backends.conf.in: Removed, autofoo doesn't need to modify anything here anymore, new file is
* system-tools-backends.conf: Added, contains new DBus rules. Basically, users can only access the dispatcher, only the user running the dispatcher (root) will be able to communicate with the backend modules. This is done so the dispatcher can check user permissions, etc...
* Makefile.am: install new configuration file
* dispatcher/dispatcher.c: do not spawn any private DBus, from now on, all communications will happen in the system bus, being the services spawned when they're required.
* Utils/DBus.pm (get_bus): Make backend modules use the system bus.
|
|
any configuration file has changed.
Now, configuration modules have to implement the getFiles method, so the dispatcher can query it and monitor the relevant files.
* dispatcher/file-monitor.[ch]: new object
* dispatcher/dispatcher.c: query files and at them to the monitor
* configure.in: look optionally for Gio. This feature will not be compiled if Gio is not found.
* dispatcher/Makefile.am: make necessary changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If PolicyKit is found, s-t-b will ask it whether the user is allowed for the policy "org.freedesktop.systemtoolsbackends.set" before applying any change. The policy is configured to ask for admin password by default.
|
|
|
|
|
|
|
|
|
|
|
|
* Net-DBus/Makefile.am: improve uninstall rules. Suggested by
Joseph E. Sacco <jsacco@gnome.org>
* configure.in: make netdbusdir equal to modulesdir if none is
specified.
* HostsConfig.pm: remove print.
|
|
|
|
|
|
|
|
|
|
* configure.in: bump revision number.
|
|
|
|
* configure.in: expand bindir.
* org.freedesktop.SystemToolsBackends.in: execute the dispatcher.
|
|
* Release 2.1.0
|
|
* configure.in, dispatcher/dispatcher.c: use localstatedir for the
pidfile location based on the autogen/configure arguments.
|
|
Merge c-dispatcher branch, adds a lightweight dispatcher which raises
configuration modules on demand, reducing memory use during inactivity
and allowing the development of modules in other languages than Perl.
2006-10-24 Carlos Garnacho <carlosg@gnome.org>
* dispatcher/dispatcher.c: exit() on SIGTERM.
2006-10-24 Carlos Garnacho <carlosg@gnome.org>
Continued work on the dispatcher, I think it's now feature complete
enough to work.
* StbObject.pm: base object for s-t-b services, does all
initialization and common stuff.
* GroupsConfig.pm, HostsConfig.pm, IfacesConfig.pm, NFSConfig.pm,
NTPConfig.pm, SMBConfig.pm, ServicesConfig.pm, TimeConfig.pm,
UsersConfig.pm: inherit from StbObject, keep message format in a
variable to avoid duplicates.
* Utils/Platform.pm: move DBus code to Platform.pm.
* Platform.pm: added, new DBus object.
* Utils/Backend.pm: ensure system and platform.
* Init/Services.pm: code improvements for archlinux
* dispatcher/dispatcher.c: Add license, make it raise it's own private
session bus to spawn configuration modules, cache platform and return
it when asked, create a copy of the message to pass around (seems to
be necessary by design)
* services/*: added, used to raise configuration modules.
* configure.in, Makefile.am: added services directory stuff.
2006-10-13 Carlos Garnacho <carlosg@gnome.org>
* dispatcher/dispatcher.c (daemonize): added, function to make the
dispatcher become a daemon.
2006-10-12 Carlos Garnacho <carlosg@gnome.org>
beginnings of a really lightweight dispatcher written in C, this way
the modules will only be loaded when necessary, reducing memory usage
and allowing to develop modules in other languages than Perl.
* dispatcher/dispatcher.c, Makefile.am: added, first draft of the
dispatcher, it already forwards messages and sends replies back and
tries to raise modules in the session bus
* Makefile.am: add the dispatcher directory.
* configure.in: require GLib to build the dispatcher, maybe this dep
could be dropped at some point in the future, if I don't feel too
lazy...
* Utils/Backend.pm: remove --no-daemon and --session-bus parameters,
should be no longer needed. Add --disable-shutdown for testing
purposes, as modules are supposed to shutdown automatically after some
inactivity. Add --module parameter to raise a configuration module.
* GroupsConfig.pm, HostsConfig.pm, IfacesConfig.pm, NFSConfig.pm,
NTPConfig.pm, SMBConfig.pm, ServicesConfig.pm, TimeConfig.pm,
UsersConfig.pm: create the DBus object by themselves.
* SystemToolsBackends.pl.in: do not create all the DBus objects, just
the one we want to raise, this way the script becomes a loader for
services instead of a service itself.
|
|
|
|
* test-backends: move to test-backends.in
* test-backends.in: added, make it use the same Net::DBus copy than
the backends.
* configure.am: build test-backends
* Makefile.am: autofoo changes for test-backends.in
|
|
* configure.in: expand localstatedir
* SystemToolsBackends.pl.in, Utils/Backend.pm: use localstatedir
passed by configure to write pidfile.
|
|
|
|
|
|
* configure.in: expand properly datadir and sysconfdir
|
|
* IfacesConfig.pm, Network/Ifaces.pm: save/restore gateway settings
for static interfaces.
* configure.in: preemptively bump minor number.
|