2
0
Commit Graph

728 Commits

Author SHA1 Message Date
GiteaBot
f9990c3cc8 [skip ci] Updated translations via Crowdin 2019-07-31 06:16:57 +00:00
GiteaBot
a42f557aff [skip ci] Updated translations via Crowdin 2019-07-29 15:43:57 +00:00
GiteaBot
10b04d781d [skip ci] Updated translations via Crowdin 2019-07-29 04:21:31 +00:00
6543
959f9ce52c [Branch View] add download button (#7604)
* add download-button info message

* add overflow-visible css for table colum class

* right colum is always there

* add download button for default branch

* add download button for all other branchs

* resize table colum so two buttons fit in

* code indent avter rebase

* show commit divergence corect
https://github.com/go-gitea/gitea/issues/7625

* changes because of merge master into ...

* optimize if statement for protected branches

* dont downloat a deleted branch - fix error 404
2019-07-29 10:27:05 +08:00
GiteaBot
fc0c4c10ab [skip ci] Updated translations via Crowdin 2019-07-26 11:23:16 +00:00
GiteaBot
cd2aebd06b [skip ci] Updated translations via Crowdin 2019-07-26 04:28:01 +00:00
6543
026f76441b [Branch View] icons to buttons (#7602)
* add restore-button info message

* branch deltete undo icon to button

* branch deltete icon to button
2019-07-26 01:01:25 +01:00
GiteaBot
40369f3eea [skip ci] Updated translations via Crowdin 2019-07-23 13:28:00 +00:00
GiteaBot
1b4bd746a9 [skip ci] Updated translations via Crowdin 2019-07-20 14:44:10 +00:00
GiteaBot
3c083d7236 [skip ci] Updated translations via Crowdin 2019-07-18 20:25:42 +00:00
GiteaBot
f3034447ad [skip ci] Updated translations via Crowdin 2019-07-18 08:57:48 +00:00
Richard Mahn
032a42ba68 Fixes #7474 - Handles all redirects for Web UI File CRUD (#7478)
* Fixes #7474 - Handles all redirects for Web UI File CRUD

* Fixes lint errors

* Typo fix

* Adds unit tests for a few helper functions

* Fixes per review

* Fix for new branch creation and to unit test

* Fixes the template used for errors on delete
2019-07-17 14:40:28 -04:00
GiteaBot
7b21df7f6d [skip ci] Updated translations via Crowdin 2019-07-09 06:30:32 +00:00
GiteaBot
ab8c6bbe7f [skip ci] Updated translations via Crowdin 2019-07-09 02:27:49 +00:00
GiteaBot
a3cffcc9f8 [skip ci] Updated translations via Crowdin 2019-07-08 15:49:00 +00:00
GiteaBot
b993c11c8a [skip ci] Updated translations via Crowdin 2019-07-08 10:13:47 +00:00
GiteaBot
b3e159e00e [skip ci] Updated translations via Crowdin 2019-07-08 08:23:19 +00:00
Cherrg
f198fb13e8 wiki - page revisions list (#7369)
fix #7

* add wiki page revision list

* mobile improvements

* css improvements for long usernames

* split renderWikiPage into 3 functions

Signed-off-by: Michael Gnehr <michael@gnehr.de>
2019-07-08 11:20:22 +03:00
GiteaBot
2f7fdb5d26 [skip ci] Updated translations via Crowdin 2019-07-08 07:34:55 +00:00
GiteaBot
768e2d6548 [skip ci] Updated translations via Crowdin 2019-07-08 02:17:03 +00:00
mrsdizzie
e44653d0fc Display original author and URL information when showing migrated issues/comments (#7352)
* Store original author info for migrated issues and comments

Keep original author name for displaying in Gitea interface and also
store original author user ID for potential future use in linking
accounts from old location.

* Add original_url for repo

Store the original URL for a migrated repo

Clean up migrations/tests

* fix migration

* fix golangci-lint

* make 'make revive' happy also

* Modify templates to use OriginalAuthor if set

Use the original author name in templates if it is set rather than the
user who migrated/currently owns the issues

* formatting fixes

* make generate-swagger

* Use default avatar for imported comments

* Remove no longer used IgnoreIssueAuthor option

* Add OriginalAuthorID to swagger also
2019-07-08 10:14:12 +08:00
GiteaBot
98e3277c04 [skip ci] Updated translations via Crowdin 2019-07-07 07:29:09 +00:00
GiteaBot
d24aebfeff [skip ci] Updated translations via Crowdin 2019-07-07 01:30:14 +00:00
GiteaBot
85da0f2e7e [skip ci] Updated translations via Crowdin 2019-07-06 23:30:08 +00:00
GiteaBot
83576f5ee6 [skip ci] Updated translations via Crowdin 2019-07-06 22:14:41 +00:00
GiteaBot
f7b1de89b1 [skip ci] Updated translations via Crowdin 2019-06-30 21:20:34 +00:00
GiteaBot
fe6cdad8d0 [skip ci] Updated translations via Crowdin 2019-06-30 11:57:58 +00:00
Lunny Xiao
fa3fd31811 Add commit statuses reports on pull request view (#6845)
* Add commit statuses reports on pull view

* Add some translations

* improve the UI

* fix fmt

* fix tests

* add a new test git repo to fix tests

* fix bug when headRepo or headBranch missing

* fix tests

* fix tests

* fix consistency

* fix tests

* fix tests

* change the test repo

* fix tests

* fix tests

* fix migration

* keep db size consistency

* fix translation

* change commit hash status table unique index

* remove unused table

* use char instead varchar

* make hashCommitStatusContext private

* split merge section with status check on pull view ui

* fix tests; fix arc-green theme on pull ui
2019-06-30 08:57:59 +01:00
GiteaBot
51b2806885 [skip ci] Updated translations via Crowdin 2019-06-29 20:52:06 +00:00
GiteaBot
eaa4bb3071 [skip ci] Updated translations via Crowdin 2019-06-29 15:22:08 +00:00
GiteaBot
38b6d69f0d [skip ci] Updated translations via Crowdin 2019-06-29 11:47:09 +00:00
GiteaBot
e4ba3c7dc0 [skip ci] Updated translations via Crowdin 2019-06-29 10:45:07 +00:00
GiteaBot
7e01204e78 [skip ci] Updated translations via Crowdin 2019-06-29 09:19:47 +00:00
Cherrg
1c3861728b Fix 7303 - remove unnessesary buttons on archived repos (#7326)
* archived repo - remove
- open/close button on issue list
- assigne person on issue list

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* archived repo - remove
- comment field on issue view
- lock/unlock issue conversation button from sidebar on issue view

Signed-off-by: Michael Gnehr <michael@gnehr.de>

* archived repo - add 'compare commits' button to pull request

+ remove new pull request button from compare view

as the route is still working, and there is no need to be hidden

Signed-off-by: Michael Gnehr <michael@gnehr.de>
2019-06-29 10:18:49 +01:00
GiteaBot
095ea5990b [skip ci] Updated translations via Crowdin 2019-06-28 21:18:16 +00:00
GiteaBot
4b773fabcb [skip ci] Updated translations via Crowdin 2019-06-17 17:36:28 +00:00
Lunny Xiao
1cf789ec13 show lfs config on admin panel (#7220) 2019-06-16 19:24:49 +01:00
GiteaBot
31148d3998 [skip ci] Updated translations via Crowdin 2019-06-10 01:06:14 +00:00
GiteaBot
ba752189d4 [skip ci] Updated translations via Crowdin 2019-06-07 20:32:49 +00:00
GiteaBot
d43eceeac4 [skip ci] Updated translations via Crowdin 2019-06-06 00:40:56 +00:00
GiteaBot
eb6e8c0d0b [skip ci] Updated translations via Crowdin 2019-06-05 16:26:53 +00:00
katherine
5e203eac59 minor fixes in en-US locale (#7130)
a few spelling fixes and one rewritten line

Signed-off-by: katherine <ageha@airen-no-jikken.icu>
2019-06-05 10:16:06 -04:00
GiteaBot
ee1a127c34 [skip ci] Updated translations via Crowdin 2019-06-03 15:13:51 +00:00
GiteaBot
aacb504a3b [skip ci] Updated translations via Crowdin 2019-06-02 21:46:35 +00:00
Mario Lubenka
2d2d41d8f1 Repository avatar fallback configuration (#7087)
* Only show repository avatar in list when one was selected

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds fallback configuration option for repository avatar

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Implements repository avatar fallback

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Adds admin task for deleting generated repository avatars

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Solve linting issues

Signed-off-by: Mario Lubenka <mario.lubenka@googlemail.com>

* Save avatar before updating database

* Linting

* Update models/repo.go

Co-Authored-By: zeripath <art27@cantab.net>
2019-06-02 14:40:12 +08:00
GiteaBot
40caf7c863 [skip ci] Updated translations via Crowdin 2019-05-30 16:49:44 +00:00
GiteaBot
a1b9bceac7 [skip ci] Updated translations via Crowdin 2019-05-30 02:25:01 +00:00
Sergey Dryabzhinsky
4aaa5c5acc Repository avatars (#6986)
* Repository avatars

- first variant of code from old work for gogs
- add migration 87
- add new option in app.ini
- add en-US locale string
- add new class in repository.less

* Add changed index.css, remove unused template name

* Update en-us doc about configuration options

* Add comments to new functions, add new option to docker app.ini

* Add comment for lint

* Remove variable, not needed

* Fix formatting

* Update swagger api template

* Check if avatar exists

* Fix avatar link/path checks

* Typo

* TEXT column can't have a default value

* Fixes:

- remove old avatar file on upload
- use ID in name of avatar file - users may upload same files
- add simple tests

* Fix fmt check

* Generate PNG instead of "static" GIF

* More informative comment

* Fix error message

* Update avatar upload checks:

- add file size check
- add new option
- update config docs
- add new string to en-us locale

* Fixes:

- use FileHEader field for check file size
- add new test - upload big image

* Fix formatting

* Update comments

* Update log message

* Removed wrong style - not needed

* Use Sync2 to migrate

* Update repos list view

- bigger avatar
- fix html blocks alignment

* A little adjust avatar size

* Use small icons for explore/repo list

* Use new cool avatar preparation func by @lafriks

* Missing changes for new function

* Remove unused import, move imports

* Missed new option definition in app.ini

Add file size check in user/profile avatar upload

* Use smaller field length for Avatar

* Use session to update repo DB data, update DeleteAvatar - use session too

* Fix err variable definition

* As suggested @lafriks - return as soon as possible, code readability
2019-05-29 22:22:26 -04:00
GiteaBot
e337470e0c [skip ci] Updated translations via Crowdin 2019-05-28 16:02:55 +00:00
GiteaBot
62d39b019e [skip ci] Updated translations via Crowdin 2019-05-28 09:44:31 +00:00