opensuse:build-service.git
6 years ago[api] fix test case for read access protected branches
Adrian Schröter [Thu, 6 Oct 2011 04:15:46 +0000 (06:15 +0200)]
[api] fix test case for read access protected branches

6 years ago[api] SLES 9 is history
Adrian Schröter [Wed, 5 Oct 2011 15:02:00 +0000 (17:02 +0200)]
[api] SLES 9 is history

6 years ago[backend] fix reference generation in updateinfo.xml files and extend test case for it
Adrian Schröter [Wed, 5 Oct 2011 14:48:40 +0000 (16:48 +0200)]
[backend] fix reference generation in updateinfo.xml files and extend test case for it

6 years ago[backend] fix generation of bug url's into updateinfos. first set of predefined bugzi...
Adrian Schröter [Wed, 5 Oct 2011 12:56:38 +0000 (14:56 +0200)]
[backend] fix generation of bug url's into updateinfos. first set of predefined bugzilla hosts which can be referenced.

6 years ago[api] add Factory ARM as default target
Adrian Schröter [Wed, 5 Oct 2011 08:45:09 +0000 (10:45 +0200)]
[api] add Factory ARM as default target

6 years ago[dist] enable armv7l scheduler by default to have an example for cross build
Adrian Schröter [Wed, 5 Oct 2011 08:43:18 +0000 (10:43 +0200)]
[dist] enable armv7l scheduler by default to have an example for cross build

6 years ago[backend] add --parse-hdrmd5 to bs_admin
Adrian Schröter [Wed, 5 Oct 2011 08:42:25 +0000 (10:42 +0200)]
[backend] add --parse-hdrmd5 to bs_admin

6 years ago[api] add real life armvXl architectures
Adrian Schröter [Wed, 5 Oct 2011 08:36:03 +0000 (10:36 +0200)]
[api] add real life armvXl architectures

6 years ago[api] fix syntax of rake task
Stephan Kulow [Wed, 5 Oct 2011 05:47:34 +0000 (07:47 +0200)]
[api] fix syntax of rake task

6 years ago[backend] first version of bs_check_consistency, not for everyday use
Ruediger Oertel [Thu, 29 Sep 2011 14:56:58 +0000 (16:56 +0200)]
[backend] first version of bs_check_consistency, not for everyday use
but pretty useful after filesystem corruption

6 years ago[webui] Update workerstatus every 5 minutes rather than 15.
Sascha Peilicke [Thu, 29 Sep 2011 08:22:29 +0000 (10:22 +0200)]
[webui] Update workerstatus every 5 minutes rather than 15.

Thus, the worker status graph on the frontpage is updated more
frequently.

6 years ago[dist] Documentation fixes as reported by Joop Boonen
Adrian Schröter [Thu, 22 Sep 2011 12:01:36 +0000 (14:01 +0200)]
[dist] Documentation fixes as reported by Joop Boonen

6 years ago[webui] Catch exception in BsRequest#modifyReview if request isn't in
Sascha Peilicke [Fri, 23 Sep 2011 10:09:16 +0000 (12:09 +0200)]
[webui] Catch exception in BsRequest#modifyReview if request isn't in
review state.

6 years ago[webui] Add user-provided delete request description to API request
Sascha Peilicke [Tue, 20 Sep 2011 12:47:55 +0000 (14:47 +0200)]
[webui] Add user-provided delete request description to API request

Fixes bnc#714511

6 years ago[webui mobile] update jquery mobile to beta3
Thomas Schmidt [Mon, 19 Sep 2011 13:02:42 +0000 (15:02 +0200)]
[webui mobile] update jquery mobile to beta3

6 years ago[webui mobile] add files view
Thomas Schmidt [Mon, 19 Sep 2011 12:52:48 +0000 (14:52 +0200)]
[webui mobile] add files view

6 years ago[webui mobile] fix actions on requests
Thomas Schmidt [Mon, 19 Sep 2011 12:52:21 +0000 (14:52 +0200)]
[webui mobile] fix actions on requests

