opensuse:build-service.git
11 years ago- added generate_callback_url method to the RequestToken model oauth
Marcus Huewe [Fri, 1 Apr 2011 17:08:23 +0000 (19:08 +0200)]
- added generate_callback_url method to the RequestToken model

returns the complete callback url with appended oauth parameters
(oauth_token, oauth_verifier)

11 years ago- added missing README.oauth
Marcus Huewe [Thu, 31 Mar 2011 21:00:36 +0000 (23:00 +0200)]
- added missing README.oauth

11 years agoMerge branch 'oauth' of gitorious.org:opensuse/build-service into oauth
Sascha Peilicke [Thu, 31 Mar 2011 08:54:35 +0000 (10:54 +0200)]
Merge branch 'oauth' of gitorious.org:opensuse/build-service into oauth

11 years ago- added oauth support again (this time with no duplication)
Marcus Huewe [Wed, 30 Mar 2011 20:05:25 +0000 (22:05 +0200)]
- added oauth support again (this time with no duplication)

11 years agoRevert "- added experimental (maybe outdated) oauth support"
Marcus Huewe [Wed, 30 Mar 2011 19:38:07 +0000 (21:38 +0200)]
Revert "- added experimental (maybe outdated) oauth support"

some file's content was duplicated...

This reverts commit d8b954601f4d4ce152a8cb7be21015ecc9244e0b.

11 years ago- added experimental (maybe outdated) oauth support
Marcus Huewe [Mon, 28 Mar 2011 17:15:20 +0000 (19:15 +0200)]
- added experimental (maybe outdated) oauth support

11 years ago[api] Remvoe statistics controller latest_updated instrumentation code.
Sascha Peilicke [Thu, 31 Mar 2011 08:40:53 +0000 (10:40 +0200)]
[api] Remvoe statistics controller latest_updated instrumentation code.

11 years ago[api] User-specific caching for latest_updated, fixes hiding.
Jan-Simon Möller [Wed, 30 Mar 2011 16:48:59 +0000 (18:48 +0200)]
[api] User-specific caching for latest_updated, fixes hiding.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[webui] Display ----- for restricted projects in workerstatus and no link.
Jan-Simon Möller [Wed, 30 Mar 2011 15:09:47 +0000 (17:09 +0200)]
[webui] Display ----- for restricted projects in workerstatus and no link.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[api] Make workerstatus visibility selective on restricted projects.
Jan-Simon Möller [Wed, 30 Mar 2011 15:08:51 +0000 (17:08 +0200)]
[api] Make workerstatus visibility selective on restricted projects.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[webui] fix quoting in javascript
Stephan Kulow [Thu, 31 Mar 2011 07:50:09 +0000 (09:50 +0200)]
[webui] fix quoting in javascript

11 years ago[api] Add migration schema for new 'enable' flag of architectures.
Sascha Peilicke [Thu, 31 Mar 2011 07:11:04 +0000 (09:11 +0200)]
[api] Add migration schema for new 'enable' flag of architectures.

11 years ago- added oauth support again (this time with no duplication)
Marcus Huewe [Wed, 30 Mar 2011 20:05:25 +0000 (22:05 +0200)]
- added oauth support again (this time with no duplication)

11 years agoRevert "- added experimental (maybe outdated) oauth support"
Marcus Huewe [Wed, 30 Mar 2011 19:38:07 +0000 (21:38 +0200)]
Revert "- added experimental (maybe outdated) oauth support"

some file's content was duplicated...

This reverts commit d8b954601f4d4ce152a8cb7be21015ecc9244e0b.

11 years ago[api] do not add review by_package when creating requests from lock project or packag...
Adrian Schröter [Wed, 30 Mar 2011 16:05:55 +0000 (18:05 +0200)]
[api] do not add review by_package when creating requests from lock project or package as source

11 years ago[docs] Also add architecture route descriptions to api.txt.
Sascha Peilicke [Wed, 30 Mar 2011 15:04:01 +0000 (17:04 +0200)]
[docs] Also add architecture route descriptions to api.txt.

