6543
73c90c26d4
Backport Locales [2020-01-14] ( #9773 )
...
* backport state of 2020-01-14
* Apply suggestions from code review
Co-Authored-By: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
John Olheiser
c579ad92b5
Fix SimpleMDE quote reply ( #9757 ) ( #9768 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
6543
602c5da953
Fix #9752 ( #9769 ) ( #9775 )
...
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
6543
1980e59ac2
Fix milestones page ( #9771 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
5 years ago
Lunny Xiao
28508792ba
Fix missing updated time on migrated issues and comments ( #9744 ) ( #9764 )
...
* Fix missing updated time on migrated issues and comments
* Fix testing and missing updated on migrating pullrequest
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
silverwind
3e23dad075
fix webpack polyfills ( #9735 ) ( #9738 )
...
webpack polyfills did not work because useBuiltIns: 'entry' expects a
explicit core-js import. Changed it to 'usage' which does not require
these explicit imports and polyfills based on browserslist.
As a result, the built index.js now went from 128kB to 192kB.
Ref: https://babeljs.io/docs/en/babel-preset-env#usebuiltins
5 years ago
zeripath
b13b9d3dbd
Move Errored PRs out of StatusChecking ( #9675 ) ( #9726 )
...
* Move Errored PRs out of StatusChecking (#9675 )
* Set Errored PRs out of StatusChecking
* Ensure that api status is correctly set too
* Update models/pull.go
Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Update services/pull/check.go
Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
5 years ago
zeripath
4072f28e60
Make hook status printing configurable with delay ( #9641 ) ( #9725 )
...
* Delay printing hook statuses until after 1 second
* Move to a 5s delay, wrapped writer structure and add config
* Update cmd/hook.go
* Apply suggestions from code review
* Update cmd/hook.go
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
6543
dbeef6bb02
[BugFix] [API] /repos/issues/search ( #9698 ) ( #9724 )
...
* fix
* fix options
* add TEST
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
silverwind
fec35440db
silence fomantic error regarding tabs ( #9713 ) ( #9718 )
...
Fomantic expects all tabs to have a target element with content as
defined by the data-tab attribute. All our usage of the tab module seems
to use <a> element tabs that link to new pages so these content elements
are never present and fomantic complains about that in the console with
an "Activated tab cannot be found" error. This silences that error.
5 years ago
zeripath
f8ea50cc7a
Remove unused lock ( #9710 )
5 years ago
zeripath
0e53a16cca
Missed q.lock.Unlock() will cause panic ( #9706 )
5 years ago
zeripath
7eaba6ba8a
Never allow an empty password to validate ( #9682 ) ( #9683 )
...
* Restore IsPasswordSet previous value
* Update models/user.go
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
guillep2k
ff16099c6d
Don't attempt to close issue if already closed ( #9699 )
5 years ago
John Olheiser
a516a7ba0f
Load milestone in API PR list ( #9671 ) ( #9700 )
5 years ago
silverwind
11bce6fd3d
eliminate horizontal scroll caused by footer ( #9674 )
...
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
techknowlogick
3fb906dc02
remove google font call ( #9668 ) ( #9681 )
5 years ago
zeripath
3a00a690c9
Prevent redirect to Host ( #9678 ) ( #9679 )
5 years ago
John Olheiser
a2b7cc1bb1
Fix nil reference in repo generation ( #9660 ) ( #9666 )
...
* Fix nil reference
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Tighten
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
John Olheiser
04a77b1f42
Add HTML URL to API Issues ( #9654 ) ( #9661 )
...
* Add HTML URL to API Issues
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lauris BH <lauris@nix.lv>
5 years ago
John Olheiser
f523372d07
Add PR review webhook to Telegram ( #9653 ) ( #9655 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
5 years ago
6543
e39c238ef4
fix #9648 ( #9652 )
5 years ago
6543
bb4476908d
Changelog for 1.11.0-RC1 ( #9636 )
...
* generated Changelog
* cormat, sort, fix
* teamwork :)
Co-Authored-By: techknowlogick <matti@mdranta.net>
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* next()
* Next()
* add last change
* as @jolheiser suggested
* Apply suggestions from code review
Co-Authored-By: techknowlogick <matti@mdranta.net>
* Apply suggestions from code review
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Update CHANGELOG.md
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* add bugfix + topic is plural
* rest
* Apply suggestions from code review
* Apply suggestions from code review
Co-Authored-By: techknowlogick <matti@mdranta.net>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
David Svantesson
c181070f9e
Repository teams - disable remove button when have access to all ( #9640 )
...
Co-authored-by: zeripath <art27@cantab.net>
5 years ago
Shashvat Kedia
1e9b3d4743
Fix #9530 : admin auth list make readable and admin auth delete bug fix ( #9628 )
5 years ago
Lunny Xiao
b9309e52f0
Move wiki related funtions from models to services/wiki ( #9355 )
...
* Move wiki related funtions from models to services/wiki
5 years ago
zeripath
e5d8e2d10c
Branches not at ref commit ID should not be listed as Merged ( #9614 )
...
Once a branch has been merged if the commit ID no longer equals that of
the pulls ref commit id don't offer to delete the branch on the pull screen
and don't list it as merged on branches.
Fix #9201
When looking at the pull page we should also get the commits from the refs/pulls/x/head
Fix #9158
5 years ago
6543
9406368633
Fix Issue Unsubscription ( #9634 )
5 years ago
GiteaBot
b6fa229dcf
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
0d515474b8
Remove stray printf ( #9631 )
5 years ago
GiteaBot
c88f0fed36
[skip ci] Updated translations via Crowdin
5 years ago
zeripath
62eb1b0f25
Graceful Queues: Issue Indexing and Tasks ( #9363 )
...
* Queue: Add generic graceful queues with settings
* Queue & Setting: Add worker pool implementation
* Queue: Add worker settings
* Queue: Make resizing worker pools
* Queue: Add name variable to queues
* Queue: Add monitoring
* Queue: Improve logging
* Issues: Gracefulise the issues indexer
Remove the old now unused specific queues
* Task: Move to generic queue and gracefulise
* Issues: Standardise the issues indexer queue settings
* Fix test
* Queue: Allow Redis to connect to unix
* Prevent deadlock during early shutdown of issue indexer
* Add MaxWorker settings to queues
* Merge branch 'master' into graceful-queues
* Update modules/indexer/issues/indexer.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Update modules/indexer/issues/indexer.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Update modules/queue/queue_channel.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Update modules/queue/queue_disk.go
* Update modules/queue/queue_disk_channel.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Rename queue.Description to queue.ManagedQueue as per @guillep2k
* Cancel pool workers when removed
* Remove dependency on queue from setting
* Update modules/queue/queue_redis.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
* As per @guillep2k add mutex locks on shutdown/terminate
* move unlocking out of setInternal
* Add warning if number of workers < 0
* Small changes as per @guillep2k
* No redis host specified not found
* Clean up documentation for queues
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
* Update modules/indexer/issues/indexer_test.go
* Ensure that persistable channel queue is added to manager
* Rename QUEUE_NAME REDIS_QUEUE_NAME
* Revert "Rename QUEUE_NAME REDIS_QUEUE_NAME"
This reverts commit 1f83b4fc9b
.
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
5 years ago
GiteaBot
f71e1c8e79
[skip ci] Updated translations via Crowdin
5 years ago
8ctopus
143f88d975
More extensive robots.txt docs ( #9566 )
5 years ago
GiteaBot
5749b26cdd
[skip ci] Updated translations via Crowdin
5 years ago
Timon Engelke
abc0f53539
Add a /user/login landing page option ( #9622 )
...
* Add a /user/login landing page option
* Add test case for login landing page
5 years ago
6543
bcac7cb934
fix swagger description of reaction API ( #9617 )
5 years ago
zeripath
2a1cf5bae9
Add some padding to the shadowed comment box ( #9612 )
...
* Add some padding to the shadowed comment box
* prevent the padding affecting the other comments
5 years ago
6543
133ae18b61
[BugFix] Hide public repos owned by private orgs ( #9609 )
...
* Restrict AllPublic to actually public repos.
* Add new parameter to add in AllLimited Repos
5 years ago
6543
7e4f490482
[Docs] introduce "make help" ( #9604 )
...
* introduce "make help"
* fix + add more routienes
* Update Makefile
* add make vet
Co-authored-by: techknowlogick <matti@mdranta.net>
5 years ago
GiteaBot
444c3a1184
[skip ci] Updated translations via Crowdin
5 years ago
6543
a5a79f702d
update gitea.com/macaron/macaron to 1.4.0 ( #9608 )
5 years ago
John Olheiser
4f54a4628a
!important makes me sad ( #9607 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
John Olheiser
08424648ae
Fix create bugs ( #9606 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
David Svantesson
03d59bcd1d
Fix access issues on milestone and issue overview pages. ( #9603 )
...
* Fix access issues on milestone and issue overview pages.
* Fix filter algorithm
5 years ago
Antoine GIRARD
8b24073713
Only serve attachments when linked to issue/release and if accessible by user ( #9340 )
...
* test: add current attachement responses
* refactor: check if attachement is linked and accessible by user
* chore: clean TODO
* fix: typo attachement -> attachment
* revert un-needed go.sum change
* refactor: move models logic to models
* fix TestCreateIssueAttachment which was wrongly successful
* fix unit tests with unittype added
* fix unit tests with changes
* use a valid uuid format for pgsql int. test
* test: add unit test TestLinkedRepository
* refactor: allow uploader to access unlinked attachement
* add missing blank line
* refactor: move to a separate function repo.GetAttachment
* typo
* test: remove err test return
* refactor: use repo perm for access checking generally + 404 for all reject
5 years ago
GiteaBot
6a5a2f493a
[skip ci] Updated translations via Crowdin
5 years ago
John Olheiser
fb3a6aba7d
Only show sender if it makes sense ( #9601 )
...
Signed-off-by: jolheiser <john.olheiser@gmail.com>
5 years ago
GiteaBot
07439d8059
[skip ci] Updated translations via Crowdin
5 years ago
Lauris BH
2b8b0f66ed
Add translatable Powered by Gitea text in footer ( #9600 )
5 years ago