opensuse:build-service.git
7 years ago[webui] update jrails plugin to a version maintained
Stephan Kulow [Fri, 8 Jul 2011 09:54:24 +0000 (11:54 +0200)]
[webui] update jrails plugin to a version maintained

picked one of the github branches, picked
https://github.com/esteil/jrails.git

7 years ago[webui] Use Digest::Md5 instead of the deprecated MD5 wrapper
Stephan Kulow [Fri, 8 Jul 2011 09:48:17 +0000 (11:48 +0200)]
[webui] Use Digest::Md5 instead of the deprecated MD5 wrapper

7 years ago[webui] look for the test_helper with absolute path
Stephan Kulow [Fri, 8 Jul 2011 09:30:23 +0000 (11:30 +0200)]
[webui] look for the test_helper with absolute path

7 years ago[webui] small syntax cleanups
Stephan Kulow [Fri, 8 Jul 2011 09:29:48 +0000 (11:29 +0200)]
[webui] small syntax cleanups

7 years ago[api] small syntax cleanup after testing some lint tools (useless in general)
Stephan Kulow [Fri, 8 Jul 2011 09:29:20 +0000 (11:29 +0200)]
[api] small syntax cleanup after testing some lint tools (useless in general)

7 years ago[api] fix one more test case to pass also with ruby 1.9
Stephan Kulow [Fri, 8 Jul 2011 07:52:49 +0000 (09:52 +0200)]
[api] fix one more test case to pass also with ruby 1.9

7 years ago[webui] Allow forwarding requests also to (several) developed packages.
Sascha Peilicke [Fri, 8 Jul 2011 07:47:04 +0000 (09:47 +0200)]
[webui] Allow forwarding requests also to (several) developed packages.

7 years agoRemove schema stuff from private branch.
Sascha Peilicke [Fri, 8 Jul 2011 07:08:57 +0000 (09:08 +0200)]
Remove schema stuff from private branch.

7 years agoAdd new theme commits.
Sascha Peilicke [Thu, 7 Jul 2011 14:22:46 +0000 (16:22 +0200)]
Add new theme commits.

7 years ago[webui] Move authorship check before maintainership check.
Sascha Peilicke [Thu, 7 Jul 2011 08:57:23 +0000 (10:57 +0200)]
[webui] Move authorship check before maintainership check.

This way, submitters still can 'revoke' requests, even if they're a
target maintainer. It's only about wording.

7 years ago[api] fix testcase, release request must be created after building/scheduling packages
Adrian Schröter [Fri, 8 Jul 2011 07:37:49 +0000 (09:37 +0200)]
[api] fix testcase, release request must be created after building/scheduling packages

7 years ago[backend] syntax fix of last commit
Adrian Schröter [Thu, 7 Jul 2011 20:18:43 +0000 (22:18 +0200)]
[backend] syntax fix of last commit

7 years ago[backend] fix migration product generation in product converter, yast2 wagon needs...
Dirk Müller [Thu, 7 Jul 2011 19:06:58 +0000 (21:06 +0200)]
[backend] fix migration product generation in product converter, yast2 wagon needs the package name, not the product name.

7 years ago[shared] update to master
Stephan Kulow [Thu, 7 Jul 2011 19:56:27 +0000 (21:56 +0200)]
[shared] update to master

7 years ago[api] do not send exception mails in test env
Stephan Kulow [Thu, 7 Jul 2011 19:48:46 +0000 (21:48 +0200)]
[api] do not send exception mails in test env

7 years ago[api] smaller adaptions to let the test suite work with ruby 1.9
Stephan Kulow [Thu, 7 Jul 2011 19:48:10 +0000 (21:48 +0200)]
[api] smaller adaptions to let the test suite work with ruby 1.9

7 years ago[api] as the DTD relaxed, we do not need this merge logic anymore
Stephan Kulow [Thu, 7 Jul 2011 19:19:06 +0000 (21:19 +0200)]
[api] as the DTD relaxed, we do not need this merge logic anymore

7 years ago[api] test environment doesn't need exception notifier
Stephan Kulow [Thu, 7 Jul 2011 18:05:00 +0000 (20:05 +0200)]
[api] test environment doesn't need exception notifier

