opensuse:build-service.git
7 years ago[backend] fix a couple of harmless autoviv/state read bugs
Michael Schroeder [Wed, 27 Jul 2011 09:57:46 +0000 (11:57 +0200)]
[backend] fix a couple of harmless autoviv/state read bugs

7 years ago[backend] fix remote access of packages with services
Michael Schroeder [Tue, 26 Jul 2011 14:32:45 +0000 (16:32 +0200)]
[backend] fix remote access of packages with services

7 years ago[backend] add some comments
Michael Schroeder [Mon, 25 Jul 2011 13:37:55 +0000 (15:37 +0200)]
[backend] add some comments

7 years ago[dist] Add CI templates for Hudson/Jenkins.
Sascha Peilicke [Wed, 27 Jul 2011 09:49:24 +0000 (11:49 +0200)]
[dist] Add CI templates for Hudson/Jenkins.

Currently does git checkout upon change, api/webui unit/functional
testsuite runs. Creates reports for test results, coverage, code metrics
and todo/fixme's.

7 years ago[webui] adapt sitemap for less crawling
Stephan Kulow [Wed, 27 Jul 2011 08:25:44 +0000 (10:25 +0200)]
[webui] adapt sitemap for less crawling

7 years ago[webui] render something to robots that already have the expensive urls
Stephan Kulow [Wed, 27 Jul 2011 07:18:06 +0000 (09:18 +0200)]
[webui] render something to robots that already have the expensive urls
in their todo list

7 years ago[webui] forgot to add the simple template (just for bots)
Stephan Kulow [Tue, 26 Jul 2011 15:42:44 +0000 (17:42 +0200)]
[webui] forgot to add the simple template (just for bots)

7 years ago[webui] fixing deployment after config.yml.example
Stephan Kulow [Tue, 26 Jul 2011 15:34:24 +0000 (17:34 +0200)]
[webui] fixing deployment after config.yml.example

