opensuse:yast-rest-service.git
9 years agoInitial 'rake test' for network module
Klaus Kämpf [Wed, 24 Jun 2009 12:47:41 +0000 (14:47 +0200)]
Initial 'rake test' for network module

9 years agoDon't do private routing
Klaus Kämpf [Wed, 24 Jun 2009 12:22:01 +0000 (14:22 +0200)]
Don't do private routing

9 years agoDon't do private routing
Klaus Kämpf [Wed, 24 Jun 2009 12:21:09 +0000 (14:21 +0200)]
Don't do private routing

9 years agoInitial testing infrastructure
Klaus Kämpf [Wed, 24 Jun 2009 12:20:17 +0000 (14:20 +0200)]
Initial testing infrastructure

9 years ago'if not' -> 'unless'
Klaus Kämpf [Wed, 24 Jun 2009 12:09:45 +0000 (14:09 +0200)]
'if not' -> 'unless'

9 years ago0.0.3 yast2-webservice-services-0.0.3
Martin Vidner [Wed, 24 Jun 2009 10:06:59 +0000 (12:06 +0200)]
0.0.3

using rubygem-yast2-webservice-tasks in Rakefile

9 years agoRemoved %config
Martin Vidner [Wed, 24 Jun 2009 10:06:03 +0000 (12:06 +0200)]
Removed %config

9 years agoadd timezone update to backend
Josef Reidinger [Tue, 23 Jun 2009 14:22:23 +0000 (16:22 +0200)]
add timezone update to backend

9 years agoupdate dbus backend, move policies to yast for YaPI to modules which create it
Josef Reidinger [Tue, 23 Jun 2009 12:29:01 +0000 (14:29 +0200)]
update dbus backend, move policies to yast for YaPI to modules which create it

9 years agoadapt to new dbus backend
Josef Reidinger [Tue, 23 Jun 2009 11:21:48 +0000 (13:21 +0200)]
adapt to new dbus backend

9 years agoRedirect the other way around
Martin Vidner [Tue, 23 Jun 2009 13:04:10 +0000 (15:04 +0200)]
Redirect the other way around

so that ActiveResource in webclient gets 200 instead of 302.

9 years agoBe lazier: /services no longer includes command info.
Martin Vidner [Tue, 23 Jun 2009 11:36:15 +0000 (13:36 +0200)]
Be lazier: /services no longer includes command info.

To see the commands, services/index is not enough.
Instead, services/show does it, via a redirect to commands/index.
This enables seeing all services without unnecessarily
asking for too much detail.

/services is now sorted, disable by ?sort=0.

Removed caching the services in the session cookie:
the real service hash was too big for this.

commands/update:
  call /etc/init.d/FOO, /usr/sbin/rcFOO is nonstandard;
  always return exit+stdout+stderr

9 years agoScr.execute: do not lie in the log about the exit value.
Martin Vidner [Tue, 23 Jun 2009 11:10:55 +0000 (13:10 +0200)]
Scr.execute: do not lie in the log about the exit value.

9 years agoMerge branch 'master' of git+ssh://git@git.opensuse.org/projects/yast/rest-service
mzugec [Tue, 16 Jun 2009 15:34:54 +0000 (17:34 +0200)]
Merge branch 'master' of git+ssh://git@git.opensuse.org/projects/yast/rest-service

