]>
source.dussan.org Git - gitea.git/log
6543 [Sun, 9 Feb 2020 14:33:03 +0000 (15:33 +0100)]
[API] Fix inconsistent label color format (#10129)
* update and use labelColorPattern
* add TestCases
* fix lint
* # optional for templates
* fix typo
* some more
* fix lint of **master**
mavenbline [Sat, 8 Feb 2020 14:59:40 +0000 (17:59 +0300)]
Fix invalid repo urls after change username (#10150)
* Fix invalid repo urls after change username
* Update user.go
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
jaqra [Sat, 8 Feb 2020 11:48:17 +0000 (14:48 +0300)]
Allow emoji on popup label (#10166)
* allow emoji on popup label
* Make emojify work
* Remove unnecessary class
Co-Authored-By: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
Antoine GIRARD [Sat, 8 Feb 2020 00:14:43 +0000 (01:14 +0100)]
Improve make PR (force build and help message) (#10178)
* Force build of assets
* Add make pr to make help
* apply @jolheiser suggestion
Co-Authored-By: John Olheiser <42128690+jolheiser@users.noreply.github.com>
* Run clean-all before make pr
Co-authored-by: John Olheiser <42128690+jolheiser@users.noreply.github.com>
silverwind [Fri, 7 Feb 2020 23:03:42 +0000 (00:03 +0100)]
move clipboard.js to npm/webpack (#10183)
- created lazy-loaded webpack chunk for clipboard.js
- upgraded clipboard.js from 1.5.9 to 2.0.4
- parallelize initialization of all lazy-loaded features
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Lars Lehtonen [Fri, 7 Feb 2020 20:35:30 +0000 (12:35 -0800)]
modules/log: remove noop written variables (#10182)
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
6543 [Fri, 7 Feb 2020 19:19:50 +0000 (20:19 +0100)]
Fix code-expansion arc-green theme bug (#10180)
* fix code-expansion theme bug
* working solution without important
* no new color
* the midle
GiteaBot [Fri, 7 Feb 2020 17:11:26 +0000 (17:11 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Fri, 7 Feb 2020 17:09:30 +0000 (18:09 +0100)]
Reorganize frontend files and tooling (#10168)
- move "vendor" files to js/vendor and less/vendor
- move swagger to js/standalone (meant for standalone pages)
- move gitgraph to features and streamline its loading
- add linting configs to webpack dependencies in make
- set ignored files for eslint/stylelint directly in their configs
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
James Lakin [Fri, 7 Feb 2020 16:38:18 +0000 (16:38 +0000)]
Tweak locale to respect singular conflicting file message in P… (#10177)
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
John Olheiser [Fri, 7 Feb 2020 10:38:50 +0000 (04:38 -0600)]
Fix commit view (#10169)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
zeripath [Fri, 7 Feb 2020 09:08:09 +0000 (09:08 +0000)]
Prevent double waitgroup decrement (#10170)
* Prevent double waitgroup decrement
John Olheiser [Fri, 7 Feb 2020 05:46:09 +0000 (23:46 -0600)]
Fix topics dropdown (#10167)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Antoine GIRARD [Thu, 6 Feb 2020 21:40:27 +0000 (22:40 +0100)]
make: improve make pr (#10165)
guillep2k [Thu, 6 Feb 2020 18:35:53 +0000 (15:35 -0300)]
Allow emoji on review head comments (#10159)
Co-authored-by: techknowlogick <matti@mdranta.net>
guillep2k [Thu, 6 Feb 2020 18:12:15 +0000 (15:12 -0300)]
Fix issue/pull link (#10158)
silverwind [Thu, 6 Feb 2020 02:22:21 +0000 (03:22 +0100)]
update JS dependencies (#10155)
result of `make npm-update`. no real notable changes, the breaking
change in styleline is Node.js 10 which we already require.
GiteaBot [Wed, 5 Feb 2020 09:48:57 +0000 (09:48 +0000)]
[skip ci] Updated translations via Crowdin
John Olheiser [Wed, 5 Feb 2020 09:40:35 +0000 (03:40 -0600)]
Fix push-create SSH bugs (#10145)
* Attempt to fix push-create SSH bugs
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix binding
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Invalid ctx
Signed-off-by: jolheiser <john.olheiser@gmail.com>
GiteaBot [Tue, 4 Feb 2020 14:28:42 +0000 (14:28 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Tue, 4 Feb 2020 14:27:18 +0000 (15:27 +0100)]
Ensure DeleteUser is not allowed to Delete Orgs and visa versa (#10134)
* add check to DeleteUser
* add check to DeleteOrganization
* add Test
* remove redundancy (deleteOrg is only used in DeleteOrganization)
* Update models/org.go
Co-authored-by: zeripath <art27@cantab.net>
6543 [Tue, 4 Feb 2020 05:05:17 +0000 (06:05 +0100)]
[API] expose RepoOwner on Issue responce (#10126)
* add RepoOwner on issue api responce
* CI.restart()
James Lakin [Mon, 3 Feb 2020 22:14:38 +0000 (22:14 +0000)]
Show if a PR has conflicting files on the PR lists (#10130)
Co-authored-by: Lauris BH <lauris@nix.lv>
Lauris BH [Mon, 3 Feb 2020 19:50:37 +0000 (21:50 +0200)]
Show download count info in release list (#10124)
* Show download count info in release list
* Use go-humanize
6543 [Mon, 3 Feb 2020 16:46:33 +0000 (17:46 +0100)]
Prevent DeleteUser API abuse (#10125)
* fix & co
* word suggestions from @jolheiser
GiteaBot [Mon, 3 Feb 2020 08:48:26 +0000 (08:48 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Mon, 3 Feb 2020 08:47:04 +0000 (16:47 +0800)]
Move PushUpdateAddDeleteTags to repository module from models (#10106)
* Move PushUpdateAddDeleteTags to repository module from models
* Fix deadlock on sqlite
6543 [Mon, 3 Feb 2020 02:21:50 +0000 (03:21 +0100)]
working part of #9998 (#10114)
Co-authored-by: zeripath <art27@cantab.net>
zeripath [Sun, 2 Feb 2020 23:19:58 +0000 (23:19 +0000)]
Add Unique Queue infrastructure and move TestPullRequests to this (#9856)
* Upgrade levelqueue to version 0.2.0
This adds functionality for Unique Queues
* Add UniqueQueue interface and functions to create them
* Add UniqueQueue implementations
* Move TestPullRequests over to use UniqueQueue
* Reduce code duplication
* Add bytefifos
* Ensure invalid types are logged
* Fix close race in PersistableChannelQueue Shutdown
zeripath [Sun, 2 Feb 2020 22:28:00 +0000 (22:28 +0000)]
Update aria-fixed semantic-dropdown to fomantic master (#10096)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Lunny Xiao [Sun, 2 Feb 2020 20:27:34 +0000 (04:27 +0800)]
Improve push update options (#10105)
* Improve push update options
* fix test
* More refactor and fix lint
* fix lint
* Fix lint
Co-authored-by: Lauris BH <lauris@nix.lv>
guillep2k [Sun, 2 Feb 2020 16:20:20 +0000 (13:20 -0300)]
Add warning when using relative path to app.ini (#10104)
Co-authored-by: Lauris BH <lauris@nix.lv>
zeripath [Sun, 2 Feb 2020 02:43:35 +0000 (02:43 +0000)]
Check if go exists before generating the GOPATH (#10100)
* Check if go exists before generating the GOPATH
* Move export PATH into Go protected section
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
guillep2k [Sun, 2 Feb 2020 02:17:44 +0000 (23:17 -0300)]
Implement "embedded" command to extract static resources (#9982)
* draft
* Implement extract command
* Fix nits and force args on extract
* Add !bindata stub, support Windows, fmt
* fix vendored flag
* Remove leading slash for matching
* Add docs
* Fix typos
* Add embedded view command
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zeripath [Sat, 1 Feb 2020 23:43:50 +0000 (23:43 +0000)]
Fix broken FlushAll (#10101)
* go function contexting is not what you expect
* Apply suggestions from code review
Co-Authored-By: Lauris BH <lauris@nix.lv>
Co-authored-by: Lauris BH <lauris@nix.lv>
guillep2k [Sat, 1 Feb 2020 20:15:32 +0000 (17:15 -0300)]
Use a file as make evidence for fomantic instead of a directory (#10032)
* Use evidence file as dependency instead of dir
* fix eol
* Update .gitignore
Co-Authored-By: silverwind <me@silverwind.io>
* Use FOMANTIC_SOURCES to establish dependencies as per @silverwind
Co-authored-by: silverwind <me@silverwind.io>
Lunny Xiao [Sat, 1 Feb 2020 19:11:32 +0000 (03:11 +0800)]
Cache last commit to accelerate the repository directory page visit (#10069)
* Cache last commit to accelerate the repository directory page visit
* Default use default cache configuration
* add tests for last commit cache
* Simplify last commit cache
* Revert Enabled back
* Change the last commit cache default ttl to 8760h
* Fix test
silverwind [Sat, 1 Feb 2020 18:25:27 +0000 (19:25 +0100)]
remove VERSIONS file (#10070)
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.
guillep2k [Sat, 1 Feb 2020 18:01:30 +0000 (15:01 -0300)]
Accept punctuation after simple+cross repository issue references (#10091)
* Support references ending in , . and ;
* Accept :;, in simple refs; fix 2+ consecutive refs
* Include cross-repository references
* Add ?!, fix spacing problem
zeripath [Sat, 1 Feb 2020 17:06:57 +0000 (17:06 +0000)]
Add button to revert SimpleMDE to plain textarea (#10099)
silverwind [Sat, 1 Feb 2020 15:12:41 +0000 (16:12 +0100)]
enable babel-loader cache (#10083)
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
Lunny Xiao [Sat, 1 Feb 2020 13:54:25 +0000 (21:54 +0800)]
Fix branch page pull request title and link error (#10092)
* Fix branch page pull request title and link error
* Fix ui
Lunny Xiao [Sat, 1 Feb 2020 11:24:26 +0000 (19:24 +0800)]
Fix IsErrPullClosed (#10093)
6543 [Fri, 31 Jan 2020 21:13:51 +0000 (22:13 +0100)]
[BugFix] [API] Pull.API.Convert: Only try to get HeadBranch if HeadRepo exist (#10029)
* only try to get HeadBranch if HeadRepo exist
* impruve
* no nil error
* add TEST
* correct error msg
6543 [Fri, 31 Jan 2020 15:49:04 +0000 (16:49 +0100)]
API endpoint for repo transfer (#9947)
* squash
* optimize
* fail before make any changes
* fix-header
guillep2k [Fri, 31 Jan 2020 13:42:45 +0000 (10:42 -0300)]
Remove migration support from versions earlier than 1.6.0 (#10026)
* 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>
Lauris BH [Fri, 31 Jan 2020 06:57:19 +0000 (08:57 +0200)]
Update topics repo count when deleting repository (#10051)
* Update topics repo count when deleting repository
* Add migration to fix incorrect data
* Optimize to use single update to recalculate values
6543 [Fri, 31 Jan 2020 05:01:32 +0000 (06:01 +0100)]
update (#10079)
John Olheiser [Thu, 30 Jan 2020 22:18:31 +0000 (16:18 -0600)]
Remove unused config on UI (#10078)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
GiteaBot [Thu, 30 Jan 2020 16:12:42 +0000 (16:12 +0000)]
[skip ci] Updated translations via Crowdin
Lunny Xiao [Thu, 30 Jan 2020 16:09:39 +0000 (00:09 +0800)]
Fix leveldb test race (#10054)
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
silverwind [Thu, 30 Jan 2020 06:05:40 +0000 (07:05 +0100)]
fix apple-touch-icon, regenerate images (#10065)
* 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>
guillep2k [Thu, 30 Jan 2020 02:00:27 +0000 (23:00 -0300)]
Implement basic app.ini and path checks to doctor cmd (#10064)
* 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>
silverwind [Wed, 29 Jan 2020 21:16:55 +0000 (22:16 +0100)]
move jquery.are-you-sure to npm/webpack (#10063)
6543 [Wed, 29 Jan 2020 18:54:34 +0000 (19:54 +0100)]
[UI] Show pull icon on pull (#10061)
* make fmt
* show pull icon on pull
Lunny Xiao [Wed, 29 Jan 2020 15:43:07 +0000 (23:43 +0800)]
Add RACE_ENABLED=1 envs for make test* (#10055)
Lunny Xiao [Wed, 29 Jan 2020 07:47:46 +0000 (15:47 +0800)]
Movde dependents on macaron from modules/setting (#10050)
Co-authored-by: Lauris BH <lauris@nix.lv>
Lunny Xiao [Wed, 29 Jan 2020 06:36:32 +0000 (14:36 +0800)]
Fix milestone API state parameter unhandled (#10049)
* Fix milestone API state parameter unhandled
* Fix test
6543 [Wed, 29 Jan 2020 05:55:23 +0000 (06:55 +0100)]
Refactor api repo dir (#10048)
* mv migrate
* mv mirror
Co-authored-by: zeripath <art27@cantab.net>
zeripath [Wed, 29 Jan 2020 02:30:02 +0000 (02:30 +0000)]
Update documentation for the go module era (#9751)
* 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>
NiTRoeSE [Wed, 29 Jan 2020 02:03:39 +0000 (03:03 +0100)]
add touch-icon with background (#10022)
* 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>
zeripath [Wed, 29 Jan 2020 01:01:06 +0000 (01:01 +0000)]
Queue: Make WorkerPools and Queues flushable (#10001)
* 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>
silverwind [Tue, 28 Jan 2020 23:22:39 +0000 (00:22 +0100)]
fix gitgraph commit hashes in dark theme (#10046)
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.
silverwind [Tue, 28 Jan 2020 21:57:20 +0000 (22:57 +0100)]
move highlight.js to npm/webpack (#10011)
- 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>
Andy Harrison [Tue, 28 Jan 2020 18:45:39 +0000 (13:45 -0500)]
Minor typo fix (#10043)
John Olheiser [Tue, 28 Jan 2020 13:57:15 +0000 (07:57 -0600)]
More expansions in template repositories (#10021)
* Super expansion
* Explain which features are in 1.11 vs 1.12
* Move imports
Signed-off-by: jolheiser <john.olheiser@gmail.com>
zeripath [Tue, 28 Jan 2020 11:39:37 +0000 (11:39 +0000)]
Ensure that feeds are appropriately restricted (#10018)
* 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
zeripath [Tue, 28 Jan 2020 10:23:58 +0000 (10:23 +0000)]
PRs: Move to use a temporary repo for pushing new prs (#10009)
* Move to use a temporary repo for pushing new prs
Lunny Xiao [Tue, 28 Jan 2020 09:44:08 +0000 (17:44 +0800)]
Fix wiki raw view on sub path (#10002)
* Fix wiki raw view on sub path
* Add test for subpath wiki raw file
* Fix bug
Shashvat Kedia [Tue, 28 Jan 2020 08:29:30 +0000 (13:59 +0530)]
Repo name added to automatically generated commit message when mergin… (#9997)
* 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>
Lunny Xiao [Tue, 28 Jan 2020 08:02:03 +0000 (16:02 +0800)]
Some refactor on git diff and ignore getting commit information failed on 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
silverwind [Tue, 28 Jan 2020 07:30:39 +0000 (08:30 +0100)]
move CSS build to webpack (#9983)
- 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>
GiteaBot [Mon, 27 Jan 2020 22:38:55 +0000 (22:38 +0000)]
[skip ci] Updated translations via Crowdin
mrsdizzie [Mon, 27 Jan 2020 22:35:34 +0000 (17:35 -0500)]
Style blockquote for default issue mail template (#10024)
Style blockquotes as one might expect for html email to disinguish them
from other text
GiteaBot [Mon, 27 Jan 2020 16:27:13 +0000 (16:27 +0000)]
[skip ci] Updated translations via Crowdin
6543 [Mon, 27 Jan 2020 16:23:21 +0000 (17:23 +0100)]
trim whitespace of MilestoneName at creation/rename (#10017)
zeripath [Mon, 27 Jan 2020 10:26:53 +0000 (10:26 +0000)]
On merge of already closed PR redirect back to the pulls page (#10010)
* On merge of already closed PR redirect back to the pulls page
* More redirects
* As per @6543
Co-Authored-By: 6543 <6543@obermui.de>
silverwind [Mon, 27 Jan 2020 05:10:57 +0000 (06:10 +0100)]
add apple-touch-icon (#10006)
fixes: https://github.com/go-gitea/gitea/issues/10003
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zeripath [Mon, 27 Jan 2020 01:05:38 +0000 (01:05 +0000)]
Generate Bindata iff TAGS="bindata" and not up-to-date (#10004)
* 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>
zeripath [Sun, 26 Jan 2020 23:44:12 +0000 (23:44 +0000)]
Sign: Handle ErrTwoFactorNotEnrolled correctly (#10008)
zeripath [Sun, 26 Jan 2020 20:07:12 +0000 (20:07 +0000)]
Enforce tests do not change files in source tree (#9625)
silverwind [Sun, 26 Jan 2020 18:26:04 +0000 (19:26 +0100)]
enable fomantic api module (#9994)
Fixes: #9992
silverwind [Sun, 26 Jan 2020 16:13:38 +0000 (17:13 +0100)]
add explicit dimensions to navbar avatar (#9986)
* 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>
silverwind [Sun, 26 Jan 2020 11:31:12 +0000 (12:31 +0100)]
avoid useless fomantic rebuilds (#9999)
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.
silverwind [Sun, 26 Jan 2020 08:17:25 +0000 (09:17 +0100)]
fix commit view JS features, reimplement folding (#9968)
* 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>
Lunny Xiao [Sun, 26 Jan 2020 07:32:53 +0000 (15:32 +0800)]
Fix wrong paging on org members (#9990)
Lauris BH [Sat, 25 Jan 2020 21:47:42 +0000 (23:47 +0200)]
Change font to Roboto to support more charsets (#9803)
silverwind [Sat, 25 Jan 2020 21:18:31 +0000 (22:18 +0100)]
fix browser warnings related to crossorigin preload (#9984)
GiteaBot [Sat, 25 Jan 2020 19:02:32 +0000 (19:02 +0000)]
[skip ci] Updated translations via Crowdin
silverwind [Sat, 25 Jan 2020 18:58:26 +0000 (19:58 +0100)]
remove loadCSS and preload woff2 icon fonts (#9976)
loadCSS was used as a polyfill for rel=preload but it seems we only used
it on a single CSS file which did not help much. Changed the icon CSS to
a blocking load and preload the woff2 variants which does work in modern
browsers (Firefox currently needs the network.preload about:config
setting but should gain proper support soon).
Co-authored-by: zeripath <art27@cantab.net>
silverwind [Sat, 25 Jan 2020 16:42:38 +0000 (17:42 +0100)]
combine make calls on drone (#9979)
* combine make calls on drone
combine most make calls on drone into one command. this should give a
speedup of about 5-15 seconds per make invocation because make only
needs to resolve file globs once.
* combine timeout calls as well
GiteaBot [Sat, 25 Jan 2020 14:50:55 +0000 (14:50 +0000)]
[skip ci] Updated translations via Crowdin
guillep2k [Sat, 25 Jan 2020 14:49:47 +0000 (11:49 -0300)]
Fix regexp ranges (#9977)
GiteaBot [Sat, 25 Jan 2020 13:22:15 +0000 (13:22 +0000)]
[skip ci] Updated translations via Crowdin
Antoine GIRARD [Sat, 25 Jan 2020 13:21:22 +0000 (14:21 +0100)]
chore: update default version (#9916)
* chore: update default version
* use develop
Co-Authored-By: 6543 <6543@obermui.de>
* Update main.go
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
silverwind [Sat, 25 Jan 2020 11:44:36 +0000 (12:44 +0100)]
make node_modules a order-only prerequisite (#9923)
* make node_modules a order-only prerequisite
Package installations and our fomantic step results in changes inside
node_modules which lead to make triggering that target unnecessarily.
Moved all node_modules prerequisites to order-only which will make skip
the timestamp check on in and eliminate useless npm calls.
Changes in package-lock.json will still result in reinstallation so
node_modules should stay consistent.
* revert change to clean-all
Lunny Xiao [Sat, 25 Jan 2020 10:57:43 +0000 (18:57 +0800)]
Sanitize credentials in mirror form (#9975)
silverwind [Sat, 25 Jan 2020 08:41:34 +0000 (09:41 +0100)]
add css extraction and minification to webpack (#9944)
This changes the CSS output of webpack to output to the public/css
directory instead of inling CSS in JS. This enables CSS minification and
autoprefixer based on browserslist which would otherwise not be
possible.
The result of this change is two new output files currently:
- public/css/swagger.css
- public/css/gitgraph.css
Co-authored-by: techknowlogick <matti@mdranta.net>
GiteaBot [Sat, 25 Jan 2020 06:20:28 +0000 (06:20 +0000)]
[skip ci] Updated translations via Crowdin
guillep2k [Sat, 25 Jan 2020 06:19:35 +0000 (03:19 -0300)]
Fix crowdin update script (#9969)
* Fix crowdin update script
* Refine the script to be specific about what it should change
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>