6 years ago[api] add some watchlists to test
Stephan Kulow [Mon, 19 Sep 2011 07:26:28 +0000 (09:26 +0200)]
[api] add some watchlists to test

6 years ago[webui] yet another try to get the watchlist correct outside home
Stephan Kulow [Mon, 19 Sep 2011 07:25:05 +0000 (09:25 +0200)]
[webui] yet another try to get the watchlist correct outside home
controller

6 years ago[webui] skip the cache for current user, hoping that this fixes
Stephan Kulow [Fri, 16 Sep 2011 11:04:56 +0000 (13:04 +0200)]
[webui] skip the cache for current user, hoping that this fixes
the watchlist

6 years ago[webui] Removed empty 'scripts/2.3.8', whatever that was.
Sascha Peilicke [Fri, 16 Sep 2011 16:58:46 +0000 (08:58 -0800)]
[webui] Removed empty 'scripts/2.3.8', whatever that was.

6 years ago[api] Create user's home project after login if it doesn't exist yet.
Sascha Peilicke [Thu, 15 Sep 2011 22:26:32 +0000 (14:26 -0800)]
[api] Create user's home project after login if it doesn't exist yet.

6 years ago[webui] Fix some more executable bits that the Jenkins 'Copy Artifacts'
Sascha Peilicke [Mon, 12 Sep 2011 11:24:37 +0000 (13:24 +0200)]
[webui] Fix some more executable bits that the Jenkins 'Copy Artifacts'
plugin likes to break.

Should fix Jenkins webui test run.

6 years ago[backend] use local instead of direct
Adrian Schröter [Thu, 8 Sep 2011 14:46:10 +0000 (16:46 +0200)]
[backend] use local instead of direct

6 years ago[backend] implement rebuild trigger flags for kiwi image and product
Adrian Schröter [Thu, 8 Sep 2011 12:00:23 +0000 (14:00 +0200)]
[backend] implement rebuild trigger flags for kiwi image and product

6 years ago[backend] fix unlink calls (thanks Rudi!)
Michael Schroeder [Thu, 8 Sep 2011 09:43:22 +0000 (11:43 +0200)]
[backend] fix unlink calls (thanks Rudi!)

6 years ago[webui] More corrections for the request show view.
Sascha Peilicke [Wed, 7 Sep 2011 15:32:55 +0000 (17:32 +0200)]
[webui] More corrections for the request show view.

Changing the request status in the heading is more complex after Ajax
requests.

6 years ago[webui] Minor request show view improvements after accepting reviews.
Sascha Peilicke [Wed, 7 Sep 2011 12:04:50 +0000 (14:04 +0200)]
[webui] Minor request show view improvements after accepting reviews.

Remove 'action' column in review table if there are no open reviews left
and change the request status in the heading to new request state.

6 years ago[webui] Remove fluid layout (aka Stretch Limo).
Sascha Peilicke [Wed, 7 Sep 2011 09:42:53 +0000 (11:42 +0200)]
[webui] Remove fluid layout (aka Stretch Limo).

It is essentially untested and unmaintained, most users aren't aware of
it and you have to re-select it after every page load (at least in
Firefox).

6 years ago[webui] Include JQuery.Flot in main/index instead of partial.
Sascha Peilicke [Wed, 7 Sep 2011 08:05:39 +0000 (10:05 +0200)]
[webui] Include JQuery.Flot in main/index instead of partial.

The latter seems to work only with a local webui, whereas the former
also works on b.o.o.

6 years ago[webui] Another one of those "don't POST or PUT with Ajax"
Sascha Peilicke [Wed, 7 Sep 2011 07:51:20 +0000 (09:51 +0200)]
[webui] Another one of those "don't POST or PUT with Ajax"

Only a local webui seems to loose the session if POST/PUT is used in
Ajax requests. Looks like a bug elsewhere...

6 years ago[api] fix for /status/bsrequest
Dirk Mueller [Mon, 5 Sep 2011 15:49:45 +0000 (17:49 +0200)]
[api] fix for /status/bsrequest