7 years ago[api] checking the XML string is fragile, so at least check both
Stephan Kulow [Thu, 7 Jul 2011 14:08:59 +0000 (16:08 +0200)]
[api] checking the XML string is fragile, so at least check both
orders to avoid suprises

7 years ago[shared] update to master
Michael Schroeder [Thu, 7 Jul 2011 16:20:14 +0000 (18:20 +0200)]
[shared] update to master

7 years ago[backend] handle new source service style in view=info requests
Michael Schroeder [Thu, 7 Jul 2011 14:58:24 +0000 (16:58 +0200)]
[backend] handle new source service style in view=info requests

7 years ago[backend] obey project/package lock flag
Michael Schroeder [Thu, 7 Jul 2011 14:11:10 +0000 (16:11 +0200)]
[backend] obey project/package lock flag

7 years ago[api] small cleanup for syntax checker
Stephan Kulow [Thu, 7 Jul 2011 13:53:01 +0000 (15:53 +0200)]
[api] small cleanup for syntax checker

I removed the full initial_database "migration" that was unused

7 years ago[api] look for test_helper in absolute path
Stephan Kulow [Thu, 7 Jul 2011 13:30:27 +0000 (15:30 +0200)]
[api] look for test_helper in absolute path

7 years ago[api] fix the exception silencer
Stephan Kulow [Thu, 7 Jul 2011 12:40:43 +0000 (14:40 +0200)]
[api] fix the exception silencer

7 years ago[api] fix creation of maintenance project
Adrian Schröter [Thu, 7 Jul 2011 11:42:36 +0000 (13:42 +0200)]
[api] fix creation of maintenance project

7 years ago[backend] remove not anymore used code to collect build flags for packages
Adrian Schröter [Thu, 7 Jul 2011 11:27:37 +0000 (13:27 +0200)]
[backend] remove not anymore used code to collect build flags for packages

7 years ago[api] add attribute also to seed.rb for db:setup
Adrian Schröter [Wed, 6 Jul 2011 14:36:12 +0000 (16:36 +0200)]
[api] add attribute also to seed.rb for db:setup

7 years agoadd dispatcher changes to release notes
Adrian Schröter [Wed, 6 Jul 2011 12:46:39 +0000 (14:46 +0200)]
add dispatcher changes to release notes

7 years ago[backend] also auto-update the service result if we auto-update a link
Michael Schroeder [Wed, 6 Jul 2011 15:09:39 +0000 (17:09 +0200)]
[backend] also auto-update the service result if we auto-update a link

7 years ago[backend] dispatcher: preserve powerpkgs order
Michael Schroeder [Wed, 6 Jul 2011 12:43:04 +0000 (14:43 +0200)]
[backend] dispatcher: preserve powerpkgs order

7 years agoIgnore *.vim files altogether.
Sascha Peilicke [Wed, 6 Jul 2011 12:23:02 +0000 (14:23 +0200)]
Ignore *.vim files altogether.

7 years ago[webui] Frobnicate the miraculous securedfind_every to make things
Sascha Peilicke [Wed, 6 Jul 2011 11:46:01 +0000 (13:46 +0200)]
[webui] Frobnicate the miraculous securedfind_every to make things
possible.

Now I can haz LOLcatz.find_all_by_fur_and_paw(:fur => 'white',
:paw => 'big') to search in teh ActiveXML in most Rubyist'ic style.
Should fix the testsuite, too.

7 years ago[webui] Filter maintenance incidents from global project listing.
Sascha Peilicke [Wed, 6 Jul 2011 10:36:25 +0000 (12:36 +0200)]
[webui] Filter maintenance incidents from global project listing.

7 years ago[api] Fix XPathEngine's notion of the not() function.
Sascha Peilicke [Wed, 6 Jul 2011 10:35:46 +0000 (12:35 +0200)]
[api] Fix XPathEngine's notion of the not() function.

There's a detailed description in the code comments.

7 years ago[api] Include recent QualityStuff and table constraint migrations
Sascha Peilicke [Wed, 6 Jul 2011 10:35:09 +0000 (12:35 +0200)]
[api] Include recent QualityStuff and table constraint migrations

7 years ago[backend] remove fetched packages from the delay queue so that uploadbuild events...
Michael Schroeder [Wed, 6 Jul 2011 09:27:09 +0000 (11:27 +0200)]
[backend] remove fetched packages from the delay queue so that uploadbuild events can't cause endless fetch loops

