-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Manage User Badges in the UI #31262
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
Open
HenriquerPimentel
wants to merge
28
commits into
go-gitea:main
Choose a base branch
from
HenriquerPimentel:Badge
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Manage User Badges in the UI #31262
Changes from 5 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
8b86c31
Implemented Badge Management in administration panel (#29798)
HenriquerPimentel f68e44d
Implemented User Badge Management Interface (#29798)
HenriquerPimentel d681313
Fix linting recommendations
HenriquerPimentel 10463ec
Merge branch 'main' into Badge
techknowlogick 52bc49d
fix lints
techknowlogick 401d257
Merge branch 'main' into Badge
techknowlogick d55e25f
update join
techknowlogick d9efbf3
close session immediately
techknowlogick ae9c0a6
Merge branch 'main' into Badge
techknowlogick 9234ef5
Merge branch 'main' into Badge
techknowlogick f601501
Update per feedback
techknowlogick 789b73b
update per feedback
techknowlogick f5c6a31
fix lint
techknowlogick 4890a15
Merge branch 'main' into Badge
techknowlogick 52957f4
Merge branch 'main' into Badge
techknowlogick 6e7fc93
Merge remote-tracking branch 'upstream/main' into Badge
techknowlogick 50f7ce1
update per feedback
techknowlogick ebc487b
User badge model fixes for RemoveUserBadges and AddUserBadges
2a69304
use the link-action approach for deletion
techknowlogick 3d01354
Merge remote-tracking branch 'upstream/main' into Badge
techknowlogick ab9e0bd
fix index & add tests
techknowlogick 07819aa
Merge branch 'main' into Badge
techknowlogick 2175864
don't use id with "like"
techknowlogick 4f8f5a2
Merge branch 'main' into Badge
techknowlogick 5eb89f4
use db.withtx as per feedback
techknowlogick 7b29be1
Merge remote-tracking branch 'upstream/main' into Badge
techknowlogick d4b6047
consolidate badge explore logic
techknowlogick 9a80816
fix lint
techknowlogick File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -169,6 +169,7 @@ exact = Exact | |
exact_tooltip = Include only results that match the exact search term | ||
repo_kind = Search repos... | ||
user_kind = Search users... | ||
badge_kind = Search badges... | ||
org_kind = Search orgs... | ||
team_kind = Search teams... | ||
code_kind = Search code... | ||
|
@@ -547,6 +548,7 @@ PayloadUrl = Payload URL | |
TeamName = Team name | ||
AuthName = Authorization name | ||
AdminEmail = Admin email | ||
ImageURL = Image URL | ||
|
||
NewBranchName = New branch name | ||
CommitSummary = Commit summary | ||
|
@@ -576,10 +578,13 @@ unknown_error = Unknown error: | |
captcha_incorrect = The CAPTCHA code is incorrect. | ||
password_not_match = The passwords do not match. | ||
lang_select_error = Select a language from the list. | ||
invalid_image_url_error = `Please provide a valid image URL.` | ||
invalid_slug_error = `Please provide a valid slug.` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Crowdin doesn't work with back-quote |
||
|
||
username_been_taken = The username is already taken. | ||
username_change_not_local_user = Non-local users are not allowed to change their username. | ||
username_has_not_been_changed = Username has not been changed | ||
slug_been_taken = The slug is already taken. | ||
repo_name_been_taken = The repository name is already used. | ||
repository_force_private = Force Private is enabled: private repositories cannot be made public. | ||
repository_files_already_exist = Files already exist for this repository. Contact the system administrator. | ||
|
@@ -2834,6 +2839,7 @@ dashboard = Dashboard | |
self_check = Self Check | ||
identity_access = Identity & Access | ||
users = User Accounts | ||
badges = Badges | ||
organizations = Organizations | ||
assets = Code Assets | ||
repositories = Repositories | ||
|
@@ -3012,6 +3018,30 @@ emails.delete_desc = Are you sure you want to delete this email address? | |
emails.deletion_success = The email address has been deleted. | ||
emails.delete_primary_email_error = You can not delete the primary email. | ||
|
||
badges.badges_manage_panel = Badge Management | ||
badges.details = Badge Details | ||
badges.new_badge = Create New Badge | ||
badges.slug = Slug | ||
badges.description = Description | ||
badges.image_url = Image URL | ||
badges.slug.must_fill = Slug must be filled. | ||
badges.new_success = The badge "%s" has been created. | ||
badges.update_success = The badge has been updated. | ||
badges.deletion_success = The badge has been deleted. | ||
badges.edit_badge = Edit Badge | ||
badges.update_badge = Update Badge | ||
badges.delete_badge = Delete Badge | ||
badges.delete_badge_desc = Are you sure you want to permanently delete this badge? | ||
badges.users_with_badge = Users with Badge (%s) | ||
badges.add_user = Add User | ||
badges.remove_user = Remove User | ||
badges.delete_user_desc = Are you sure you want to remove this badge from the user? | ||
badges.not_found = Badge not found! | ||
badges.user_add_success = User has been added to the badge. | ||
badges.user_remove_success = User has been removed from the badge. | ||
badges.manage_users = Manage Users | ||
|
||
|
||
orgs.org_manage_panel = Organization Management | ||
orgs.name = Name | ||
orgs.teams = Teams | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.