- return the binary names, not the package names
- use &nometa for tremendeous speedup

6 years ago[webui mobile] remove some mock data
Thomas Schmidt [Mon, 5 Sep 2011 15:32:19 +0000 (17:32 +0200)]
[webui mobile] remove some mock data

6 years ago[api] fix the test case "broken" after recent change
Stephan Kulow [Mon, 5 Sep 2011 08:59:57 +0000 (10:59 +0200)]
[api] fix the test case "broken" after recent change

6 years ago[api] it's a completely reasonable use case to create a delete
Stephan Kulow [Mon, 5 Sep 2011 08:31:01 +0000 (10:31 +0200)]
[api] it's a completely reasonable use case to create a delete
request you can't accept before someone else deleted the devel package
link.

6 years ago[webui] check the value of the scheduler parameter
Stephan Kulow [Fri, 2 Sep 2011 12:39:57 +0000 (14:39 +0200)]
[webui] check the value of the scheduler parameter

6 years ago[backend] added lsrcmd5 attribute to sourceinfo xml
Marcus Huewe [Fri, 2 Sep 2011 11:24:47 +0000 (13:24 +0200)]
[backend] added lsrcmd5 attribute to sourceinfo xml

This will be used by osc

6 years ago[webui] fix set_remoteurl if no url existed
Stephan Kulow [Fri, 2 Sep 2011 08:43:38 +0000 (10:43 +0200)]
[webui] fix set_remoteurl if no url existed

6 years ago[deploy] fix username
Adrian Schröter [Thu, 1 Sep 2011 14:15:14 +0000 (16:15 +0200)]
[deploy] fix username

6 years ago[api] fix for ugly bug in find_flag_state that only looked at the order
Stephan Kulow [Thu, 1 Sep 2011 12:51:30 +0000 (14:51 +0200)]
[api] fix for ugly bug in find_flag_state that only looked at the order
of the flags and counted the last one as most significant

