Skip to content

Add priority to protected branch #32286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 51 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
cbde69f
Add test for ProtectedBranchRules.sort
6543 Oct 16, 2024
ccb2e12
optimize loadGlob for protectedBranch
6543 Oct 16, 2024
e6b9834
sort non glob protected branch roules by name
6543 Oct 16, 2024
74760d5
update comment
6543 Oct 16, 2024
3103499
clean unrelated
6543 Oct 17, 2024
0ff31b8
Backend to sort ProtectedBranch by Priority
6543 Oct 17, 2024
c6f49a7
fix misspell
6543 Oct 17, 2024
0179a77
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Oct 17, 2024
05fe316
Update/Insert protectedBranch respect priorityes and add updateFunc f…
6543 Oct 17, 2024
6c1ffb7
api
6543 Oct 17, 2024
3ed30a7
Add api to update
6543 Oct 17, 2024
e944bef
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Oct 21, 2024
5dd0623
future profe API
6543 Oct 21, 2024
bc81f75
add route for webui
6543 Oct 21, 2024
c83fce9
add grabber octicon
6543 Oct 21, 2024
ae19b8e
wip?
6543 Oct 21, 2024
19b2b7c
form expect struct
6543 Oct 21, 2024
78c9d4c
fix lints
6543 Oct 21, 2024
962ea78
fix lints
6543 Oct 21, 2024
5056af5
fix webui lint issues
6543 Oct 21, 2024
b939a8d
fix webui lint issues
6543 Oct 21, 2024
7939780
limit scope
6543 Oct 21, 2024
0336851
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Oct 23, 2024
e4af5f9
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Oct 29, 2024
7588f54
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Oct 29, 2024
af58887
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 9, 2024
7f2bcf9
backend tests
6543 Nov 9, 2024
9606f7e
frontend test
6543 Nov 9, 2024
1a3872b
more test coverage
6543 Nov 9, 2024
3cf2120
fix lint
6543 Nov 9, 2024
59cc58b
make mssql work
6543 Nov 9, 2024
fca9bc1
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 9, 2024
dffb634
simple api path won
6543 Nov 9, 2024
3614fad
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 11, 2024
f0658d3
address TS review
6543 Nov 11, 2024
4b9f09c
sed -i 's/data-priority-url/data-update-priority-url/g'
6543 Nov 11, 2024
63ccf82
no db.WithTx
6543 Nov 11, 2024
ffff47d
toasty error messages
6543 Nov 11, 2024
4a30f74
update frontend tests
6543 Nov 11, 2024
5e7115c
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 25, 2024
08df559
fix lint err
6543 Nov 25, 2024
f229044
one diff less
6543 Nov 25, 2024
c1bda05
just struct
6543 Nov 25, 2024
056a9a7
fix tmpl
6543 Nov 25, 2024
ee28d2f
simplify
6543 Nov 26, 2024
6f3308b
working
6543 Nov 26, 2024
a06d500
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 26, 2024
1e543a1
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 26, 2024
7aa9db1
parse
6543 Nov 26, 2024
660ca0b
Merge branch 'main' into add-priority-to-ProtectedBranch
6543 Nov 27, 2024
02756d3
nit
6543 Nov 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions web_src/js/features/repo-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {minimatch} from 'minimatch';
import {createMonaco} from './codeeditor.ts';
import {onInputDebounce, queryElems, toggleElem} from '../utils/dom.ts';
import {POST} from '../modules/fetch.ts';
import {initRepoBranchesSettings} from './repo-settings-branches.ts';

const {appSubUrl, csrfToken} = window.config;

Expand Down Expand Up @@ -154,4 +155,5 @@ export function initRepoSettings() {
initRepoSettingsCollaboration();
initRepoSettingsSearchTeamBox();
initRepoSettingsGitHook();
initRepoBranchesSettings();
}
2 changes: 0 additions & 2 deletions web_src/js/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ import {initCommonIssueListQuickGoto} from './features/common-issue-list.ts';
import {initRepoContributors} from './features/contributors.ts';
import {initRepoCodeFrequency} from './features/code-frequency.ts';
import {initRepoRecentCommits} from './features/recent-commits.ts';
import {initRepoBranchesSettings} from './features/repo-settings-branches.ts';
import {initRepoDiffCommitBranchesAndTags} from './features/repo-diff-commit.ts';
import {initDirAuto} from './modules/dirauto.ts';
import {initRepositorySearch} from './features/repo-search.ts';
Expand Down Expand Up @@ -190,7 +189,6 @@ onDomReady(() => {
initRepoPullRequestReview,
initRepoRelease,
initRepoReleaseNew,
initRepoBranchesSettings,
initRepoTemplateSearch,
initRepoTopicBar,
initRepoWikiForm,
Expand Down
Loading