7 years ago[webui] Fix race between repo and project autocompletion.
Sascha Peilicke [Tue, 5 Jul 2011 13:14:34 +0000 (15:14 +0200)]
[webui] Fix race between repo and project autocompletion.

Triggered by selection a project from the autocompletion result list via
mouse. The change event handler on the repo textfield got the value just
before the selection (i.e. the user input w/o completion). Fixes
bnc#703787.

7 years ago[webui] Update to jQuery Autocomplete plugin 1.2.1
Sascha Peilicke [Tue, 5 Jul 2011 12:23:13 +0000 (14:23 +0200)]
[webui] Update to jQuery Autocomplete plugin 1.2.1

Taken from https://github.com/agarzola/jQueryAutocompletePlugin, as the
original plugin is unmaintained (and the successor is part of jQuery
UI).

7 years ago[api] only filter unknown objects and leave the rest for logger.fatal
Stephan Kulow [Tue, 5 Jul 2011 07:31:39 +0000 (09:31 +0200)]
[api] only filter unknown objects and leave the rest for logger.fatal

7 years ago[api] cleanup double definition of constraints
Adrian Schröter [Tue, 5 Jul 2011 07:10:38 +0000 (09:10 +0200)]
[api] cleanup double definition of constraints

7 years ago[api] cleanup repositories in db_project model on destroy to avoid broken database...
Adrian Schröter [Tue, 5 Jul 2011 06:34:40 +0000 (08:34 +0200)]
[api] cleanup repositories in db_project model on destroy to avoid broken database content

7 years ago[api] store user login name when storing project or package meta data
Adrian Schröter [Mon, 4 Jul 2011 19:51:15 +0000 (21:51 +0200)]
[api] store user login name when storing project or package meta data

7 years ago[api] apply MySQL FOREIGN KEYs by default. broken databases may need to be reparted...
Adrian Schröter [Mon, 4 Jul 2011 15:23:28 +0000 (17:23 +0200)]
[api] apply MySQL FOREIGN KEYs by default. broken databases may need to be reparted manually via check script.

7 years ago[api] add quality category
Adrian Schröter [Mon, 4 Jul 2011 15:22:47 +0000 (17:22 +0200)]
[api] add quality category

7 years ago[api] trying to add a test case to reply a broken request
Stephan Kulow [Mon, 4 Jul 2011 16:05:38 +0000 (18:05 +0200)]
[api] trying to add a test case to reply a broken request

will have to continue hunting what went wrong, as the test case works

7 years ago[api] Allow removal of maintained projects.
Sascha Peilicke [Mon, 4 Jul 2011 13:31:52 +0000 (15:31 +0200)]
[api] Allow removal of maintained projects.

7 years ago[webui] Implement adding/removing maintained projects in a maintenance
Sascha Peilicke [Mon, 4 Jul 2011 13:21:02 +0000 (15:21 +0200)]
[webui] Implement adding/removing maintained projects in a maintenance
project.

7 years ago[webui] Remove unneeded 'render template' statement.
Sascha Peilicke [Mon, 4 Jul 2011 11:49:53 +0000 (13:49 +0200)]
[webui] Remove unneeded 'render template' statement.

Template has the same name as the action and is rendered anyway.

7 years ago[webui] For now, only mbranch'ed incidents count as 'open'.
Sascha Peilicke [Mon, 4 Jul 2011 11:22:27 +0000 (13:22 +0200)]
[webui] For now, only mbranch'ed incidents count as 'open'.

We have to decide on how to threat those that are created by the
maintenance project.

7 years ago[webui] Fix XPath query to distinguish maintenance incidents.
Sascha Peilicke [Mon, 4 Jul 2011 10:53:23 +0000 (12:53 +0200)]
[webui] Fix XPath query to distinguish maintenance incidents.

Seems to be not yet complete, closed incidents don't have a different
meta than open incidents that where started from the maintenance
project (i.e. not via mbranch). Still it's better than before.

7 years ago[api] Also follow 'kind' -> 'type' rename in SourceController.
Sascha Peilicke [Mon, 4 Jul 2011 10:50:51 +0000 (12:50 +0200)]
[api] Also follow 'kind' -> 'type' rename in SourceController.