11 years ago[backend] do not copy comment of (random) last review accept, but use a fixed string...
Adrian Schröter [Wed, 30 Mar 2011 14:22:51 +0000 (16:22 +0200)]
[backend] do not copy comment of (random) last review accept, but use a fixed string for state change from review to new

11 years ago[api] Add more REST routes to architectures controller.
Sascha Peilicke [Wed, 30 Mar 2011 14:14:27 +0000 (16:14 +0200)]
[api] Add more REST routes to architectures controller.

11 years ago[api] Add 'architecture' controller.
Sascha Peilicke [Wed, 30 Mar 2011 12:14:53 +0000 (14:14 +0200)]
[api] Add 'architecture' controller.

Allows to list all or a specific architecture currently. Has a
corresponding Relax-NG schema and validation.

11 years ago[api] Add 'enabled' flag to architectures table.
Sascha Peilicke [Wed, 30 Mar 2011 12:10:10 +0000 (14:10 +0200)]
[api] Add 'enabled' flag to architectures table.

Currently, the table also has a 'selectable' flag that is currently
unused. Both will replace the custom code of webui/osc for determining
which archs should be displayed to the user (selectable) and which are
provided by the backend (enabled).

In the future, the backend may even update the database table when
schedulers come and go. Or, in an ideal world, the backend could
start/stop/enable/disable schedulers based on the arch table's 'enabled'
column. An administrator could then set this in an admin interface
instead of having to interface with the schedulers directly.

11 years ago[api] Bump version number.
Sascha Peilicke [Wed, 30 Mar 2011 09:45:49 +0000 (11:45 +0200)]
[api] Bump version number.

11 years ago[api] Move some move configs from environment.rb to option.yaml.
Sascha Peilicke [Wed, 30 Mar 2011 09:23:08 +0000 (11:23 +0200)]
[api] Move some move configs from environment.rb to option.yaml.

Replace MIN_VOTES_FOR_RATING with CONFIG["min_votes_for_rating"].
Moved exception_notifier sender to option.yaml and added more docs.

11 years ago[api] Remove superfluous API config option 'webui_url'.
Sascha Peilicke [Wed, 30 Mar 2011 09:04:17 +0000 (11:04 +0200)]
[api] Remove superfluous API config option 'webui_url'.

The API should know as little about it's clients as possible.

11 years ago[api] if it's previously failed we better rely on current state
Stephan Kulow [Wed, 30 Mar 2011 14:00:58 +0000 (16:00 +0200)]
[api] if it's previously failed we better rely on current state

11 years ago[appliance] <darix> dl9pf: shouldn't haveged be started on it before it tries to...
Jan-Simon Möller [Wed, 30 Mar 2011 10:10:27 +0000 (12:10 +0200)]
[appliance] <darix> dl9pf: shouldn't haveged be started on it before it tries to build the key? - !

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[api] pass parse/arch/repository in /source/prj/pkg GET request
Michael Schroeder [Wed, 30 Mar 2011 10:05:34 +0000 (12:05 +0200)]
[api] pass parse/arch/repository in /source/prj/pkg GET request

11 years ago[api] check the current build status for a request
Stephan Kulow [Wed, 30 Mar 2011 08:48:51 +0000 (10:48 +0200)]
[api] check the current build status for a request

11 years ago[api] fix another case of xml in status controller
Stephan Kulow [Tue, 29 Mar 2011 12:08:20 +0000 (14:08 +0200)]
[api] fix another case of xml in status controller

11 years ago[webui] escape the request comments the same as log files
Stephan Kulow [Tue, 29 Mar 2011 12:07:56 +0000 (14:07 +0200)]
[webui] escape the request comments the same as log files

11 years ago[webui] Don't show 'add submitter as maintainer' if submitter is target
Sascha Peilicke [Wed, 30 Mar 2011 08:19:51 +0000 (10:19 +0200)]
[webui] Don't show 'add submitter as maintainer' if submitter is target
maintainer.

11 years ago[backend] add timeout for signkey rpc
Michael Schroeder [Tue, 29 Mar 2011 18:19:56 +0000 (20:19 +0200)]
[backend] add timeout for signkey rpc

11 years ago[backend] allow 'expand=1' in getfile, as I'm lazy
Michael Schroeder [Tue, 29 Mar 2011 17:57:13 +0000 (19:57 +0200)]
[backend] allow 'expand=1' in getfile, as I'm lazy