Only used by status request and source access (that doesn't have per-repo
flags, so it's not affected)

6 years ago[api] Fix testcase, declining a request in final state is not allowed.
Sascha Peilicke [Thu, 1 Sep 2011 07:04:45 +0000 (09:04 +0200)]
[api] Fix testcase, declining a request in final state is not allowed.

Because it was already revoked after removing the source project.

6 years ago[webui] Catch more exceptions when project isn't found.
Sascha Peilicke [Wed, 31 Aug 2011 12:29:17 +0000 (14:29 +0200)]
[webui] Catch more exceptions when project isn't found.

Needed, backend error causes Transport::Error, otherwise
Transport::NotFoundError. Also provide a less cryptic message.

6 years ago[webui] Show more meaningful error when adding a reviewer fails.
Sascha Peilicke [Wed, 31 Aug 2011 11:59:54 +0000 (13:59 +0200)]
[webui] Show more meaningful error when adding a reviewer fails.

6 years ago[webui] Don't allow to remove source package when source project equals
Sascha Peilicke [Wed, 31 Aug 2011 09:48:50 +0000 (11:48 +0200)]
[webui] Don't allow to remove source package when source project equals
target project.

This is the case for reverting to older revisions as the dialog is used
there too.

6 years ago[webui] Provide valid submit request target when reverting to old
Sascha Peilicke [Wed, 31 Aug 2011 09:03:22 +0000 (11:03 +0200)]
[webui] Provide valid submit request target when reverting to old
revision.

6 years ago[backend] do not delete unchanged deltas when publishing a prp
Michael Schroeder [Tue, 30 Aug 2011 14:55:18 +0000 (16:55 +0200)]
[backend] do not delete unchanged deltas when publishing a prp

6 years ago[api] Revoking a request for a deleted package makes no sense anymore.
Sascha Peilicke [Mon, 29 Aug 2011 14:38:42 +0000 (16:38 +0200)]
[api] Revoking a request for a deleted package makes no sense anymore.

When a project is removed, all pending requests are declined
automatically (if it was target) or revoked (if it was source).

6 years ago[webui] Show a more meaningful message if submit request via dialog
Sascha Peilicke [Mon, 29 Aug 2011 14:29:58 +0000 (16:29 +0200)]
[webui] Show a more meaningful message if submit request via dialog
failed

6 years ago[api] Fix dangling open requests after project/package removal.
Sascha Peilicke [Mon, 29 Aug 2011 13:05:19 +0000 (15:05 +0200)]
[api] Fix dangling open requests after project/package removal.

When a project/package is removed, we have to revert requests where it
was source, decline requests where it was the target and remove all
by_project/by_package reviews from open requests. Removes several FIXMEs
and should solve bnc#676991.

6 years ago[api] Add methods to BsRequest to remove reviews or change state
Sascha Peilicke [Mon, 29 Aug 2011 13:04:30 +0000 (15:04 +0200)]
[api] Add methods to BsRequest to remove reviews or change state

Until now, this was (and still is) done in the RequestController.

6 years ago[api] Add two methods to DbProject/DbPackage which return open requests with
Sascha Peilicke [Mon, 29 Aug 2011 10:54:31 +0000 (12:54 +0200)]
[api] Add two methods to DbProject/DbPackage which return open requests with
source/target or reviews.

The method 'open_requests_with_package_as_source_or_target' and
'open_requests_with_by_package_review' can be used to find requests
which have to be touched when the package is removed or otherwise
changed.

The DbProject methods also include matching requests for their (contained)
packages.

6 years ago[webui mobile gsoc] add flash messages and enable actions for requests
Thomas Schmidt [Mon, 29 Aug 2011 10:01:43 +0000 (12:01 +0200)]
[webui mobile gsoc] add flash messages and enable actions for requests

6 years ago[webui] Service#findAvailableParameters should return a hash in case or
Sascha Peilicke [Fri, 26 Aug 2011 11:24:18 +0000 (13:24 +0200)]
[webui] Service#findAvailableParameters should return a hash in case or
error.

The view package/service_parameters expects a hash.

6 years ago[webui] Speedup perceived index page loading time by deferring system status.
Sascha Peilicke [Fri, 26 Aug 2011 10:34:24 +0000 (12:34 +0200)]
[webui] Speedup perceived index page loading time by deferring system status.

Actually doesn't speed up anything, but at least the page appears after
1s (not 3s) so that users can start feeling the OBS awesomeness earlier.

Note: This leaves some room for fragment caching the rendered
'systemstatus' partial to speed up things even more...

6 years ago[webui] Corrected :all URL for Service modell.
Sascha Peilicke [Fri, 26 Aug 2011 08:56:57 +0000 (10:56 +0200)]
[webui] Corrected :all URL for Service modell.

Hopefully fixes 'Service.find_cached :all' returning nil.

6 years ago[webui] Don't choke if there aren't any services to execute.
Sascha Peilicke [Fri, 26 Aug 2011 08:39:09 +0000 (10:39 +0200)]
[webui] Don't choke if there aren't any services to execute.

6 years ago[dist/ci] Restructure CI jobs to allow to build several git branch.
Sascha Peilicke [Thu, 25 Aug 2011 10:25:05 +0000 (12:25 +0200)]
[dist/ci] Restructure CI jobs to allow to build several git branch.

The Jenkins git plugin isn't flexible enough to trigger build jobs
for several git branches, thus one has to create a job per branch to
test. Thus the obs_testsuite_api and obs_common jobs templates where
merged. Per default, the obs_testsuite_api job template tests the git
master branch. If you want to test the git 2.3 branch, copy this job
template and replace all occurences of 'master' with '2.3' :-)

6 years ago[suse] we use the runlevel script for apidelayed jobs now
Adrian Schröter [Thu, 25 Aug 2011 09:14:50 +0000 (11:14 +0200)]
[suse] we use the runlevel script for apidelayed jobs now

6 years ago[dist] switch to copytruncate to circumvent a bug in apache&passenger calling abort
Adrian Schröter [Thu, 25 Aug 2011 08:51:11 +0000 (10:51 +0200)]
[dist] switch to copytruncate to circumvent a bug in apache&passenger calling abort