Sigh!

7 years ago[webui] Don't show colon if incident has no title set
Sascha Peilicke [Mon, 4 Jul 2011 10:28:53 +0000 (12:28 +0200)]
[webui] Don't show colon if incident has no title set

7 years ago[api] Also follow 'type' -> 'kind' rename in XPathEngine.
Sascha Peilicke [Mon, 4 Jul 2011 10:20:23 +0000 (12:20 +0200)]
[api] Also follow 'type' -> 'kind' rename in XPathEngine.

7 years ago[webui] Don't show sub-project creation note for admin users.
Sascha Peilicke [Mon, 4 Jul 2011 09:54:01 +0000 (11:54 +0200)]
[webui] Don't show sub-project creation note for admin users.

They won't need it. Also change <strong> to <b>.

7 years ago[webui] Avoid error if user has no home prj in ProjectController#new action
Sascha Peilicke [Mon, 4 Jul 2011 09:50:08 +0000 (11:50 +0200)]
[webui] Avoid error if user has no home prj in ProjectController#new action

7 years ago[webui] Remove the 'the' in 'Welcome to the $FOO'.
Sascha Peilicke [Mon, 4 Jul 2011 09:31:22 +0000 (11:31 +0200)]
[webui] Remove the 'the' in 'Welcome to the $FOO'.

This becomes really odd if $FOO is like "Joe's OBS" or "MyOBS".

7 years ago[backend] Follow the rename of project 'type' to 'kind' in BSVerify.
Sascha Peilicke [Mon, 4 Jul 2011 08:14:20 +0000 (10:14 +0200)]
[backend] Follow the rename of project 'type' to 'kind' in BSVerify.

7 years ago[webui,api] improve logging
Stephan Kulow [Mon, 4 Jul 2011 08:52:49 +0000 (10:52 +0200)]
[webui,api] improve logging

If the message starts with newlines, make sure the newlines are
in front of the prefix we print out (severity and pid). Otherwise
it's impossible to grep for stuff because the empty newlines are
always splitting prefix and message

7 years ago[webui] Don't show release incident link if project contains no package.
Sascha Peilicke [Fri, 1 Jul 2011 10:26:59 +0000 (12:26 +0200)]
[webui] Don't show release incident link if project contains no package.

Doesn't make much sense but the API doesn't care for it currently.

7 years ago[webui] Fix maintenance incident creation and release
Sascha Peilicke [Fri, 1 Jul 2011 10:05:41 +0000 (12:05 +0200)]
[webui] Fix maintenance incident creation and release

7 years ago[webui] Move supersede note into heading.
Sascha Peilicke [Sun, 3 Jul 2011 14:16:08 +0000 (16:16 +0200)]
[webui] Move supersede note into heading.

7 years ago[backend] support internal servicemark paramter in sourcecommitfilelist
Michael Schroeder [Fri, 1 Jul 2011 14:52:27 +0000 (16:52 +0200)]
[backend] support internal servicemark paramter in sourcecommitfilelist

7 years ago[api] don't copy package flags on release, take the target project defaults
Adrian Schröter [Fri, 1 Jul 2011 13:25:30 +0000 (15:25 +0200)]
[api] don't copy package flags on release, take the target project defaults

7 years agoMerge branch 'master' of gitorious.org:opensuse/build-service
Adrian Schröter [Fri, 1 Jul 2011 13:19:20 +0000 (15:19 +0200)]
Merge branch 'master' of gitorious.org:opensuse/build-service

7 years ago[backend] fix stupid typo that broke the delaycheck code, set gotevent so that delaye...
Michael Schroeder [Fri, 1 Jul 2011 12:38:23 +0000 (14:38 +0200)]
[backend] fix stupid typo that broke the delaycheck code, set gotevent so that delayed events get processed right away

7 years ago[webui] do not fill our logs with always the same "Object#id will be
Stephan Kulow [Fri, 1 Jul 2011 10:04:45 +0000 (12:04 +0200)]
[webui] do not fill our logs with always the same "Object#id will be
deprectated" lines

7 years ago[webui] fix english wording
Adrian Schröter [Fri, 1 Jul 2011 09:37:01 +0000 (11:37 +0200)]
[webui] fix english wording