11 years ago[webui] Remove debugger statement
Sascha Peilicke [Tue, 29 Mar 2011 14:38:49 +0000 (16:38 +0200)]
[webui] Remove debugger statement

11 years ago[webui] Replace hardcoded archs with visible architectures.
Sascha Peilicke [Tue, 29 Mar 2011 12:48:22 +0000 (14:48 +0200)]
[webui] Replace hardcoded archs with visible architectures.

Fixes bnc#655947

11 years ago[webui] Display a count for currently displayed requests.
Sascha Peilicke [Tue, 29 Mar 2011 11:35:16 +0000 (13:35 +0200)]
[webui] Display a count for currently displayed requests.

11 years ago[webui] Always show "Requests" tab for projects and packages.
Sascha Peilicke [Tue, 29 Mar 2011 10:43:53 +0000 (12:43 +0200)]
[webui] Always show "Requests" tab for projects and packages.

Rule of least surprise. Also, logic wasn't sufficient anymore after
change to display only "new" requests, not "pending". Another solution
would involve adapting the load_request filter of the project/package
controller.

11 years ago[api] check if the package is disabled in the source and make the
Stephan Kulow [Tue, 29 Mar 2011 10:23:07 +0000 (12:23 +0200)]
[api] check if the package is disabled in the source and make the
request status real XML

11 years ago[backend] allow per-request setting of keyfile and certfile
Michael Schroeder [Mon, 28 Mar 2011 17:36:15 +0000 (19:36 +0200)]
[backend] allow per-request setting of keyfile and certfile

11 years ago- added experimental (maybe outdated) oauth support
Marcus Huewe [Mon, 28 Mar 2011 17:15:20 +0000 (19:15 +0200)]
- added experimental (maybe outdated) oauth support

11 years ago[backend] use view=info for sourceinfo, also support linkrev parameter
Michael Schroeder [Mon, 28 Mar 2011 15:06:47 +0000 (17:06 +0200)]
[backend] use view=info for sourceinfo, also support linkrev parameter

11 years ago[api] avoid race in test case
Adrian Schröter [Mon, 28 Mar 2011 12:51:31 +0000 (14:51 +0200)]
[api] avoid race in test case

11 years ago[webui] Allow to supersede old requests.
Stephan Kulow [Sat, 26 Mar 2011 10:14:42 +0000 (11:14 +0100)]
[webui] Allow to supersede old requests.

11 years ago[webui] Add a smaller request listing for dialogs, etc.
Sascha Peilicke [Mon, 28 Mar 2011 11:15:08 +0000 (13:15 +0200)]
[webui] Add a smaller request listing for dialogs, etc.

11 years agoRevert "[webui] Let RequestController#list also return only a list (no partial)."
Sascha Peilicke [Mon, 28 Mar 2011 10:56:12 +0000 (12:56 +0200)]
Revert "[webui] Let RequestController#list also return only a list (no partial)."

This reverts commit 65316aeb6d6d9d4a48423b860fcf44dd2361c144.

11 years ago[api] improve the details about request status
Stephan Kulow [Mon, 28 Mar 2011 12:22:32 +0000 (14:22 +0200)]
[api] improve the details about request status

11 years ago[webui] Fix group addition again. Broke with API group controller code
Sascha Peilicke [Mon, 28 Mar 2011 08:05:46 +0000 (10:05 +0200)]
[webui] Fix group addition again. Broke with API group controller code
removal.

11 years ago[webui] tiny optimization of the request controller code
Stephan Kulow [Sat, 26 Mar 2011 10:14:42 +0000 (11:14 +0100)]
[webui] tiny optimization of the request controller code

11 years ago[webui] adding persons to new package won't work, so we need first
Stephan Kulow [Sat, 26 Mar 2011 10:05:43 +0000 (11:05 +0100)]
[webui] adding persons to new package won't work, so we need first
to accept the request

11 years ago[webui] fix caching for request accepting
Stephan Kulow [Sat, 26 Mar 2011 09:53:30 +0000 (10:53 +0100)]
[webui] fix caching for request accepting