7 years ago[api] another test suite error fixed (even though I don't feel guilty)
Stephan Kulow [Tue, 26 Jul 2011 15:10:29 +0000 (17:10 +0200)]
[api] another test suite error fixed (even though I don't feel guilty)

7 years ago[api] fix test suite after the previous commits
Stephan Kulow [Tue, 26 Jul 2011 14:57:25 +0000 (16:57 +0200)]
[api] fix test suite after the previous commits

7 years ago[api,webui] Move option.yml to option.yml.example.
Sascha Peilicke [Tue, 26 Jul 2011 14:58:56 +0000 (16:58 +0200)]
[api,webui] Move option.yml to option.yml.example.

Just like database.yml.example. Per-host overridable option.yml isn't
really an option, instead the file shouldn't be versioned (same thing
holds true for our the development environment).

7 years agoRevert "[api] allow custom option.yml files for developers"
Sascha Peilicke [Tue, 26 Jul 2011 14:49:09 +0000 (16:49 +0200)]
Revert "[api] allow custom option.yml files for developers"

This reverts commit 9e554386351ed7fcd40fd86f67ddb0b88df8dcd2.
We want an option.yml.example instead.

7 years agoMerge branch 'master' of gitorious.org:opensuse/build-service
Ruediger Oertel [Tue, 26 Jul 2011 14:52:30 +0000 (16:52 +0200)]
Merge branch 'master' of gitorious.org:opensuse/build-service

7 years agoadd severity to BSXML::updateinfo
Ruediger Oertel [Tue, 26 Jul 2011 14:50:33 +0000 (16:50 +0200)]
add severity to BSXML::updateinfo

7 years ago[webui] Don't provide a clickable link for anonymous users.
Sascha Peilicke [Tue, 26 Jul 2011 14:41:57 +0000 (16:41 +0200)]
[webui] Don't provide a clickable link for anonymous users.

7 years ago[api] small performance tweak for rendering _meta
Stephan Kulow [Mon, 25 Jul 2011 14:46:34 +0000 (16:46 +0200)]
[api] small performance tweak for rendering _meta

(brings around 20-30%)

7 years ago[webui] leave out some informations not useful for spider bots to
Stephan Kulow [Mon, 25 Jul 2011 14:29:43 +0000 (16:29 +0200)]
[webui] leave out some informations not useful for spider bots to
minimize their loading time

7 years ago[api] allow custom option.yml files for developers
Stephan Kulow [Mon, 25 Jul 2011 11:13:24 +0000 (13:13 +0200)]
[api] allow custom option.yml files for developers

7 years ago[api] add one more index to the projects table
Stephan Kulow [Mon, 25 Jul 2011 11:11:06 +0000 (13:11 +0200)]
[api] add one more index to the projects table

7 years ago[api] show exceptions from local development environment
Stephan Kulow [Tue, 26 Jul 2011 07:41:40 +0000 (09:41 +0200)]
[api] show exceptions from local development environment

7 years agoRevert "[api] Remvoe classic_pagination plugin."
Sascha Peilicke [Tue, 26 Jul 2011 13:36:00 +0000 (15:36 +0200)]
Revert "[api] Remvoe classic_pagination plugin."

This reverts commit 5f12e4de79d9fd10522e7a2750214f0b8b89808b.
Obviously still needed by API user management.

7 years ago[api] Remvoe classic_pagination plugin.
Sascha Peilicke [Tue, 26 Jul 2011 11:46:58 +0000 (13:46 +0200)]
[api] Remvoe classic_pagination plugin.

AFAICS never used, code seems to be outdated.

7 years ago[api] Test for invalid 'login' parameter. Fixes testsuite
Sascha Peilicke [Tue, 26 Jul 2011 11:46:31 +0000 (13:46 +0200)]
[api] Test for invalid 'login' parameter. Fixes testsuite

7 years ago[api] Cleanup PersonController#userinfo.
Sascha Peilicke [Tue, 26 Jul 2011 09:39:47 +0000 (11:39 +0200)]
[api] Cleanup PersonController#userinfo.

Contains a small fix, watchlist is now correctly set directly after login.

7 years ago[webui] Bring back the add watchlist feature.
Sascha Peilicke [Tue, 26 Jul 2011 09:30:38 +0000 (11:30 +0200)]
[webui] Bring back the add watchlist feature.

Got lost with 76725fa8.

7 years ago[activexml] Remove unused config options.
Sascha Peilicke [Tue, 26 Jul 2011 07:54:20 +0000 (09:54 +0200)]
[activexml] Remove unused config options.

AFAICS, these where never used. Both testsuites run w/o, no grep
results.

7 years ago[webui] Fix software.o.o download link.
Sascha Peilicke [Mon, 25 Jul 2011 13:41:17 +0000 (15:41 +0200)]
[webui] Fix software.o.o download link.

Either the API changed just recently or this never worked. Note: We
still have to get rid of the hardcoded link, but I don't know where/how
to best store it currently...

7 years ago[webui] Hopefully the last diff expansion check change.
Sascha Peilicke [Mon, 25 Jul 2011 13:12:42 +0000 (15:12 +0200)]
[webui] Hopefully the last diff expansion check change.

7 years ago[webui] Cleanup of linking packages dialog.
Sascha Peilicke [Mon, 25 Jul 2011 10:10:13 +0000 (12:10 +0200)]
[webui] Cleanup of linking packages dialog.

7 years ago[webui] Filter targets for a devel package that have a linkinfo.
Sascha Peilicke [Mon, 25 Jul 2011 09:49:46 +0000 (11:49 +0200)]
[webui] Filter targets for a devel package that have a linkinfo.

7 years ago[webui] Work around Ruby's interpretation of Base64.
Sascha Peilicke [Mon, 25 Jul 2011 08:35:01 +0000 (10:35 +0200)]
[webui] Work around Ruby's interpretation of Base64.

Happens when using lengthy passwords. Ruby's Base64 automagic linebreaking
(after more than 60 chars) isn't part of any RFC, but it's documented behavior.
Clearly, Puff, the Magic Dragon struck again!

7 years ago[api] very bad bug in project status calculation
Stephan Kulow [Sun, 24 Jul 2011 16:08:52 +0000 (18:08 +0200)]
[api] very bad bug in project status calculation

7 years ago[backend] restore part of commit 96554aa0 that got reverted by accident
Michael Schroeder [Fri, 22 Jul 2011 15:25:53 +0000 (17:25 +0200)]
[backend] restore part of commit 96554aa0 that got reverted by accident

7 years ago[backend] fix hanging bs_signer and bs_publish on --exit or --restart
Adrian Schröter [Fri, 22 Jul 2011 13:48:11 +0000 (15:48 +0200)]
[backend] fix hanging bs_signer and bs_publish on --exit or --restart

7 years ago[webui] remove strange hidden file
Stephan Kulow [Fri, 22 Jul 2011 13:13:15 +0000 (15:13 +0200)]
[webui] remove strange hidden file

7 years ago[api] remove pre-2.0 migrations, they won't run in most cases anyway
Stephan Kulow [Fri, 22 Jul 2011 12:51:18 +0000 (14:51 +0200)]
[api] remove pre-2.0 migrations, they won't run in most cases anyway

7 years ago[api, webui] move the parts we need from shared-resources into
Stephan Kulow [Fri, 22 Jul 2011 12:01:24 +0000 (14:01 +0200)]
[api, webui] move the parts we need from shared-resources into
src/activexml

7 years ago[backend] support unifiedmd5 diff for Sascha
Michael Schroeder [Fri, 22 Jul 2011 11:41:13 +0000 (13:41 +0200)]
[backend] support unifiedmd5 diff for Sascha

7 years ago[backend] increase max delta job size to 500M
Michael Schroeder [Fri, 22 Jul 2011 10:07:22 +0000 (12:07 +0200)]
[backend] increase max delta job size to 500M

7 years ago[webui] Make sure that Nokogiri is loaded.
Sascha Peilicke [Fri, 22 Jul 2011 10:08:11 +0000 (12:08 +0200)]
[webui] Make sure that Nokogiri is loaded.

7 years ago[webui] Remove example session secret config in production.rb
Sascha Peilicke [Fri, 22 Jul 2011 09:58:59 +0000 (11:58 +0200)]
[webui] Remove example session secret config in production.rb

We already load it from a file in environment.rb

7 years ago[shared] fix caching in activexml
Stephan Kulow [Fri, 22 Jul 2011 09:35:49 +0000 (11:35 +0200)]
[shared] fix caching in activexml

7 years ago[webui] Display spinning icon again while filtering projects/packages.
Sascha Peilicke [Fri, 22 Jul 2011 09:12:26 +0000 (11:12 +0200)]
[webui] Display spinning icon again while filtering projects/packages.

7 years ago[api] just document a bug case insensitive bug on project meta storage
Adrian Schröter [Fri, 22 Jul 2011 09:00:00 +0000 (11:00 +0200)]
[api] just document a bug case insensitive bug on project meta storage

7 years agoRevert "[api] Select distinct isn't necessary anymore."
Sascha Peilicke [Fri, 22 Jul 2011 09:03:28 +0000 (11:03 +0200)]
Revert "[api] Select distinct isn't necessary anymore."

This reverts commit 2a533ad772f661fdda211e1df54df51188ab0845.
Would have been nice ;)