6 years ago[api,webui] Remove old delayed_job restart task.
Sascha Peilicke [Thu, 25 Aug 2011 09:07:01 +0000 (11:07 +0200)]
[api,webui] Remove old delayed_job restart task.

6 years ago[webui] Rather trivial layout fix for Google Chrome.
Sascha Peilicke [Wed, 24 Aug 2011 12:59:25 +0000 (14:59 +0200)]
[webui] Rather trivial layout fix for Google Chrome.

Bento bummer! Fixes bnc#710193

6 years ago[webui] Change catch-all rescue statement.
Sascha Peilicke [Wed, 24 Aug 2011 09:25:12 +0000 (11:25 +0200)]
[webui] Change catch-all rescue statement.

6 years ago[webui] Fix repository flag table access check.
Sascha Peilicke [Wed, 24 Aug 2011 09:04:14 +0000 (11:04 +0200)]
[webui] Fix repository flag table access check.

The value of @user_is_maintainer is nil during Ajax requests, as they
don't go through the 'repositories' action of either Project or Package
controller. Thus we have to redo the check each time...

6 years ago[backend] don't try to copy back directories in source service
Markus Lehtonen [Fri, 19 Aug 2011 07:53:27 +0000 (10:53 +0300)]
[backend] don't try to copy back directories in source service

6 years ago[backend] preserve files from previous source service
Markus Lehtonen [Fri, 19 Aug 2011 07:45:54 +0000 (10:45 +0300)]
[backend] preserve files from previous source service

When running source service, move the (_service*) files generated in
previous service run to a separate directory instead of deleting them.

6 years ago[webui] Forgot to require 'ci_reporter' in Rakefile.
Sascha Peilicke [Tue, 23 Aug 2011 11:55:18 +0000 (13:55 +0200)]
[webui] Forgot to require 'ci_reporter' in Rakefile.

This is needed to have the task 'ci:setup:unittest' available.

6 years ago[api] remove obsolete or wrong FIXME comments. Move some to 3.0 release.
Adrian Schröter [Tue, 23 Aug 2011 11:57:21 +0000 (13:57 +0200)]
[api] remove obsolete or wrong FIXME comments. Move some to 3.0 release.

6 years ago[webui] Aand another take on watchlists.
Sascha Peilicke [Tue, 23 Aug 2011 08:47:05 +0000 (10:47 +0200)]
[webui] Aand another take on watchlists.

This time, the watched projects list moved into the Person model (with
caching) and the HomeController lost the responsibility for it. Even
modifying the watchlist in several browser windows at once doesn't break
it anymore ;-)

6 years ago[api,webui] Remove code to save scope (binding) of raised exceptions.
Sascha Peilicke [Tue, 23 Aug 2011 08:25:17 +0000 (10:25 +0200)]
[api,webui] Remove code to save scope (binding) of raised exceptions.

Hasn't brought a real debugging advantage, Ruby's global scope is way to messy
to be of use in exception mails. Let's look for better solutions...

6 years ago[dist/ci,webui] Update Jenkins job templates to recent discoveries.
Sascha Peilicke [Mon, 22 Aug 2011 14:09:54 +0000 (16:09 +0200)]
[dist/ci,webui] Update Jenkins job templates to recent discoveries.