11 years ago[webui] clarify that the person is added to the package only and
Stephan Kulow [Sat, 26 Mar 2011 08:30:41 +0000 (09:30 +0100)]
[webui] clarify that the person is added to the package only and
make that actually true

11 years ago[api] improve request status (and someone really needs to remove
Stephan Kulow [Sat, 26 Mar 2011 08:14:25 +0000 (09:14 +0100)]
[api] improve request status (and someone really needs to remove
that non-existant migration from his database)

11 years ago[backend] also allow srcinfo request on packages
Michael Schroeder [Fri, 25 Mar 2011 17:18:48 +0000 (18:18 +0100)]
[backend] also allow srcinfo request on packages

11 years ago[backend] add experimental _sourceinfo route
Michael Schroeder [Fri, 25 Mar 2011 11:55:00 +0000 (12:55 +0100)]
[backend] add experimental _sourceinfo route

11 years ago[webui] Allow target package maintainers to add requester as maintainer.
Sascha Peilicke [Fri, 25 Mar 2011 11:52:00 +0000 (12:52 +0100)]
[webui] Allow target package maintainers to add requester as maintainer.

A make-coolo-happy (tm) feature.

11 years ago[appliance] create a SSL CA with valid hostname and boot without interaction again
Adrian Schröter [Fri, 25 Mar 2011 11:52:49 +0000 (12:52 +0100)]
[appliance] create a SSL CA with valid hostname and boot without interaction again

11 years ago[api] Fix commit d0cf466a8a8e.
Sascha Peilicke [Fri, 25 Mar 2011 11:32:30 +0000 (12:32 +0100)]
[api] Fix commit d0cf466a8a8e.

This was to fast, API didn't use FRONTEND_FOO but SOURCE_FOO, which was
actually FUBAR but is now SNAFU.

11 years ago[webui] Allow to disable gravatar.
Sascha Peilicke [Fri, 25 Mar 2011 10:33:48 +0000 (11:33 +0100)]
[webui] Allow to disable gravatar.

11 years ago[webui] Allow declining requests when diff errors are present.
Sascha Peilicke [Fri, 25 Mar 2011 10:00:28 +0000 (11:00 +0100)]
[webui] Allow declining requests when diff errors are present.

Was broken before. Doesn't allow to add reviewers in the above case.

11 years ago[api] be compatible with OBS <= 2.1.x config files, use "http" as default protocol...
Adrian Schröter [Fri, 25 Mar 2011 10:52:55 +0000 (11:52 +0100)]
[api] be compatible with OBS <= 2.1.x config files, use "http" as default protocol if unconfigured

11 years ago[api] check that the release target repository permissions are granted when accepting...
Adrian Schröter [Fri, 25 Mar 2011 10:17:56 +0000 (11:17 +0100)]
[api] check that the release target repository permissions are granted when accepting maintenance_release request

11 years ago[api] limit the (not yet implemented) automatic release triggers to same project...
Adrian Schröter [Fri, 25 Mar 2011 09:08:41 +0000 (10:08 +0100)]
[api] limit the (not yet implemented) automatic release triggers to same project for now. Or the maintainership permission checks will have side effects.

11 years ago[api] it is not okay that this test fails randomly, but no time to debug it yet :/
Adrian Schröter [Fri, 25 Mar 2011 09:08:09 +0000 (10:08 +0100)]
[api] it is not okay that this test fails randomly, but no time to debug it yet :/

11 years ago[webui] Add a check for too-short passwords.
Sascha Peilicke [Fri, 25 Mar 2011 08:59:38 +0000 (09:59 +0100)]
[webui] Add a check for too-short passwords.

Note: redirecting destroys form content, which would either have to be
send too, or AJAX form validation should be used.

11 years ago[webui] Don't choke on bad parameters, redirect back instead.
Sascha Peilicke [Fri, 25 Mar 2011 08:27:47 +0000 (09:27 +0100)]
[webui] Don't choke on bad parameters, redirect back instead.

11 years ago[api] release binaries according to release target on "maintenance_release" and remov...
Adrian Schröter [Thu, 24 Mar 2011 17:14:04 +0000 (18:14 +0100)]
[api] release binaries according to release target on "maintenance_release" and remove the trigger

11 years ago[backend] bug compatibility fix for medias which define own product name per media
Adrian Schröter [Thu, 24 Mar 2011 17:10:27 +0000 (18:10 +0100)]
[backend] bug compatibility fix for medias which define own product name per media

11 years ago[appliance] add missing modules for appliance building in KVM
Adrian Schröter [Thu, 24 Mar 2011 15:15:10 +0000 (16:15 +0100)]
[appliance] add missing modules for appliance building in KVM

11 years ago[api] add opensuse tumbleweed repo to default list
Adrian Schröter [Thu, 24 Mar 2011 15:04:30 +0000 (16:04 +0100)]
[api] add opensuse tumbleweed repo to default list

11 years ago[api] support search for releasetarget repositories
Adrian Schröter [Thu, 24 Mar 2011 13:14:51 +0000 (14:14 +0100)]
[api] support search for releasetarget repositories

11 years ago[api] support limit argument for package history
Adrian Schröter [Thu, 24 Mar 2011 13:05:31 +0000 (14:05 +0100)]
[api] support limit argument for package history

11 years agoAdd recent submits from "shared" submodule.
Sascha Peilicke [Thu, 24 Mar 2011 15:35:05 +0000 (16:35 +0100)]
Add recent submits from "shared" submodule.

11 years ago[api] Add recent migration.
Sascha Peilicke [Thu, 24 Mar 2011 14:47:31 +0000 (15:47 +0100)]
[api] Add recent migration.

11 years agoAdd README note on 'rake db:setup'.
Sascha Peilicke [Thu, 24 Mar 2011 14:47:02 +0000 (15:47 +0100)]
Add README note on 'rake db:setup'.

11 years ago[backend] remove File::Basenmae requires
Michael Schroeder [Thu, 24 Mar 2011 11:29:19 +0000 (12:29 +0100)]
[backend] remove File::Basenmae requires

11 years ago[backend] simplify getqemuinterpreters
Michael Schroeder [Thu, 24 Mar 2011 11:26:47 +0000 (12:26 +0100)]
[backend] simplify getqemuinterpreters

11 years ago[backend] fix copy/paste bug in checkkiwiproduct()
Michael Schroeder [Thu, 24 Mar 2011 11:08:19 +0000 (12:08 +0100)]
[backend] fix copy/paste bug in checkkiwiproduct()

11 years ago[appliance] Make sure to point to the correct api port/protocol.
Jan-Simon Möller [Thu, 24 Mar 2011 10:46:15 +0000 (11:46 +0100)]
[appliance] Make sure to point to the correct api port/protocol.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[webui] Let RequestController#list also return only a list (no partial).
Sascha Peilicke [Wed, 23 Mar 2011 16:37:22 +0000 (17:37 +0100)]
[webui] Let RequestController#list also return only a list (no partial).

11 years ago- fix 'unknown' version handling
Michael Schroeder [Thu, 24 Mar 2011 10:23:47 +0000 (11:23 +0100)]
- fix 'unknown' version handling

11 years ago[api] track maintenance incident and updateinfo counters in own SQL tables
Adrian Schröter [Thu, 24 Mar 2011 08:55:08 +0000 (09:55 +0100)]
[api] track maintenance incident and updateinfo counters in own SQL tables

11 years ago[api] mbranch calls in incident projects will default to "maintenance" release trigger
Adrian Schröter [Wed, 23 Mar 2011 15:44:50 +0000 (16:44 +0100)]
[api] mbranch calls in incident projects will default to "maintenance" release trigger

11 years ago[webui] describe gfx legends without technical internas
Adrian Schröter [Wed, 23 Mar 2011 15:01:00 +0000 (16:01 +0100)]
[webui] describe gfx legends without technical internas

11 years ago[api] support releasetarget definition as described in Fate #311785
Adrian Schröter [Wed, 23 Mar 2011 14:58:54 +0000 (15:58 +0100)]
[api] support releasetarget definition as described in Fate #311785

11 years agoLets hunt the bug in the appliance ...
Jan-Simon Moeller [Thu, 24 Mar 2011 08:43:29 +0000 (09:43 +0100)]
Lets hunt the bug in the appliance ...

This reverts commit bb26d973971812bc153e32e0e677496d8ecf4f85.

11 years ago[appliance] Chown all directories on appliance change.
Jan-Simon Möller [Wed, 23 Mar 2011 22:34:49 +0000 (23:34 +0100)]
[appliance] Chown all directories on appliance change.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[backend] allow overwrite of time/version/vrev in commitfilelist
Michael Schroeder [Wed, 23 Mar 2011 17:09:12 +0000 (18:09 +0100)]
[backend] allow overwrite of time/version/vrev in commitfilelist

11 years ago[backend] check package existance when retrieving _history
Michael Schroeder [Wed, 23 Mar 2011 16:19:07 +0000 (17:19 +0100)]
[backend] check package existance when retrieving _history

11 years ago[backend] automatically rebuild patchinfos when the srcmd5 of one of the packages...
Michael Schroeder [Wed, 23 Mar 2011 16:17:47 +0000 (17:17 +0100)]
[backend] automatically rebuild patchinfos when the srcmd5 of one of the packages changes

11 years ago[backend] implement some basic support for multipart release numbers. Handle with...
Michael Schroeder [Thu, 17 Mar 2011 16:34:36 +0000 (17:34 +0100)]
[backend] implement some basic support for multipart release numbers. Handle with care.

11 years ago[webui-mobile] fix state icon, add fixme note
Thomas Schmidt [Wed, 23 Mar 2011 16:18:20 +0000 (17:18 +0100)]
[webui-mobile] fix state icon, add fixme note

11 years ago[webui-mobile] fix login for non-ichain
Thomas Schmidt [Wed, 23 Mar 2011 16:17:45 +0000 (17:17 +0100)]
[webui-mobile] fix login for non-ichain

11 years ago[appliance] When we exchange the appliance, we have and empty /srv/obs folder, but...
Jan-Simon Möller [Tue, 22 Mar 2011 18:22:56 +0000 (19:22 +0100)]
[appliance] When we exchange the appliance, we have and empty /srv/obs folder, but need the link to /obs .

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
11 years ago[webui] Avoid crasher for project repository mismatch.
Sascha Peilicke [Wed, 23 Mar 2011 08:52:13 +0000 (09:52 +0100)]
[webui] Avoid crasher for project repository mismatch.

Triggered either by user misbehavior or a cached link to the repo.

11 years ago[api] Properly specify protocol for ActiveXML communication.
Sascha Peilicke [Tue, 22 Mar 2011 16:29:29 +0000 (17:29 +0100)]
[api] Properly specify protocol for ActiveXML communication.

Fixes SSL issues.

11 years ago[webui] Properly specify transport protocol for ActiveXML communication
Sascha Peilicke [Tue, 22 Mar 2011 16:28:45 +0000 (17:28 +0100)]
[webui] Properly specify transport protocol for ActiveXML communication
with the API.

11 years ago[webui] Add recent migration.
Sascha Peilicke [Tue, 22 Mar 2011 15:45:34 +0000 (16:45 +0100)]
[webui] Add recent migration.

11 years ago[webui] Better error handling (like for bad revision).
Sascha Peilicke [Tue, 22 Mar 2011 15:41:08 +0000 (16:41 +0100)]
[webui] Better error handling (like for bad revision).

11 years agoRevert "[webui] define used protocol via set_default_protocol function in ActiveXML...
Sascha Peilicke [Tue, 22 Mar 2011 15:17:04 +0000 (16:17 +0100)]
Revert "[webui] define used protocol via set_default_protocol function in ActiveXML code"

This reverts commit 5b0bbf21c01b47b1e9441b5877bd4d72d15b980b.
Doesn't resolve the issue, makes it worse.

11 years ago[webui] Format review comment.
Sascha Peilicke [Tue, 22 Mar 2011 14:21:28 +0000 (15:21 +0100)]
[webui] Format review comment.

11 years ago[webui] Also show 'new' requests per default for projects/packages.
Sascha Peilicke [Tue, 22 Mar 2011 13:50:31 +0000 (14:50 +0100)]
[webui] Also show 'new' requests per default for projects/packages.