7 years ago[api] let the rescale task run more often to reduce the data set
Stephan Kulow [Fri, 22 Jul 2011 08:44:52 +0000 (10:44 +0200)]
[api] let the rescale task run more often to reduce the data set

There is no point in keeping 11 months worth of data if the webui has
to rescale them everytime again

7 years ago[webui] right fix for 23f4b9976726b60493d260f62d21cedd7c3c1b64
Stephan Kulow [Fri, 22 Jul 2011 07:43:32 +0000 (09:43 +0200)]
[webui] right fix for 23f4b9976726b60493d260f62d21cedd7c3c1b64

7 years ago[api] Select distinct isn't necessary anymore.
Sascha Peilicke [Fri, 22 Jul 2011 08:33:18 +0000 (10:33 +0200)]
[api] Select distinct isn't necessary anymore.

Minor tweak, query time goes down from ~1.0ms to ~0.5ms.
Besides, converted all SQL keywords to uppercase.

7 years ago[webui] Also expand one-line diffs ending with a newline.
Sascha Peilicke [Fri, 22 Jul 2011 08:09:29 +0000 (10:09 +0200)]
[webui] Also expand one-line diffs ending with a newline.

7 years ago[api] Fix diff for new packages (i.e. w/o target package).
Sascha Peilicke [Fri, 22 Jul 2011 08:08:34 +0000 (10:08 +0200)]
[api] Fix diff for new packages (i.e. w/o target package).