7 years agoMerge branch 'master' of gitorious.org:opensuse/build-service
Adrian Schröter [Fri, 1 Jul 2011 09:11:50 +0000 (11:11 +0200)]
Merge branch 'master' of gitorious.org:opensuse/build-service

7 years ago[webui] Cache user in Project/Package#user_has_role?
Sascha Peilicke [Fri, 1 Jul 2011 09:07:25 +0000 (11:07 +0200)]
[webui] Cache user in Project/Package#user_has_role?

7 years ago[api] fix Tumbleweed project reference
Adrian Schröter [Fri, 1 Jul 2011 08:06:30 +0000 (10:06 +0200)]
[api] fix Tumbleweed project reference

7 years ago[webui] Use submit request dialog also for package rdiff view.
Sascha Peilicke [Fri, 1 Jul 2011 07:54:12 +0000 (09:54 +0200)]
[webui] Use submit request dialog also for package rdiff view.

Removed old form, now it looks identical to the standard way to submit
stuff. Also, normal users can use the rdiff view to submit changes now,
similar to normal sr's. And he's asked by the dialog if he wants to
supersede old requests, if there are any.

The submit request dialog now contains a rather ugly hack. Disabled
text_field_tags (or any other tag) aren't part of the params hash of the
target controller action. Therefore a hidden field is needed in this
case.

7 years ago[api] get rid off special streaming method in public controller, use apache volley...
Adrian Schröter [Fri, 1 Jul 2011 07:41:45 +0000 (09:41 +0200)]
[api] get rid off special streaming method in public controller, use apache volley instead. We may need some more fixes in backend.

7 years ago[api] my tools to find memory leaks -
Stephan Kulow [Thu, 30 Jun 2011 15:03:31 +0000 (17:03 +0200)]
[api] my tools to find memory leaks -
  nothing of it is used by default

7 years ago[api] do not log unknown objects as fatal error
Stephan Kulow [Thu, 30 Jun 2011 14:16:32 +0000 (16:16 +0200)]
[api] do not log unknown objects as fatal error

7 years ago[api] we need to keep GET method for lastevents for old schedulers
Adrian Schröter [Thu, 30 Jun 2011 12:44:20 +0000 (14:44 +0200)]
[api] we need to keep GET method for lastevents for old schedulers

7 years ago[api] fix allowed lastevents method, scheduler is using only POST method
Adrian Schröter [Thu, 30 Jun 2011 12:19:38 +0000 (14:19 +0200)]
[api] fix allowed lastevents method, scheduler is using only POST method

7 years ago[webui] Capture all ActiveXML errors in RequestController#delete_request.
Sascha Peilicke [Thu, 30 Jun 2011 12:12:01 +0000 (14:12 +0200)]
[webui] Capture all ActiveXML errors in RequestController#delete_request.

7 years ago[webui] Beautify linking projects dialog.
Sascha Peilicke [Thu, 30 Jun 2011 12:07:34 +0000 (14:07 +0200)]
[webui] Beautify linking projects dialog.

7 years ago[webui] Fix group adding code for projects / packages.
Sascha Peilicke [Thu, 30 Jun 2011 11:34:35 +0000 (13:34 +0200)]
[webui] Fix group adding code for projects / packages.

Needs a workaround for missing API group controller functionality.

7 years ago[docs] Fix distribution.rng, a 'distribution' may contain zero or more icons.
Sascha Peilicke [Wed, 29 Jun 2011 10:12:38 +0000 (12:12 +0200)]
[docs] Fix distribution.rng, a 'distribution' may contain zero or more icons.

Makes the example distribution.xml validate against the schema.

7 years ago[api] fix missing attributes in service schema
Adrian Schröter [Thu, 30 Jun 2011 10:53:24 +0000 (12:53 +0200)]
[api] fix missing attributes in service schema

7 years ago[webui] Fix Package#user_has_role? wrong parameter name.
Sascha Peilicke [Wed, 29 Jun 2011 13:31:58 +0000 (15:31 +0200)]
[webui] Fix Package#user_has_role? wrong parameter name.

Slipped through last refactoring.

7 years ago[webui] Remove outdated FIXME comment
Sascha Peilicke [Wed, 29 Jun 2011 08:37:59 +0000 (10:37 +0200)]
[webui] Remove outdated FIXME comment

