aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove VERSIONS file (#10070)silverwind2020-02-011-63/+0
| | | | | It serves no clear purpose and is not used anywhere to my knowledge. Also, it's name to version mapping doesn't work with bundling.
* Accept punctuation after simple+cross repository issue references (#10091)guillep2k2020-02-012-13/+97
| | | | | | | | | | * Support references ending in , . and ; * Accept :;, in simple refs; fix 2+ consecutive refs * Include cross-repository references * Add ?!, fix spacing problem
* Add button to revert SimpleMDE to plain textarea (#10099)zeripath2020-02-011-3/+30
|
* enable babel-loader cache (#10083)silverwind2020-02-012-1/+9
| | | | | | | this speeds up repeated webpack builds by around 20%. It will use the default cache directory `node_modules/.cache/babel-loader`. Also added cache invalidation to workaround https://github.com/babel/babel-loader/issues/690
* Fix branch page pull request title and link error (#10092)Lunny Xiao2020-02-012-6/+6
| | | | | | * Fix branch page pull request title and link error * Fix ui
* Fix IsErrPullClosed (#10093)Lunny Xiao2020-02-011-2/+2
|
* [BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo ↵65432020-01-313-29/+53
| | | | | | | | | | | | | | exist (#10029) * only try to get HeadBranch if HeadRepo exist * impruve * no nil error * add TEST * correct error msg
* API endpoint for repo transfer (#9947)65432020-01-319-10/+265
| | | | | | | | | | * squash * optimize * fail before make any changes * fix-header
* Remove migration support from versions earlier than 1.6.0 (#10026)guillep2k2020-01-3163-3443/+53
| | | | | | | | | | | | | | * Remove migration support from versions earlier than 1.6.0 * Remove unused functions * Update gogs upgrade instructions * Improve "latest" link as per @jolheiser Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Update topics repo count when deleting repository (#10051)Lauris BH2020-01-314-3/+54
| | | | | | | | * Update topics repo count when deleting repository * Add migration to fix incorrect data * Optimize to use single update to recalculate values
* update (#10079)65432020-01-311-14/+20
|
* Remove unused config on UI (#10078)John Olheiser2020-01-311-2/+0
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-301-0/+4
|
* Fix leveldb test race (#10054)Lunny Xiao2020-01-301-0/+18
| | | | | Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* fix apple-touch-icon, regenerate images (#10065)silverwind2020-01-306-3/+3
| | | | | | | | | | | | | * fix apple-touch-icon, regenerate images Fixed semi-transparent pixels of apple-touch-icon.png. I had to manually exclude public/img/loading.png from the commit because it's an APNG and one of the tools destroys the animation. * exclude loading.png Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Implement basic app.ini and path checks to doctor cmd (#10064)guillep2k2020-01-303-15/+122
| | | | | | | | | | | | | | | | | | | | | | | | | * Add doctor check of app.ini paths * Make /custom dir not mandatory * Fix message and improve interface * Update cmd/doctor.go Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com> * Apaise lint * Isn't the linter a sweet? (1) * Isn't the linter a sweet? (2) * Isn't the linter a sweet?? (3) * Restart CI Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com> Co-authored-by: zeripath <art27@cantab.net>
* move jquery.are-you-sure to npm/webpack (#10063)silverwind2020-01-299-216/+11
|
* [UI] Show pull icon on pull (#10061)65432020-01-292-1/+3
| | | | | * make fmt * show pull icon on pull
* Add RACE_ENABLED=1 envs for make test* (#10055)Lunny Xiao2020-01-291-13/+17
|
* Movde dependents on macaron from modules/setting (#10050)Lunny Xiao2020-01-296-35/+74
| | | | Co-authored-by: Lauris BH <lauris@nix.lv>
* Fix milestone API state parameter unhandled (#10049)Lunny Xiao2020-01-295-6/+79
| | | | | | * Fix milestone API state parameter unhandled * Fix test
* Refactor api repo dir (#10048)65432020-01-293-234/+264
| | | | | | | | * mv migrate * mv mirror Co-authored-by: zeripath <art27@cantab.net>
* Update documentation for the go module era (#9751)zeripath2020-01-284-27/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update documentation for the go module era use go env instead of $GOPATH Update instructions to just use git clone Slight update to readme Signed-off-by: Andrew Thornton <art27@cantab.net> * fixup * Apply suggestions from code review Co-Authored-By: Antoine GIRARD <sapk@users.noreply.github.com> Co-Authored-By: Bagas Sanjaya <bagasdotme@gmail.com> * Apply suggestions from code review * Fix GOPATH settings Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com> Co-authored-by: Bagas Sanjaya <bagasdotme@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* add touch-icon with background (#10022)NiTRoeSE2020-01-283-1/+3
| | | | | | | | | | | | * add touch-icon with background ...to prevent ugly glitch while minimize app to homescreen * add / generate apple-touch-icon * run make command Co-authored-by: techknowlogick <techknowlogick@gitea.io>
* Queue: Make WorkerPools and Queues flushable (#10001)zeripath2020-01-2827-327/+1030
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Make WorkerPools and Queues flushable Adds Flush methods to Queues and the WorkerPool Further abstracts the WorkerPool Adds a final step to Flush the queues in the defer from PrintCurrentTest Fixes an issue with Settings inheritance in queues Signed-off-by: Andrew Thornton <art27@cantab.net> * Change to for loop * Add IsEmpty and begin just making the queues composed WorkerPools * subsume workerpool into the queues and create a flushable interface * Add manager command * Move flushall to queue.Manager and add to testlogger * As per @guillep2k * as per @guillep2k * Just make queues all implement flushable and clean up the wrapped queue flushes * cope with no timeout Co-authored-by: Lauris BH <lauris@nix.lv>
* fix gitgraph commit hashes in dark theme (#10046)silverwind2020-01-283-6/+2
| | | | | | because the CSS was lazy-loaded the rules in arc-green did not win. included the css file in the main bundle to fix. the black dots can not be fixed via CSS because they are drawn in a `<canvas>` element unfortunately.
* move highlight.js to npm/webpack (#10011)silverwind2020-01-2816-254/+53
| | | | | | | | | | - introduced window.config to help with js-based lazy-loading - adjusted webpack chunk naming to avoid 'vendors~name.js' that webpack defaults to for vendor chunks. - added theme class to html and prefixed all selectors. this is neccesary so that the theme styles win over the lazy-loaded ones. Co-authored-by: zeripath <art27@cantab.net>
* Minor typo fix (#10043)Andy Harrison2020-01-282-2/+2
|
* More expansions in template repositories (#10021)John Olheiser2020-01-2818-80/+1814
| | | | | | | | * Super expansion * Explain which features are in 1.11 vs 1.12 * Move imports Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Ensure that feeds are appropriately restricted (#10018)zeripath2020-01-282-5/+6
| | | | | | | | | | * Always limit results by what is accessible to the user * Change signature of AccessibleRepoIDsQuery * Ensure that user with ID <= 0 is handled * Update models/repo_list.go
* PRs: Move to use a temporary repo for pushing new prs (#10009)zeripath2020-01-281-14/+30
| | | | * Move to use a temporary repo for pushing new prs
* Fix wiki raw view on sub path (#10002)Lunny Xiao2020-01-286-19/+12
| | | | | | | | * Fix wiki raw view on sub path * Add test for subpath wiki raw file * Fix bug
* Repo name added to automatically generated commit message when mergin… (#9997)Shashvat Kedia2020-01-281-1/+6
| | | | | | | | | * Repo name added to automatically generated commit message when merging pull request * As per @lunny Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net>
* Some refactor on git diff and ignore getting commit information failed on ↵Lunny Xiao2020-01-287-321/+356
| | | | | | | | | | | | | | migrating pull request review comments (#9996) * Some refactor on git diff and ignore getting commit information failed on migrating pull request review comments * fix test * fix lint * Change error log to warn
* move CSS build to webpack (#9983)silverwind2020-01-2810-425/+88
| | | | | | | | | | | | | | - added new 'make webpack' target - deprecated 'make js' and 'make css' - extend webpack config to load the less files - updated docs I had to rename the source file of `arc-green.less` to avoid generating a useless JS entrypoint via webpack-fix-style-only-entries which would not work with different source/destination filenames. I hear that there should be cleaner solutions possible once we upgrade to Webpack 5. Co-authored-by: zeripath <art27@cantab.net>
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-271-1/+1
|
* Style blockquote for default issue mail template (#10024)mrsdizzie2020-01-271-0/+1
| | | | Style blockquotes as one might expect for html email to disinguish them from other text
* [skip ci] Updated translations via CrowdinGiteaBot2020-01-271-9/+9
|
* trim whitespace of MilestoneName at creation/rename (#10017)65432020-01-272-2/+7
|
* On merge of already closed PR redirect back to the pulls page (#10010)zeripath2020-01-271-4/+18
| | | | | | | | | * On merge of already closed PR redirect back to the pulls page * More redirects * As per @6543 Co-Authored-By: 6543 <6543@obermui.de>
* add apple-touch-icon (#10006)silverwind2020-01-271-1/+2
| | | | | | | fixes: https://github.com/go-gitea/gitea/issues/10003 Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Generate Bindata iff TAGS="bindata" and not up-to-date (#10004)zeripath2020-01-2711-76/+113
| | | | | | | | | | | | | | | | | | | | | | * Only generate bindata if necessary * Only generate bindata if they are not up-to-date * generate a hash of the fileinfo and use that to keep up-to-date * Newer test is redundant * handle missing bindata and clean * Only update hash after successful write * switch to sha1 hash * Apply suggestions from code review Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com> Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
* Sign: Handle ErrTwoFactorNotEnrolled correctly (#10008)zeripath2020-01-262-4/+4
|
* Enforce tests do not change files in source tree (#9625)zeripath2020-01-262-1/+13
|
* enable fomantic api module (#9994)silverwind2020-01-261-0/+1
| | | Fixes: #9992
* add explicit dimensions to navbar avatar (#9986)silverwind2020-01-262-4/+4
| | | | | | | | | | | * add explicit dimensions to navbar avatar this prevents a temporary layout change when navigating between pages with cache disabled. * also add dimensions on frontpage Co-authored-by: Lauris BH <lauris@nix.lv>
* avoid useless fomantic rebuilds (#9999)silverwind2020-01-261-0/+3
| | | | | | the `fomantic` target for some reason does sometimes not update the timestamp on the directory, leading to useless rebuild. Manually update the timestamp at the end of the build to avoid this and also added the same to js/css targets.
* fix commit view JS features, reimplement folding (#9968)silverwind2020-01-265-13/+36
| | | | | | | | | | | | | | | * fix commit view JS features, reimplement folding File content folding was not working so I reimplemented it in a saner way. Then I noticed the issue was actually because of missing JS libraries (seen on the console of every commit with error 'SimpleMDE is not defined'). Fixed the libraries. I think the reimplementation is worth to keep. * add .closest polyfill Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Fix wrong paging on org members (#9990)Lunny Xiao2020-01-262-2/+2
|
* Change font to Roboto to support more charsets (#9803)Lauris BH2020-01-2533-1848/+50
|