9 years agoadapt to new dbus backend with simple permissions
Josef Reidinger [Mon, 22 Jun 2009 11:59:47 +0000 (13:59 +0200)]
adapt to new dbus backend with simple permissions

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Josef Reidinger [Mon, 22 Jun 2009 11:56:13 +0000 (13:56 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agoCOPYING removed
Stefan Schubert [Fri, 19 Jun 2009 10:32:48 +0000 (12:32 +0200)]
COPYING removed

9 years agocleanup docu; moved to wiki
Stefan Schubert [Fri, 19 Jun 2009 10:31:53 +0000 (12:31 +0200)]
cleanup docu; moved to wiki

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Stefan Schubert [Fri, 19 Jun 2009 10:29:46 +0000 (12:29 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agofixed text
Stefan Schubert [Fri, 19 Jun 2009 10:29:23 +0000 (12:29 +0200)]
fixed text

9 years agospecfile update
Josef Reidinger [Thu, 18 Jun 2009 10:53:06 +0000 (12:53 +0200)]
specfile update

9 years agorestservice/Rakefile - 'install' task for all projects
Ladislav Slezak [Thu, 18 Jun 2009 08:21:43 +0000 (10:21 +0200)]
restservice/Rakefile - 'install' task for all projects

9 years agonetwork plugin for rest-service
hh [Tue, 16 Jun 2009 14:56:19 +0000 (16:56 +0200)]
network plugin for rest-service

9 years agochanged licences
Stefan Schubert [Tue, 16 Jun 2009 12:36:36 +0000 (14:36 +0200)]
changed licences

9 years agospec file cleanup
Stefan Schubert [Tue, 16 Jun 2009 09:58:02 +0000 (11:58 +0200)]
spec file cleanup

9 years agoImprove error message if plugin does its own routing
Klaus Kämpf [Mon, 15 Jun 2009 09:41:01 +0000 (11:41 +0200)]
Improve error message if plugin does its own routing

9 years agoversion bump
Josef Reidinger [Fri, 12 Jun 2009 16:10:08 +0000 (18:10 +0200)]
version bump

9 years agoadapt to dbus permissions yast2-webclient-language-0.0.2 yast2-webservice-language-0.0.2
Josef Reidinger [Fri, 12 Jun 2009 16:01:08 +0000 (18:01 +0200)]
adapt to dbus permissions

9 years agoFixed mocking a bit.
Martin Vidner [Fri, 12 Jun 2009 15:09:17 +0000 (17:09 +0200)]
Fixed mocking a bit.

Do not contact dbus
Do not call rcntp
FIXME: the remaining test case, other services

9 years agoLsbservice: less clutter, small refactoring.
Martin Vidner [Fri, 12 Jun 2009 14:16:17 +0000 (16:16 +0200)]
Lsbservice: less clutter, small refactoring.

Lsbservice.each walks the real services (and avoids "halt").
Lsbservice.mock_each fakes some (necessary until I figure out
the problem with caching the big hash in the session cookie
which makes it overflow).
Report nonexistent mock services.
Do not print the commandline, it clutters up test output.

9 years agoDon't let root take over /srv/www/yastws/log/development.log
Martin Vidner [Fri, 12 Jun 2009 14:08:09 +0000 (16:08 +0200)]
Don't let root take over /srv/www/yastws/log/development.log

9 years agochange policy file to respect dbus backend
Josef Reidinger [Fri, 12 Jun 2009 12:56:31 +0000 (14:56 +0200)]
change policy file to respect dbus backend

9 years agomove to dbus backend
Josef Reidinger [Thu, 11 Jun 2009 14:26:55 +0000 (16:26 +0200)]
move to dbus backend

9 years agoMerge branch 'master' of git://git.opensuse.org/projects/yast/rest-service
Bjoern Geuken [Wed, 10 Jun 2009 13:31:56 +0000 (15:31 +0200)]
Merge branch 'master' of git://git.opensuse.org/projects/yast/rest-service

9 years agoall REST plugins - added .gitignore files
Ladislav Slezak [Wed, 10 Jun 2009 13:30:20 +0000 (15:30 +0200)]
all REST plugins - added .gitignore files

ignore package/www/ and package/www.tar.bz2 in all webservice plugins

9 years agosamba-server *.spec - grant the needed privileges
Ladislav Slezak [Wed, 10 Jun 2009 13:25:34 +0000 (15:25 +0200)]
samba-server *.spec - grant the needed privileges

grant the needed privileges to the web server user in the RPM post-install script

9 years agosecurity module: - added views
Bjoern Geuken [Wed, 10 Jun 2009 13:20:43 +0000 (15:20 +0200)]
security module: - added views
                 - added tests
                 - fixed controller, model

9 years agoMerge branch 'master' of git+ssh://git@git.opensuse.org/projects/yast/rest-service
Martin Vidner [Wed, 10 Jun 2009 13:08:21 +0000 (15:08 +0200)]
Merge branch 'master' of git+ssh://git@git.opensuse.org/projects/yast/rest-service

9 years agosamba_server - fixed add/edit methods
Ladislav Slezak [Wed, 10 Jun 2009 12:50:59 +0000 (14:50 +0200)]
samba_server - fixed add/edit methods

9 years agoRemoved duplicate libraries.
Martin Vidner [Wed, 10 Jun 2009 12:00:24 +0000 (14:00 +0200)]
Removed duplicate libraries.

Argh, no wonder the app would not see my change in
plugins/services/lib/lsbservice.rb...

9 years agoRevert "security module: some code review"
Bjoern Geuken [Wed, 10 Jun 2009 08:29:18 +0000 (10:29 +0200)]
Revert "security module: some code review"

This reverts commit e3f4d57b5b00ad8b4a02544bf0a9c4d037c60a2b.

9 years agosamba_server - fixed 'update' code
Ladislav Slezak [Tue, 9 Jun 2009 18:34:24 +0000 (20:34 +0200)]
samba_server - fixed 'update' code

9 years agosamba_server - use name as id
Ladislav Slezak [Tue, 9 Jun 2009 11:50:51 +0000 (13:50 +0200)]
samba_server - use name as id

9 years agoSort the HTML index of interfaces.
Martin Vidner [Mon, 8 Jun 2009 15:07:05 +0000 (17:07 +0200)]
Sort the HTML index of interfaces.

9 years agoFavicon!
Martin Vidner [Mon, 8 Jun 2009 15:06:12 +0000 (17:06 +0200)]
Favicon!

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Bjoern Geuken [Mon, 8 Jun 2009 14:23:36 +0000 (16:23 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agosecurity module: some code review
Bjoern Geuken [Mon, 8 Jun 2009 14:23:03 +0000 (16:23 +0200)]
security module: some code review

9 years agofix logger in model and add proper tests for model
Josef Reidinger [Mon, 8 Jun 2009 12:03:24 +0000 (14:03 +0200)]
fix logger in model and add proper tests for model

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Josef Reidinger [Mon, 8 Jun 2009 10:23:06 +0000 (12:23 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agoclean design and fix updating language
Josef Reidinger [Mon, 8 Jun 2009 10:22:01 +0000 (12:22 +0200)]
clean design and fix updating language

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Ladislav Slezak [Fri, 5 Jun 2009 14:40:36 +0000 (16:40 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agofixed punctuation in the warning
Ladislav Slezak [Fri, 5 Jun 2009 14:39:27 +0000 (16:39 +0200)]
fixed punctuation in the warning

9 years agosamba_server/Rakefile - fixed abort
Ladislav Slezak [Fri, 5 Jun 2009 14:36:25 +0000 (16:36 +0200)]
samba_server/Rakefile - fixed abort

Don't abort but print a warning when 'rubygem-yast2-webservice-tasks' RPM
package is not installed.

9 years agofix
Stefan Schubert [Fri, 5 Jun 2009 14:10:01 +0000 (16:10 +0200)]
fix

9 years agosolved conflicts
Stefan Schubert [Fri, 5 Jun 2009 13:52:09 +0000 (15:52 +0200)]
solved conflicts

9 years agoadded samba testcase; fixed general testcases concerning module names
Stefan Schubert [Fri, 5 Jun 2009 13:49:10 +0000 (15:49 +0200)]
added samba testcase; fixed general testcases concerning module names

9 years agobugfix
Stefan Schubert [Fri, 5 Jun 2009 13:48:06 +0000 (15:48 +0200)]
bugfix

9 years agopatches module: fixed get_updateList in controller
Bjoern Geuken [Fri, 5 Jun 2009 12:22:55 +0000 (14:22 +0200)]
patches module: fixed get_updateList in controller

9 years agosystemtime: handels bad params in update action
Bjoern Geuken [Fri, 5 Jun 2009 09:46:36 +0000 (11:46 +0200)]
systemtime: handels bad params in update action

9 years agosystemtime: added date to stub of "writing values back" test
Bjoern Geuken [Fri, 5 Jun 2009 09:18:42 +0000 (11:18 +0200)]
systemtime: added date to stub of "writing values back" test

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Bjoern Geuken [Fri, 5 Jun 2009 09:14:27 +0000 (11:14 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agosystemtime: changed is_utc() to pass test
Bjoern Geuken [Fri, 5 Jun 2009 09:09:18 +0000 (11:09 +0200)]
systemtime: changed is_utc() to pass test

9 years agosystemtime module: handels bad return values of get_time
Bjoern Geuken [Fri, 5 Jun 2009 08:50:31 +0000 (10:50 +0200)]
systemtime module: handels bad return values of get_time

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Bjoern Geuken [Mon, 22 Jun 2009 16:30:40 +0000 (18:30 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agosystemtime module: fixed conversation of date format
Bjoern Geuken [Mon, 22 Jun 2009 16:30:22 +0000 (18:30 +0200)]
systemtime module: fixed conversation of date format

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Stefan Schubert [Thu, 4 Jun 2009 13:47:58 +0000 (15:47 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agoadded plugin tests in system_check
Stefan Schubert [Thu, 4 Jun 2009 13:47:42 +0000 (15:47 +0200)]
added plugin tests in system_check

9 years agosystemtime module: - fixed "bad" blank? in update action
Bjoern Geuken [Thu, 4 Jun 2009 08:09:21 +0000 (10:09 +0200)]
systemtime module: - fixed "bad" blank? in update action
                   - send date and time separated in two strings,
                     no more timezone conversion on web-client side

9 years agoMerge branch 'master' of git+ssh://git@git.opensuse.org/projects/yast/rest-service yast2-webservice-services-0.0.1
Martin Vidner [Wed, 3 Jun 2009 14:17:08 +0000 (16:17 +0200)]
Merge branch 'master' of git+ssh://git@git.opensuse.org/projects/yast/rest-service

9 years agoPackaging: fixed the description, added .changes
Martin Vidner [Wed, 3 Jun 2009 14:09:46 +0000 (16:09 +0200)]
Packaging: fixed the description, added .changes

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Stefan Schubert [Wed, 3 Jun 2009 14:02:53 +0000 (16:02 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agoadded more tests
Stefan Schubert [Wed, 3 Jun 2009 14:02:39 +0000 (16:02 +0200)]
added more tests

9 years agodont ignore package/ subdir
Martin Vidner [Wed, 3 Jun 2009 13:51:55 +0000 (15:51 +0200)]
dont ignore package/ subdir

And I mean it. It contains legitimately versioned files such as
*.package. Go ignore package/*.tar.gz or whatever instead.

9 years agoRemoved a leftover temporary file.
Martin Vidner [Wed, 3 Jun 2009 13:05:20 +0000 (15:05 +0200)]
Removed a leftover temporary file.

First commit! Yay!

9 years agoadded testcases; code cleanup
Stefan Schubert [Wed, 3 Jun 2009 11:04:38 +0000 (13:04 +0200)]
added testcases; code cleanup

9 years agosystemtime module: replaced blank? with nil? for utc (boolean).
bgeuken [Wed, 3 Jun 2009 10:55:15 +0000 (12:55 +0200)]
systemtime module: replaced blank? with nil? for utc (boolean).
"An object is blank if it‘s false, empty, or a whitespace string."

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
bgeuken [Wed, 3 Jun 2009 10:43:28 +0000 (12:43 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agosecurity module: fixed tests
bgeuken [Wed, 3 Jun 2009 10:31:54 +0000 (12:31 +0200)]
security module: fixed tests

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Stefan Schubert [Wed, 3 Jun 2009 07:41:35 +0000 (09:41 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agoadded testcases
Stefan Schubert [Wed, 3 Jun 2009 07:41:20 +0000 (09:41 +0200)]
added testcases

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
bgeuken [Tue, 2 Jun 2009 16:11:27 +0000 (18:11 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agosecurity module: fixed unit tests
bgeuken [Tue, 2 Jun 2009 16:10:39 +0000 (18:10 +0200)]
security module: fixed unit tests

9 years agosecurity module: added unit tests
bgeuken [Tue, 2 Jun 2009 14:28:12 +0000 (16:28 +0200)]
security module: added unit tests

9 years agotestcase added
Stefan Schubert [Tue, 2 Jun 2009 12:59:18 +0000 (14:59 +0200)]
testcase added

9 years agotestcase added
Stefan Schubert [Tue, 2 Jun 2009 11:48:24 +0000 (13:48 +0200)]
testcase added

9 years agoadded testcases
Stefan Schubert [Tue, 2 Jun 2009 10:41:33 +0000 (12:41 +0200)]
added testcases

9 years agopackage-local.rake - backup and restore the original :package task
Ladislav Slezak [Tue, 2 Jun 2009 09:05:28 +0000 (11:05 +0200)]
package-local.rake - backup and restore the original :package task
before defining new one (and renaming it to package-local)

9 years agofixed rake task renaming
Ladislav Slezak [Tue, 2 Jun 2009 08:53:13 +0000 (10:53 +0200)]
fixed rake task renaming

9 years agorake tasks renamed: 'package' -> 'package-local', 'dist' -> 'package'
Ladislav Slezak [Mon, 1 Jun 2009 11:57:46 +0000 (13:57 +0200)]
rake tasks renamed: 'package' -> 'package-local', 'dist' -> 'package'

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Ladislav Slezak [Mon, 1 Jun 2009 09:40:44 +0000 (11:40 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agosamba_server - removed obsoleted rakelib/include.rake
Ladislav Slezak [Fri, 29 May 2009 14:53:26 +0000 (16:53 +0200)]
samba_server - removed obsoleted rakelib/include.rake

9 years agowebservice-tasks/Rakefile - added :install task to install the gem
Ladislav Slezak [Fri, 29 May 2009 12:34:58 +0000 (14:34 +0200)]
webservice-tasks/Rakefile - added :install task to install the gem

9 years agowebservice-tasks - added WebserviceTasks.loadTasks helper to ignore some rake tasks
Ladislav Slezak [Fri, 29 May 2009 12:24:41 +0000 (14:24 +0200)]
webservice-tasks - added WebserviceTasks.loadTasks helper to ignore some rake tasks

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Stefan Schubert [Fri, 29 May 2009 06:51:50 +0000 (08:51 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service

9 years agoadded testcases
Stefan Schubert [Fri, 29 May 2009 06:51:41 +0000 (08:51 +0200)]
added testcases

9 years agosamba-server plugin - use webservice .rake files
Ladislav Slezak [Thu, 28 May 2009 16:15:36 +0000 (18:15 +0200)]
samba-server plugin - use webservice .rake files

9 years agoadded dist and package rake tasks
Ladislav Slezak [Thu, 28 May 2009 16:14:53 +0000 (18:14 +0200)]
added dist and package rake tasks

9 years agorake tasks moved to webservice-tasks
Ladislav Slezak [Thu, 28 May 2009 14:56:39 +0000 (16:56 +0200)]
rake tasks moved to webservice-tasks

9 years agoadded testcases; make the code more save
Stefan Schubert [Thu, 28 May 2009 14:06:14 +0000 (16:06 +0200)]
added testcases; make the code more save

9 years agoMerge branch 'master' of git@git.opensuse.org:projects/yast/rest-service
Ladislav Slezak [Thu, 28 May 2009 13:42:49 +0000 (15:42 +0200)]
Merge branch 'master' of git@git.opensuse.org:projects/yast/rest-service