Also use more generic regex to split of individual file diffs from
unified diff provided by the source server.

7 years ago[backend] work around missing drpm type autodetection in sign program
Michael Schroeder [Thu, 21 Jul 2011 19:30:52 +0000 (21:30 +0200)]
[backend] work around missing drpm type autodetection in sign program

7 years ago[api] rework the way we filter involved projects to make it both
Stephan Kulow [Thu, 21 Jul 2011 14:56:17 +0000 (16:56 +0200)]
[api] rework the way we filter involved projects to make it both
more readable to developers and mysql parsers (the later bringing
a speedup of factor 30)

osc my rq for coolo goes down from 7.8s to 3.3s
(most of this is backend query now)

7 years ago[webui] Be more tolerant of bad URLs.
Sascha Peilicke [Thu, 21 Jul 2011 13:19:15 +0000 (15:19 +0200)]
[webui] Be more tolerant of bad URLs.

Note: Much too complex URL-related AJAX code needs some refactoring.

7 years ago[webui] Cleanup attributes view
Sascha Peilicke [Thu, 21 Jul 2011 13:07:56 +0000 (15:07 +0200)]
[webui] Cleanup attributes view

Remove some outdated CSS classes.

7 years ago[backend] keep last delta creation logfile
Michael Schroeder [Thu, 21 Jul 2011 13:25:21 +0000 (15:25 +0200)]
[backend] keep last delta creation logfile

7 years ago[backend] set %_project in config parser, limit deltajob size, fix testprojid bug
Michael Schroeder [Thu, 21 Jul 2011 12:56:23 +0000 (14:56 +0200)]
[backend] set %_project in config parser, limit deltajob size, fix testprojid bug

7 years ago[webui] Build result tooltip now works also for multiple actions.
Sascha Peilicke [Thu, 21 Jul 2011 08:20:37 +0000 (10:20 +0200)]
[webui] Build result tooltip now works also for multiple actions.

Also moved the css/js include tages for jquerry.tooltip from
shared/_select_requests to shared/_requests. The latter is used in more
places.

7 years ago[webui] Fix package download link.
Sascha Peilicke [Thu, 21 Jul 2011 07:53:42 +0000 (09:53 +0200)]
[webui] Fix package download link.

Icon (currently) needs to be linked to the neutral theme. Link belongs
to 'Actions', not 'Information'.

7 years ago[webui] Rename all 'list_request' routes and views to 'requests'.
Sascha Peilicke [Thu, 21 Jul 2011 07:47:10 +0000 (09:47 +0200)]
[webui] Rename all 'list_request' routes and views to 'requests'.

7 years ago[webui] Cleaned up broken revisions view.
Sascha Peilicke [Thu, 21 Jul 2011 07:34:42 +0000 (09:34 +0200)]
[webui] Cleaned up broken revisions view.

Slightly reduced JavaScript and moved to the document bottom (faster loading).
The route was renamed to 'revisions' (from 'source_history').

7 years ago[backend] fix syntax errors and use standard mechanisms of services to stop and restart
Adrian Schröter [Thu, 21 Jul 2011 05:00:04 +0000 (07:00 +0200)]
[backend] fix syntax errors and use standard mechanisms of services to stop and restart

7 years ago[api] change history:rescale job to delete entries older than a year
Stephan Kulow [Wed, 20 Jul 2011 18:09:24 +0000 (20:09 +0200)]
[api] change history:rescale job to delete entries older than a year

7 years ago[webui] add link to Downloads page on Package view page, update docu for missing...
Pavol Rusnak [Wed, 20 Jul 2011 15:34:11 +0000 (17:34 +0200)]
[webui] add link to Downloads page on Package view page, update docu for missing gems

7 years ago[api] fix fixtures after created_at removal
Adrian Schröter [Wed, 20 Jul 2011 15:11:49 +0000 (17:11 +0200)]
[api] fix fixtures after created_at removal

7 years ago[api] support packages with local links (usually with multiple spec files) in one...
Adrian Schröter [Wed, 20 Jul 2011 15:02:35 +0000 (17:02 +0200)]
[api] support packages with local links (usually with multiple spec files) in one project on project branch