Don't recommend discarding results anymore. Let all jobs archive their
artificats (Jenkins-speech for "allow other jobs to copy from job's
workingdir"). No need to change $bsdir in BSConfig.pm, testsuites do
that anyway. Fix more executable bits in obs_testsuite_api. The coverage
reports are found under src/{api,webui}/coverage/test. Remove logfiles
after test run, they only waste space.

Also let the webui require the 'ci_reporter' gem to generate test
reports.

6 years ago[webui] Declare 'target_project' variable in
Sascha Peilicke [Mon, 22 Aug 2011 13:43:46 +0000 (15:43 +0200)]
[webui] Declare 'target_project' variable in
ProjectController#new_incident.

6 years ago[api] do not allow to delete a signkey, when the upper project (where the fallback...
Adrian Schröter [Mon, 22 Aug 2011 12:04:00 +0000 (14:04 +0200)]
[api] do not allow to delete a signkey, when the upper project (where the fallback key is hosted) does not belong to the user.

6 years ago[webui] improve build state legend a bit
Adrian Schröter [Thu, 18 Aug 2011 12:24:22 +0000 (14:24 +0200)]
[webui] improve build state legend a bit

6 years ago[webui] Avoid adding repo paths twice. Fixes a MySQL double entry error.
Sascha Peilicke [Mon, 22 Aug 2011 11:12:09 +0000 (13:12 +0200)]
[webui] Avoid adding repo paths twice. Fixes a MySQL double entry error.

6 years ago[webui] Add tooltip to request-related clickable icons.
Sascha Peilicke [Mon, 22 Aug 2011 08:50:16 +0000 (10:50 +0200)]
[webui] Add tooltip to request-related clickable icons.

Thanks to Andreas Jaeger for pointing this out.

6 years ago[webui] Change doubled 'alt' tag to 'title'.
Sascha Peilicke [Mon, 22 Aug 2011 08:49:16 +0000 (10:49 +0200)]
[webui] Change doubled 'alt' tag to 'title'.

6 years ago[webui] Catch exception for non-existing projects when adding to
Sascha Peilicke [Mon, 22 Aug 2011 08:27:34 +0000 (10:27 +0200)]
[webui] Catch exception for non-existing projects when adding to
maintenance

6 years ago[webui] Project#can_edit? should return false if 'user' is nil.
Sascha Peilicke [Mon, 22 Aug 2011 08:20:38 +0000 (10:20 +0200)]
[webui] Project#can_edit? should return false if 'user' is nil.

6 years ago[webui] Check if package has a source rev before branching
Sascha Peilicke [Fri, 19 Aug 2011 12:59:10 +0000 (14:59 +0200)]
[webui] Check if package has a source rev before branching

Packages w/o revisions shouldn't be brancheable. Fixes bnc#710200.

6 years ago[webui] Redirect to proper view in case of error.
Sascha Peilicke [Fri, 19 Aug 2011 09:24:13 +0000 (11:24 +0200)]
[webui] Redirect to proper view in case of error.

The view 'new_branch_link' doesn't exist (any more). Fixes bnc#710197.

6 years ago[backend] test removal of service generated files when service get skipped
Adrian Schröter [Thu, 18 Aug 2011 08:22:21 +0000 (10:22 +0200)]
[backend] test removal of service generated files when service get skipped

6 years ago[backend] export package and project name via environment to the service
Adrian Schröter [Thu, 18 Aug 2011 08:21:37 +0000 (10:21 +0200)]
[backend] export package and project name via environment to the service

6 years ago[webui] minor improvement to explain "signing" state
Adrian Schröter [Thu, 18 Aug 2011 08:16:51 +0000 (10:16 +0200)]
[webui] minor improvement to explain "signing" state

6 years ago[webui] Fix testsuite, broke with 'Create package' link rename
Sascha Peilicke [Wed, 17 Aug 2011 13:57:27 +0000 (15:57 +0200)]
[webui] Fix testsuite, broke with 'Create package' link rename

6 years ago[webui] Move download package link into bento (opensuse.org) theme
Sascha Peilicke [Wed, 17 Aug 2011 11:54:49 +0000 (13:54 +0200)]
[webui] Move download package link into bento (opensuse.org) theme

We'll see if we can manage to keep the themed view on par with the
default.

6 years ago[api] fix request.xml example and validate correct source update options
Adrian Schröter [Tue, 16 Aug 2011 13:25:16 +0000 (15:25 +0200)]
[api] fix request.xml example and validate correct source update options

6 years ago[webui] Show a hint that source package is removed after request accept
Sascha Peilicke [Tue, 16 Aug 2011 13:07:06 +0000 (15:07 +0200)]
[webui] Show a hint that source package is removed after request accept

Displays an icon in to the action info.

6 years ago[webui] Fix package removel after request was accepted
Sascha Peilicke [Tue, 16 Aug 2011 13:06:20 +0000 (15:06 +0200)]
[webui] Fix package removel after request was accepted

The API expects the 'sourceupdate' option to be 'cleanup'. Fixes
bnc#709787 and bnc#709086.

6 years ago[api+webui] revert exception notification change, this requires multiple new packages...
Adrian Schröter [Tue, 16 Aug 2011 11:13:52 +0000 (13:13 +0200)]
[api+webui] revert exception notification change, this requires multiple new packages, replacing the 11.4 ones and is not backward compatible.
            Let's do this after 2.3 is released.

This reverts commit 6277c2669fe5b9cbc81f4e7b7081e9bd6082ebc1.

6 years ago[backend] set a 15 minute timeout for extrem slow answering OBS remote instances...
Adrian Schröter [Tue, 16 Aug 2011 10:45:05 +0000 (12:45 +0200)]
[backend] set a 15 minute timeout for extrem slow answering OBS remote instances...

6 years agoFix wrong regular expressions in SSL browser workarounds and add
Cristian Rodríguez [Fri, 17 Jun 2011 03:42:42 +0000 (23:42 -0400)]
Fix wrong regular expressions in SSL browser workarounds and add
workaround for older firefox versions.

6 years ago[api+webui] fix exception_notification usage so it will work on newer versions of...
Pavol Rusnak [Wed, 20 Jul 2011 15:40:53 +0000 (17:40 +0200)]
[api+webui] fix exception_notification usage so it will work on newer versions of gem as well

6 years ago[webui] Redirect to the right parent after subproject removal.
Sascha Peilicke [Mon, 15 Aug 2011 14:54:48 +0000 (16:54 +0200)]
[webui] Redirect to the right parent after subproject removal.

Or redirect to global list if top-level project was removed. Fixes
bnc#710199.

6 years ago[webui] Catch invalid user input in file upload form.
Sascha Peilicke [Mon, 15 Aug 2011 14:44:21 +0000 (16:44 +0200)]
[webui] Catch invalid user input in file upload form.

Fixes bnc#710203

6 years ago[webui] Add 'Create package' link on the show project view.
Sascha Peilicke [Mon, 15 Aug 2011 12:54:32 +0000 (14:54 +0200)]
[webui] Add 'Create package' link on the show project view.

Much demanded convience (one click less).

6 years ago[webui] Avoid PUT/POST in Ajax request to stop the webui from forgetting
Sascha Peilicke [Mon, 15 Aug 2011 12:18:16 +0000 (14:18 +0200)]
[webui] Avoid PUT/POST in Ajax request to stop the webui from forgetting
it's session

Fixes bnc#712197

6 years ago[webui] Don't check for admin role in Project/Package#user_has_role?
Sascha Peilicke [Mon, 15 Aug 2011 11:57:42 +0000 (13:57 +0200)]
[webui] Don't check for admin role in Project/Package#user_has_role?

This rather belongs into #can_edit? like it was before.

6 years ago[webui] Fix last commit, it's 'user.login', not 'user.name'.
Sascha Peilicke [Mon, 15 Aug 2011 10:40:40 +0000 (12:40 +0200)]
[webui] Fix last commit, it's 'user.login', not 'user.name'.

6 years ago[webui] Don't surrender on invalid user input for saving persons.
Sascha Peilicke [Mon, 15 Aug 2011 10:19:07 +0000 (12:19 +0200)]
[webui] Don't surrender on invalid user input for saving persons.

As the code comment suggest, this is broken in the API and probably
needs a new 'show' route. Fixes bnc#712184.

6 years ago[webui] Check if project is of type 'maintenance' to display correct
Sascha Peilicke [Mon, 15 Aug 2011 09:53:54 +0000 (11:53 +0200)]
[webui] Check if project is of type 'maintenance' to display correct
tabs.

Includes some whitespace / style adjustments. Fixes bnc#710860