44 Commits

Author SHA1 Message Date
Mir Bhatia c8148ab799 Fix more redirection HTTP statuses 2026-04-22 16:44:50 +02:00
Oliver Günther 6b97c178a8 Allow setting a github user and webhook secret for github requests 2026-03-26 13:32:42 +01:00
Marcello Rocha e3049b2658 Update calls to httpx loading the necessary auth plugin 2026-03-02 18:47:40 +01:00
Oliver Günther 14192a74c3 Replace confirm with turbo-confirm, method with turbo-method 2025-09-26 09:15:04 +02:00
Oliver Günther 957cb8e307 Fix link_translate on deploy_target 2025-09-10 13:07:25 +02:00
Henriette Darge d7c006ce82 Update SubHeader implementations to new mobile requirements in version 0.66.1 2025-05-19 15:11:05 +02:00
ulferts ab7df09580 rewrite keyword args on enums 2025-03-10 19:54:22 +01:00
ulferts d91de29d7c Merge remote-tracking branch 'origin/dev' into rails-7.2 2025-02-27 17:51:34 +01:00
Ivan Kuchin 0f6a12da3a erb_lint auto fix layout 2025-02-11 18:49:20 +01:00
Ivan Kuchin fb715f21b9 erb_lint auto fix quotes 2025-02-11 18:49:19 +01:00
Ivan Kuchin 0b1f73ec79 erb_lint auto except rubocop linter 2025-02-11 18:49:19 +01:00
Klaus Zanders a1494be3e0 fix more enum definitions from deprecated syntax 2024-11-19 13:35:15 +01:00
Oliver Günther 559f17f270 remove unused back_url parameter 2024-10-25 17:13:45 +02:00
Markus Kahl aadd5b22f8 fix github rate limit issue
using authentication allows for a higher rate limit (5000 per hour instead of 60)

reducing number of requests to mitigate the issue further
2024-09-04 15:39:29 +01:00
Oliver Günther 12ee9e6b83 Merge remote-tracking branch 'origin/idea/56781-remove-years-from-copyrights' into dev 2024-08-06 10:17:59 +02:00
Henriette Darge a144d669a2 Remove nesting of modules for Backlogs and GitHub integration as they only have one submenu entry 2024-08-05 12:55:25 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Henriette Darge ad8d929e6a Add missing breadcrumb and html titles with the help of Primer::OpenProject::PageHeader 2024-07-22 14:20:01 +02:00
Markus Kahl 80007dd48b translate deploy comment, allow to be made by manually set github user 2024-06-10 12:03:37 +01:00
Markus Kahl 595784553e skip job if feature flag has been disabled
this is mostly so that we can enable this in a multitenancy context where this flag actually has to be enabled in the public schema

todo: find a proper solution for this allowing per-tenant cron jobs
2024-06-10 11:40:07 +01:00
Markus Kahl e7949931fe fix protocol in deployment status check 2024-06-06 13:36:17 +01:00
Markus Kahl 22a8424f94 address review remarks 2024-06-05 09:21:51 +01:00
Markus Kahl 6c4754188f validate presence of type as it must not be null
Co-authored-by: Dombi Attila <83396+dombesz@users.noreply.github.com>
2024-06-05 09:05:21 +01:00
Markus Kahl 955af2f83d use i18n for delete button 2024-06-03 10:52:09 +01:00
Markus Kahl 9e65bca609 address rubocop comments 2024-06-03 10:44:37 +01:00
Markus Kahl f1340e9897 implement deploy status checks for github integration 2024-06-03 10:39:49 +01:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Oliver Günther 337eda7dfa Revert "Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob""
This reverts commit dfa75621ea.
2024-03-07 13:59:24 +01:00
Markus Kahl dfa75621ea Revert "Merge pull request #12998 from opf/task/48717-replace-delayedjob"
This reverts commit 9f3e4c48ea, reversing
changes made to 10412f7c85.
2024-03-07 12:40:15 +00:00
Pavel Balashou fd6a899b29 [#48717] Replace DelayedJob with GoodJob.
https://community.openproject.org/work_packages/48717
2024-02-14 10:18:27 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
ulferts d40a644bbd update seeded permissions 2023-12-11 10:43:42 +01:00
Aaron Contreras 41e1aaab20 Add github_integration module permissions to WorkPackageRoles 2023-08-31 08:34:13 -05:00
Oliver Günther 077112df43 Replace github state with store 2023-04-18 16:02:58 +02:00
Christophe Bliard 9e865b4f7b lint: Run rubocop safe autocorrect
Command is `rubocop --safe --autocorrect app lib lib_static modules spec`
2023-03-09 10:25:57 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
ulferts e5111ab1d7 use github_html_url equivalent to github_id when searching (#9240) 2021-05-10 20:32:52 +02:00
Philipp Tessenow 2f9d252456 Show github pull requests in the GitHub tab (#9148)
* WIP: prototype wiring up the API with the angular frontend

* little refactorings in namespace and loading logic

* frontend styling and polishing

* pairing with aleix

* Avoid empty pullRequest.githubUser to be displayed

* added feature specs, a workaround for a pr-reload-bug in angular, and some readme improvements

* Title for partial PRs added

* GitActionsMenuComponent tests

* Test improvements

* GitHubTabComponent tests

* TabHeaderComponent tests

* TabPrsComponent tests

* revert change to karma runner

* start styling

* i18n in component

* avoid container element

* git actions menu tests

* Github interfaces

* PullRequestComponent tests

* Comment removed

* Typings improvements

* Merge fixes

* Tests fixes

* fix: wp list id links working with tabs

* remove partial github pr state

A PR might still be incomplete but enough data can be pulled from a github issuee notification to fill in most of the information

* avoid duplicate spec

* Fix import paths of op-icon

Co-authored-by: Aleix Suau <info@macrofonoestudio.es>
Co-authored-by: ulferts <jens.ulferts@googlemail.com>
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2021-05-06 16:40:37 +02:00
Philipp Tessenow bd906716e5 [#36153] link manually created pull request to a work package using the GitHub integration plug-in (#9070)
* Receiving and Parsing GitHub webhooks

* added services for upserting PullRequests, GitHub users, and, checks.
* added the datamodels for storing these entities
* added logic to parse GitHub webhooks and save the entities above

* fix some specs, added model specs

* let UpsertPartialPullRequest return the upserted PR

* added the last missing specs

* avoid double-posts when editing pull requestsx

* attempt to reduce flakiness

* added pull requests API endpoint

* handle edge case of converting partial PRs to full PRs

* name raw input of an upsert service 'payload' to differentiate it from the prepared params

* handle edge case: partial upsert after full PR creation

* github_user does not reference users anymore

* fixed a doc comment

* use enums instead of custom validations

* WIP

* pairing with jens and some cleanup and test writing

* better migration, clear up old PRs with a cron job

* handle case of non-edit events which do not introduce new linked work packages, but still require a comment
2021-04-15 13:00:28 +02:00