7 years ago[api] Drop created_at/updated_at from several tables.
Sascha Peilicke [Wed, 20 Jul 2011 13:48:16 +0000 (15:48 +0200)]
[api] Drop created_at/updated_at from several tables.

7 years ago[webui] Drop StatisticsController.
Sascha Peilicke [Wed, 20 Jul 2011 13:42:28 +0000 (15:42 +0200)]
[webui] Drop StatisticsController.

Only used by crawlers, value is more than dubious currently.

7 years ago[api] flags without the flag type can't be saved, fix unit test
Adrian Schröter [Wed, 20 Jul 2011 13:17:47 +0000 (15:17 +0200)]
[api] flags without the flag type can't be saved, fix unit test

7 years ago[api] make flags without type invalid
Stephan Kulow [Wed, 20 Jul 2011 10:20:13 +0000 (12:20 +0200)]
[api] make flags without type invalid

7 years agoUpdated jQuery Mobile library to Beta 1.
Justine Leng [Wed, 20 Jul 2011 03:20:45 +0000 (22:20 -0500)]
Updated jQuery Mobile library to Beta 1.

7 years agofix typos
Bernhard M. Wiedemann [Wed, 20 Jul 2011 09:22:49 +0000 (11:22 +0200)]
fix typos

7 years ago[api] PUT was never supported, validate POST.
Sascha Peilicke [Wed, 20 Jul 2011 09:07:52 +0000 (11:07 +0200)]
[api] PUT was never supported, validate POST.

7 years ago[api] Fix attribute namespace meta validation for PUT.
Sascha Peilicke [Wed, 20 Jul 2011 08:32:57 +0000 (10:32 +0200)]
[api] Fix attribute namespace meta validation for PUT.

7 years ago[webui] Fix <p> element inside <ul>.
Sascha Peilicke [Wed, 20 Jul 2011 08:25:55 +0000 (10:25 +0200)]
[webui] Fix <p> element inside <ul>.

7 years ago[api] define methods in using attribute controller
Adrian Schröter [Wed, 20 Jul 2011 08:01:13 +0000 (10:01 +0200)]
[api] define methods in using attribute controller

7 years ago[webui] Move UTF-8 conversion to helper and use it directly in the
Sascha Peilicke [Wed, 20 Jul 2011 07:29:17 +0000 (09:29 +0200)]
[webui] Move UTF-8 conversion to helper and use it directly in the
partial.

7 years ago[webui] _deltas is valid too
Stephan Kulow [Wed, 20 Jul 2011 05:35:28 +0000 (07:35 +0200)]
[webui] _deltas is valid too

7 years ago[webui] disable validation for stage env - at least for now
Stephan Kulow [Tue, 19 Jul 2011 19:20:38 +0000 (21:20 +0200)]
[webui] disable validation for stage env - at least for now

7 years ago[webui] some fixes for XHTML validation
Stephan Kulow [Tue, 19 Jul 2011 19:15:20 +0000 (21:15 +0200)]
[webui] some fixes for XHTML validation

7 years ago[webui] there is no reason why cache should be frozen
Stephan Kulow [Tue, 19 Jul 2011 13:15:41 +0000 (15:15 +0200)]
[webui] there is no reason why cache should be frozen

7 years ago[webui] avoid doing always the same actions but provide them
Stephan Kulow [Tue, 19 Jul 2011 12:50:19 +0000 (14:50 +0200)]
[webui] avoid doing always the same actions but provide them
from outside

7 years ago[webui] do not use activexml cache but a class instance for person
Stephan Kulow [Tue, 19 Jul 2011 10:46:42 +0000 (12:46 +0200)]
[webui] do not use activexml cache but a class instance for person
cache.

This makes parsing XML over and over again the same person unnecessary
and allows to cache the groups of the user within the model.

Testcase: query 50 times /project/repositories?project=kde4
Before: 26s
After: 10s
Goal: 1s

7 years ago[backend] add worker lxc support
Dinar Valeev [Fri, 8 Jul 2011 16:52:17 +0000 (18:52 +0200)]
[backend] add worker lxc support

