[obs-commits] [openSUSE/open-build-service] b629d6: [frontend] Rename backend call for getting upload ...
Branch: refs/heads/2.9 Home: https://github.com/openSUSE/open-build-service Commit: b629d61d49e75be154b3a8eab96d1a39b5fe527e https://github.com/openSUSE/open-build-service/commit/b629d61d49e75be154b3a8... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M src/api/app/models/cloud/backend/upload_job.rb M src/api/lib/backend/api/cloud.rb Log Message: ----------- [frontend] Rename backend call for getting upload job data That method is returning backend data for upload jobs. Naming it ::Backend::Api::Cloud.upload_jobs instead of ::Backend::Api::Cloud.status seems to be more speaking / self-explaining. Commit: 954107b93451f40903010e2e1f54e3ee0a8f7f5d https://github.com/openSUSE/open-build-service/commit/954107b93451f40903010e... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M src/api/app/models/cloud/backend/upload_job.rb M src/api/lib/backend/api/cloud.rb Log Message: ----------- [frontend] Make Backend::Api::Cloud#upload_jobs independent from user The method was returning backend data of a all upload_jobs of a given user. Instead it now receives a list of job ids and returns their associated backend data. This makes the method more flexible and allows it to be used in different contexts, eg. querying data of a single upload job. Commit: 015288e56fc327c1d30af6d5b1fa42dbcdbd6bc6 https://github.com/openSUSE/open-build-service/commit/015288e56fc327c1d30af6... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M src/api/app/controllers/application_controller.rb A src/api/app/controllers/cloud/upload_jobs_controller.rb M src/api/app/models/cloud/backend/upload_job.rb M src/api/config/routes.rb A src/api/spec/cassettes/Cloud_Backend_UploadJob/_find/with_Timeout_Error/1_2_3_1.yml A src/api/spec/cassettes/Cloud_Backend_UploadJob/_find/with_an_invalid_backend_response/1_2_2_1.yml A src/api/spec/controllers/cloud/upload_jobs_controller_spec.rb M src/api/spec/models/cloud/backend/upload_job_spec.rb Log Message: ----------- [frontend] Add an API route to the cloud upload controller This adds API routes (aka xml responses) for: * Creation of upload jobs * Listing all upload jobs a user has access to Commit: a54ee89f3c5420cb32248caef2de00b184098078 https://github.com/openSUSE/open-build-service/commit/a54ee89f3c5420cb32248c... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M src/api/app/controllers/cloud/upload_jobs_controller.rb M src/api/config/routes.rb M src/api/spec/controllers/cloud/upload_jobs_controller_spec.rb Log Message: ----------- [frontend] Add show route to cloud upload api controller This route returns data of a single cloud upload. Commit: b9ef4835356b6121cbf6ff7fb4c607e4d669c1d6 https://github.com/openSUSE/open-build-service/commit/b9ef4835356b6121cbf6ff... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M src/api/app/controllers/cloud/upload_jobs_controller.rb M src/api/config/routes.rb M src/api/spec/controllers/cloud/upload_jobs_controller_spec.rb Log Message: ----------- [frontend] Abort cloud uploads via API Add API route that allows to abort cloud upload jobs. Commit: 243ad4f62f040e0ef03410ac75e99d0a5d4ec800 https://github.com/openSUSE/open-build-service/commit/243ad4f62f040e0ef03410... Author: Manuel Schnitzer <mschnitzer@suse.com> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M src/api/app/assets/stylesheets/webui/application.css.erb A src/api/app/assets/stylesheets/webui/application/utils.scss A src/api/app/controllers/webui/cloud/configurations_controller.rb M src/api/app/controllers/webui/cloud/ec2/configurations_controller.rb M src/api/app/controllers/webui/cloud/upload_jobs_controller.rb M src/api/app/models/user.rb A src/api/app/views/webui/cloud/configurations/index.html.haml M src/api/app/views/webui/cloud/upload_jobs/index.html.haml M src/api/config/routes.rb M src/api/spec/controllers/webui/cloud/upload_jobs_controller_spec.rb Log Message: ----------- [webui] Refactor structure and workflow of cloud upload module This commit refactors the structure and the workflow of the cloud upload module. Changes: * The link to the configuration page received an icon and was put to the top of the `Cloud Upload history` page * Added a static configurations page When clicking the `configuration` link (described in change 2.) on the history page, users get pointed to a static configuration page where they can select their cloud service provider. * Refactored breadcrumbs The breadcrumbs where not really useful as they didn't show any concrete structure. This has been changed in that commit in order to show a good hierarchy. Commit: a4af8db934fd322f6411d87457aae23076e58924 https://github.com/openSUSE/open-build-service/commit/a4af8db934fd322f6411d8... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-03-29 (Thu, 29 Mar 2018) Changed paths: M ReleaseNotes-2.9.2 Log Message: ----------- [frontend] Add release notes entry for cloud upload api Commit: fb809a55246bc180b827a6b8d3324433221a4513 https://github.com/openSUSE/open-build-service/commit/fb809a55246bc180b827a6... Author: Björn Geuken <bgeuken@suse.de> Date: 2018-04-03 (Tue, 03 Apr 2018) Changed paths: M ReleaseNotes-2.9.2 M src/api/app/assets/stylesheets/webui/application.css.erb A src/api/app/assets/stylesheets/webui/application/utils.scss M src/api/app/controllers/application_controller.rb A src/api/app/controllers/cloud/upload_jobs_controller.rb A src/api/app/controllers/webui/cloud/configurations_controller.rb M src/api/app/controllers/webui/cloud/ec2/configurations_controller.rb M src/api/app/controllers/webui/cloud/upload_jobs_controller.rb M src/api/app/models/cloud/backend/upload_job.rb M src/api/app/models/user.rb A src/api/app/views/webui/cloud/configurations/index.html.haml M src/api/app/views/webui/cloud/upload_jobs/index.html.haml M src/api/config/routes.rb M src/api/lib/backend/api/cloud.rb A src/api/spec/cassettes/Cloud_Backend_UploadJob/_find/with_Timeout_Error/1_2_3_1.yml A src/api/spec/cassettes/Cloud_Backend_UploadJob/_find/with_an_invalid_backend_response/1_2_2_1.yml A src/api/spec/controllers/cloud/upload_jobs_controller_spec.rb M src/api/spec/controllers/webui/cloud/upload_jobs_controller_spec.rb M src/api/spec/models/cloud/backend/upload_job_spec.rb Log Message: ----------- Merge pull request #4765 from bgeuken/backports/cloup_upload_api Backports/cloup upload api Compare: https://github.com/openSUSE/open-build-service/compare/d69da32c5db8...fb809a...
participants (1)
-
Björn Geuken