summaryrefslogtreecommitdiffstats
path: root/templates/org
Commit message (Collapse)AuthorAgeFilesLines
* Only show part of members on orgnization dashboard and add paging for ↵Lunny Xiao2019-12-061-0/+2
| | | | | | | | | | orgnization members page (#9092) * Only show part of members on orgnization dashboard and add paging for orgnization members page * fix test * fix typo
* Team permission to create repository in organization (#8312)David Svantesson2019-11-203-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add team permission setting to allow creating repo in organization. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add test case for creating repo when have team creation access. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * build error: should omit comparison to bool constant Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add comment on exported functions * Fix fixture consistency, fix existing unit tests * Fix boolean comparison in xorm query. * addCollaborator and changeCollaborationAccessMode separate steps More clear to use different if-cases. * Create and commit xorm session * fix * Add information of create repo permission in team sidebar * Add migration step * Clarify that repository creator will be administrator. * Fix some things after merge * Fix language text that use html * migrations file * Create repository permission -> Create repositories * fix merge * fix review comments
* Allow to add and remove all repositories to/from team. (#8867)David Svantesson2019-11-091-11/+42
| | | | | | | | | | | | | | | | * Allow to add and remove all repositories to team. * Change style, buttons on same row. * Apply suggestions from code review Grammar Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> * Move set num repos to lower function. * Make general language sentences
* Add team option to grant rights for all organization repositories (#8688)David Svantesson2019-11-063-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add field IsAllRepositories to team * Add AllRepositories to team UI * Manage team with access to all repositories * Add field IsAllRepositories to team API * put backticks around table/column names * rename IsAllRepositories to IncludesAllRepositories * do not reload slice if already loaded * add repo to teams with access to all repositories when changing repo owner * improve tests for teams with access to all repositories * Merge branch 'master' * Change code for adding all repositories Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * fmt after merge * Change code in API EditTeam similar to EditTeamPost web interface Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Clarify that all repositories will be added Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * All repositories option under Permissions headline * New setting group 'Repository access' * Move check IncludeAllRepositories to removeRepository. * Revert "Move check IncludeAllRepositories to removeRepository." and add comment instead. This reverts commit 753b7d205be260b8be465b5291a02975a81f3093. * Clarify help text what options do.
* [assets] configurable URL for static resources (#7911)Jakob Ackermann2019-10-221-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * static url * add cors support for static resources * [assets] work on the migration to configurable url for assets Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [misc] fix whitespace Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] fix the loading of the manifest.json It is generated dynamically, and as such can not be served by the cdn. Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Revert "add cors support for static resources" This reverts commit 42f964fd181dbb8b139808b9be623470d4f0e40f Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] add the STATIC_URL_PREFIX option Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [docs] reverse-proxy: nginx: add two setups for STATIC_URL_PREFIX Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * [assets] migrate the url of a new asset to the static url prefix REF: f2a3abc683ad4b2177b7c7c6160a2c0b4316120a Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Fix errors in create org UI regarding team access permission. (#8506)David Svantesson2019-10-141-2/+2
|
* Fix repo_admin_change_team_access always checked in org settings (#8319)David Svantesson2019-09-301-1/+1
| | | Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
* Add teams to repo on collaboration page. (#8045)David Svantesson2019-09-232-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add teams to repo on collaboration page. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add option for repository admins to change teams access to repo. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add comment for functions Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Make RepoAdminChangeTeamAccess default false in xorm and make it default checked in template instead. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Make proper language strings and fix error redirection. * Add unit tests for adding and deleting team from repository. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Add database migration Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix redirect Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Fix locale string mismatch. Signed-off-by: David Svantesson <davidsvantesson@gmail.com> * Move team access mode text logic to template. * Move collaborator access mode text logic to template.
* org/members: display 2FA members states + optimize sql requests (#7621)Antoine GIRARD2019-08-021-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * org/members: display 2FA state * fix comment typo * lay down UserList bases * add basic test for previous methods * add comment for UserList type * add valid two-fa account * test new UserList methods * optimize MembersIsPublic by side loading info on GetMembers + fix integrations tests * respect fmt rules * use map for data * Optimize GetTwoFaStatus * rewrite by using existing sub func * Optimize IsUserOrgOwner * remove un-used code * tests: cover empty org + fix import order * tests: add ErrTeamNotExist path * tests: fix wrong expected result
* create class for inlie positioned lists (#7393)Cherrg2019-07-121-17/+13
| | | | | | | replace org create alignment hack fix #6464 Signed-off-by: Michael Gnehr <michael@gnehr.de>
* fix new team 500 (#6749)Lunny Xiao2019-04-251-1/+1
| | | | | | | | * fix new team 500 * Update models/unit.go Co-Authored-By: lunny <xiaolunwen@gmail.com>
* Add support for MS Teams webhooks (#6632)Daniel Grier2019-04-191-0/+3
|
* Telegram webhook (#4227)techknowlogick2019-04-181-0/+3
|
* Hacky fix for alignment of the create-organization dialog (#6455)zeripath2019-03-281-18/+17
| | | | | | * Hacky fix for alignment of the create-organization dialog * Mangle the post-scripted red-asterisk back in to follow the Visibility Header
* Allow to set organization visibility (public, internal, private) (#1763)Rémy Boulanouar2019-02-182-0/+45
|
* Feature - #3031 - search for org repos (#5986)Richard Mahn2019-02-081-0/+1
|
* Move input fields to add members to a team and repos to a team (#5853)sebastian-sauer2019-01-252-34/+34
| | | | | | Move input fields to the top so no scrolling is needed to add new members / repos to a team. Signed-off-by: Sebastian Sauer <sauer.sebastian@gmail.com>
* Improve team members and repositories settings UI (#5457)Lunny Xiao2018-12-094-10/+15
| | | | | | | | | | | | * improve team members and repositories settings UI * use tab on team pages * add default description on team members and repos * add blank on numbers and texts * improve translation
* Add `noreferrer` to rel='noopener` for <a> tags (#4328)cezar972018-07-031-1/+1
|
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-1/+1
|
* fix bugs caused by #3929 (#3999)Lunny Xiao2018-05-232-7/+7
|
* Don't warn users about *every* dirty form (#3707)Gerben2018-03-231-1/+1
| | | | | | | | | | | The choice regarding which forms should or should not trigger a warning is subjective. I tried to be consistent and not warn about forms that: - run an action, rather than edit data: search, send an email. - delete data: a warning about losing data would be confusing Note that forms on sign-in pages were already ignored (using a selector, rather than an explicit class on the form element). Fixes #3698.
* Add separate string for the 'Create Team' button. (#3647)bugreport02018-03-091-1/+1
| | | | | | * Add separate string for the 'Create Team' button. * Add separate string for the 'Create Team' button.
* Fix organization profile on mobile devices (#3332)Morgan Bazalgette2018-01-101-17/+14
|
* Fix avatar URLs (#3069)Ethan Koenig2017-12-033-3/+3
| | | | | | * Fix avatar URLs * import order
* Add dingtalk webhook (#2777)Lunny Xiao2017-11-211-0/+3
| | | | | | | | | | | | * add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
* Link members and repositories count to each page on org home. (#2787)harry2017-11-041-1/+4
|
* fix discord hook bug (#2778)Lunny Xiao2017-10-251-0/+2
|
* Remove direct user adding to organization members (#2641)Lauris BH2017-10-153-33/+0
|
* Use Semantic UI's Search component for user and repo search (#2636)harry2017-10-033-6/+3
| | | | | | | | | | | | | | | | * Use search component on org invitation user input. * Search component for collaboration and members. * Search component for repo search. * minCharacters for search input * Display full_name for user search. * Fixed missing uid query parameter for repo search. * Removed unused comment.
* fix orgnization webhooks (#2422)Lunny Xiao2017-08-301-0/+1
| | | | | | * fix org webhooks * remove trace code
* EnableUnit() -> UnitEnabled() (#2242)Ethan Koenig2017-08-021-1/+1
|
* Add task to generate images from SVG and change to new logo (#2194)Lauris BH2017-07-281-1/+1
| | | | | | * Add makefile task to generate images from SVG and change to new logo * use absolute path on generate-images
* Remove unit types commits and settings (#2161)Lauris BH2017-07-171-2/+2
| | | | | | | | | | * Remove unit types commits and settings * Can not limit units in administrator teams * Limit changing units only to teams with read and write access mode * Small code optimization
* Fix org hooks UI (#2072)Morlinest2017-06-281-1/+3
|
* Add Gitea Webhook (#1755)Rémy Boulanouar2017-05-291-1/+4
| | | | | | | | * Replace Gogs by Gitea * Fix missing changes * Create Gitea webhook and put Gogs webhook apart.
* Add units to team (#947)Lunny Xiao2017-05-181-0/+15
| | | | | | | | | | | | | | | | | | * add units to team * fix lint * finish team setting backend * finished permission controll on routes * fix import blank line * add unit check on ssh/http pull and push and fix test failed * fix fixtures data * remove unused code
* fix: remove `str2html` from org full name (#1360)Bo-Yi Wu2017-04-055-5/+5
| | | | | | * fix: remove str2html for security issue. * fix: update
* fix leave team 404 (#1154)Lunny Xiao2017-03-091-1/+1
|
* fix: Add str2html on DisplayName of Org. (#1091)Bo-Yi Wu2017-03-015-5/+5
|
* Added rel="noopener" to target="_blank" hrefs (#327)Bwko2016-12-021-1/+1
| | | | | | * Added rel="noopener" to target="_blank" hrefs * Replaced gogs.io/docs with docs.gitea.io
* Merge all pagination-templates into 'base/paginate'Kim "BKC" Carlbäcker2016-11-071-1/+1
| | | | to reduce code-duplicity
* #3348 always use relative avatar link in the templateUnknwon2016-08-055-6/+6
|
* #1384 add pagination for repositoriesUnknwon2016-07-241-0/+1
|
* Refactor User.Id to User.IDUnknwon2016-07-246-18/+18
|
* #3066 fix create organization ignores full name propertyUnknwon2016-07-231-1/+1
|
* templates/org/home: minor UI fixUnknwon2016-07-161-2/+2
|
* Upgrade octicon to 4.3.0Unknwon2016-07-162-4/+4
|
* Display org member's full name in link title.Tamás Molnár2016-03-161-1/+1
|
* Added: Ability to delete org avatar.Tamás Molnár2016-03-061-0/+1
|