7 years agoMerge commit 'refs/merge-requests/12' of git://gitorious.org/opensuse/build-service...
Thomas Schmidt [Tue, 19 Jul 2011 15:12:29 +0000 (17:12 +0200)]
Merge commit 'refs/merge-requests/12' of git://gitorious.org/opensuse/build-service into merge-requests/12

Conflicts:
src/webui/app/mobile_views/main/index.html.erb

7 years ago[webui] Do some funky conversion to display all kind of junk.
Sascha Peilicke [Tue, 19 Jul 2011 14:49:35 +0000 (16:49 +0200)]
[webui] Do some funky conversion to display all kind of junk.

This is even more eviler than Skeletor! But does the trick...
Also add some more file endings we don't want to display.

7 years ago[api] Provide correct architecture count when filters are applied
Sascha Peilicke [Tue, 19 Jul 2011 14:01:21 +0000 (16:01 +0200)]
[api] Provide correct architecture count when filters are applied

Build::XML doesn't allow to set XML tag attributes afterwards, so this
needs string patching.

7 years ago[webui] Gotcha!
Sascha Peilicke [Tue, 19 Jul 2011 08:17:19 +0000 (10:17 +0200)]
[webui] Gotcha!

7 years ago[webui] Port frontend_compat to Nokogiri.
Sascha Peilicke [Tue, 19 Jul 2011 08:16:10 +0000 (10:16 +0200)]
[webui] Port frontend_compat to Nokogiri.

7 years ago[webui] google loves to spider ajax urls, so forbid that
Stephan Kulow [Tue, 19 Jul 2011 08:11:30 +0000 (10:11 +0200)]
[webui] google loves to spider ajax urls, so forbid that

7 years ago[api] fixing test suite in changing the error message from
Stephan Kulow [Tue, 19 Jul 2011 08:09:06 +0000 (10:09 +0200)]
[api] fixing test suite in changing the error message from
validation failed to validation error

7 years ago[api] fix owner ship of maintenance incident projects
Adrian Schröter [Tue, 19 Jul 2011 08:04:46 +0000 (10:04 +0200)]
[api] fix owner ship of maintenance incident projects

7 years ago[webui] Cleanup URL partial and remove XML tag id 'url'
Sascha Peilicke [Tue, 19 Jul 2011 07:58:29 +0000 (09:58 +0200)]
[webui] Cleanup URL partial and remove XML tag id 'url'

The latter isn't unique and bothers XHTML validation.

7 years ago[webui] Remove block from XHTML initializer
Sascha Peilicke [Tue, 19 Jul 2011 07:56:57 +0000 (09:56 +0200)]
[webui] Remove block from XHTML initializer

7 years ago[api] do Adrian's CONSTRAINT sorting on a clean dump instead
Stephan Kulow [Tue, 19 Jul 2011 07:22:12 +0000 (09:22 +0200)]
[api] do Adrian's CONSTRAINT sorting on a clean dump instead

7 years ago[webui] Don't loose original request to forward.
Sascha Peilicke [Tue, 19 Jul 2011 07:25:53 +0000 (09:25 +0200)]
[webui] Don't loose original request to forward.

Forward the same original request multiple times instead of forwarding
forwarded requests.

7 years ago[api] sort db constraints always in the same order
Adrian Schröter [Tue, 19 Jul 2011 07:20:01 +0000 (09:20 +0200)]
[api] sort db constraints always in the same order

7 years ago[api] use the new validator interface in source controller
Stephan Kulow [Tue, 19 Jul 2011 07:20:32 +0000 (09:20 +0200)]
[api] use the new validator interface in source controller

7 years ago[api] the mountproject is indeed neither required nor expected
Stephan Kulow [Tue, 19 Jul 2011 07:06:26 +0000 (09:06 +0200)]
[api] the mountproject is indeed neither required nor expected
at some specific point

7 years ago[api] some fixes for the validator
Stephan Kulow [Mon, 18 Jul 2011 16:04:18 +0000 (18:04 +0200)]
[api] some fixes for the validator

7 years ago[webui] remove around 2 seconds of XHTML validation
Stephan Kulow [Mon, 18 Jul 2011 15:09:06 +0000 (17:09 +0200)]
[webui] remove around 2 seconds of XHTML validation

- load the DTD (which is fixed) at startup
- validate through nokogiri directly