7 years ago[backend] add an option to skip release pakcages on product medias: skip_release_package
Adrian Schröter [Tue, 28 Jun 2011 16:10:54 +0000 (18:10 +0200)]
[backend] add an option to skip release pakcages on product medias: skip_release_package

7 years ago[api] fix result status query in status/bsrequest
Stephan Kulow [Tue, 28 Jun 2011 15:11:44 +0000 (17:11 +0200)]
[api] fix result status query in status/bsrequest

7 years ago[webui] Sort requests from oldest to newest.
Sascha Peilicke [Tue, 28 Jun 2011 13:45:36 +0000 (15:45 +0200)]
[webui] Sort requests from oldest to newest.

In the hopes that the oldies won't be forgotten.

7 years ago[webui] Fix signup_test, update to correct wording.
Sascha Peilicke [Tue, 28 Jun 2011 07:55:31 +0000 (09:55 +0200)]
[webui] Fix signup_test, update to correct wording.

7 years ago[backend] don't use the BSConfig user for local kiwi delivery, but the used user...
Adrian Schröter [Mon, 27 Jun 2011 15:38:07 +0000 (17:38 +0200)]
[backend] don't use the BSConfig user for local kiwi delivery, but the used user id from jobs directory.

7 years ago[api] we have too many packages and projects to have them all in one
Stephan Kulow [Mon, 27 Jun 2011 12:07:51 +0000 (14:07 +0200)]
[api] we have too many packages and projects to have them all in one
huge ruby data structure.

So use find_each (uses batches of size 1000) and stream the XML as we go.
Reduces memory usage of search controller (on api.opensuse.org) from > 800MB
to 150MB (depending on the search query of course)

7 years ago[api] if package did not built, we have no version infos
Stephan Kulow [Mon, 27 Jun 2011 10:03:19 +0000 (12:03 +0200)]
[api] if package did not built, we have no version infos

7 years ago[webui] Display error message instead of exception for missing revision.
Sascha Peilicke [Mon, 27 Jun 2011 10:00:54 +0000 (12:00 +0200)]
[webui] Display error message instead of exception for missing revision.

7 years ago[backend] allow parallel processing of services in lxc
Adrian Schröter [Mon, 27 Jun 2011 10:00:39 +0000 (12:00 +0200)]
[backend] allow parallel processing of services in lxc

7 years ago[api] remove debug output
Stephan Kulow [Mon, 27 Jun 2011 09:48:22 +0000 (11:48 +0200)]
[api] remove debug output

7 years ago[api] Add '_service' file Relax-NG schema and validation.
Sascha Peilicke [Mon, 27 Jun 2011 09:37:18 +0000 (11:37 +0200)]
[api] Add '_service' file Relax-NG schema and validation.

7 years ago[api] avoid caching all the huge XML returned from backend to save
Stephan Kulow [Mon, 27 Jun 2011 09:31:48 +0000 (11:31 +0200)]
[api] avoid caching all the huge XML returned from backend to save
memory

7 years agoRevert "[api] set ourselves a limit to avoid running away services (800MB"
Sascha Peilicke [Fri, 24 Jun 2011 10:48:38 +0000 (12:48 +0200)]
Revert "[api] set ourselves a limit to avoid running away services (800MB"

This reverts commit b8bec8d334e65cdf9adaa1ff43874eae27eafa3e.
Doesn't seem to work well with PhusionPassenger.

7 years ago[webui] Fix custom SQL syntax for 'cleanup_sessions' rake task.
Sascha Peilicke [Fri, 24 Jun 2011 10:48:16 +0000 (12:48 +0200)]
[webui] Fix custom SQL syntax for 'cleanup_sessions' rake task.

7 years ago[webui] Fix testsuite again.
Sascha Peilicke [Fri, 24 Jun 2011 09:48:23 +0000 (11:48 +0200)]
[webui] Fix testsuite again.

Mostly because the OBS instance title is now configurable and the link
to OBS configuration changed to 'Configuration' (from 'Setup OBS').

7 years ago[api] set ourselves a limit to avoid running away services (800MB
Stephan Kulow [Wed, 22 Jun 2011 13:32:43 +0000 (15:32 +0200)]
[api] set ourselves a limit to avoid running away services (800MB
ought to be enough for anybody)