aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Use go-bindata to embed `public` and `templates` files into binary (#5920)Michael Li2020-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixed private repositories are hidden in the organization's view * use go-bindata integrate public and templates files to gogs binary * optimize Dockerfile don't COPY public and templates files * use kevinburke's go-bindata to generate assets code * reset develepment as default run mode in configure file * optimize generated assets code relayout and help function * fixed code format * Update conf/app.ini * assets: add LICENSE headers * Some housekeeping * assets/public: simplify code logic * assets/templates: simplify code logic * cmd/web: more concise variable names * Minor changes * Add custom public and templates support back Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* README: fix phonemic transcription (#5916)Unknwon2020-02-07
| | | | [CI SKIP]
* README: add new sponsor BitLaunchUnknwon2020-02-07
| | | | [CI SKIP]
* db/repo: fix Git version check to 1.8.3Unknwon2020-02-04
|
* locale: sync from CrowdinUnknwon2020-02-04
|
* [ImgBot] Optimize images (#5913)imgbot[bot]2020-02-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *Total -- 2,264.72kb -> 2,093.92kb (7.54%) /public/plugins/pdfjs-1.4.20/web/images/annotation-noicon.svg -- 0.15kb -> 0.08kb (46.84%) /public/img/emoji/back.png -- 3.97kb -> 2.46kb (37.95%) /public/img/gogs-large-resize.png -- 80.67kb -> 54.16kb (32.86%) /public/plugins/pdfjs-1.4.20/web/images/annotation-note.svg -- 1.02kb -> 0.69kb (32.08%) /public/img/404.png -- 8.43kb -> 5.94kb (29.47%) /public/img/500.png -- 9.76kb -> 7.27kb (25.47%) /public/img/favicon.png -- 28.47kb -> 21.58kb (24.21%) /public/plugins/pdfjs-1.4.20/web/images/annotation-check.svg -- 0.41kb -> 0.31kb (23.37%) /public/plugins/pdfjs-1.4.20/web/images/annotation-newparagraph.svg -- 0.42kb -> 0.32kb (23%) /public/img/gogs.svg -- 14.66kb -> 11.34kb (22.66%) /public/plugins/pdfjs-1.4.20/web/images/annotation-insert.svg -- 0.40kb -> 0.31kb (22.55%) /public/img/gogs-lg.png -- 164.32kb -> 133.07kb (19.02%) /public/img/dingtalk.png -- 30.02kb -> 24.91kb (17.02%) /public/plugins/pdfjs-1.4.20/web/images/annotation-comment.svg -- 0.86kb -> 0.74kb (14.72%) /public/img/avatar_default.png -- 502.04kb -> 442.97kb (11.77%) /public/img/emoji/black_circle.png -- 2.31kb -> 2.07kb (10.68%) /public/plugins/pdfjs-1.4.20/web/images/annotation-paragraph.svg -- 1.12kb -> 1.00kb (10.15%) /public/plugins/pdfjs-1.4.20/web/images/annotation-help.svg -- 2.12kb -> 1.96kb (7.29%) /public/plugins/pdfjs-1.4.20/web/images/annotation-key.svg -- 1.42kb -> 1.32kb (6.68%) /public/assets/octicons-4.3.0/octicons.svg -- 43.89kb -> 41.59kb (5.23%) /public/img/emoji/envelope.png -- 1.62kb -> 1.53kb (5.08%) /public/css/themes/default/assets/fonts/icons.svg -- 381.68kb -> 369.58kb (3.17%) /public/css/themes/default/assets/fonts/outline-icons.svg -- 104.69kb -> 101.59kb (2.96%) /public/css/themes/default/assets/fonts/brand-icons.svg -- 495.73kb -> 487.61kb (1.64%) /public/img/emoji/page_facing_up.png -- 2.13kb -> 2.09kb (1.56%) /public/assets/font-awesome-4.6.3/fonts/fontawesome-webfont.svg -- 382.44kb -> 377.43kb (1.31%) Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com> Co-authored-by: Imgbot <help@imgbot.net>
* public/plugins: upgrade highlight.js 9.16.2 to 9.18.0Unknwon2020-01-31
|
* public/plugins: upgrade Dropzone 4.2.0 to 5.5.0Unknwon2020-01-31
|
* public/js: upgrade jQuery 1.12.4 to 3.4.1Unknwon2020-01-31
|
* public: upgrade Semantic UI 2.3.1 to 2.4.2Unknwon2020-01-31
|
* public/js: upgrade clipboard 1.5.9 to 2.0.4Unknwon2020-01-31
|
* public/js: upgrade jQuery 1.11.3 to 1.12.4Unknwon2020-01-31
|
* all: use lazyregexp (#5911)ᴜɴᴋɴᴡᴏɴ2020-01-29
| | | | | | * Use lazyregexp * all: fix imports and usages
* conf: fix wrong default example valueUnknwon2020-01-29
|
* conf: update instructions for installing go-bindataUnknwon2020-01-29
|
* repo: able fill pull request title by template from md file (#5901)ivan2020-01-29
| | | | | | | | | | | | | | | | * able fill pull request title by template from md file * fix: unusedresult: result of fmt.Sprintf call not used (from govet) * fix: remove import fmt -> not used * after review / PullRequestTitleTemplateCandidates moved to after line 39 * Update pull.go * Update pull.go Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* api/misc/markdown: remove Mode option (#5910)ᴜɴᴋɴᴡᴏɴ2020-01-29
| | | We already have a separate `/markdown/raw` API, remove redundant functionality here.
* api: sanitize raw markdown content (#5907)ᴜɴᴋɴᴡᴏɴ2020-01-27
| | | Fixed a security issue reported by bluebird.
* repo: fix redirect after opening/closing milestone (#5903)Andrey Filippov2020-01-26
| | | | | | | | | | | | | | | | * Fix milestone redirect * gosimple * Apply suggestions from code review Co-Authored-By: ᴜɴᴋɴᴡᴏɴ <u@gogs.io> * fix typo * Update docstring of MakeURL Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
* docker: check "/app/gogs" separately on startup (#5895)Achilleas Koutsou2020-01-23
| | | | | | | | When running gogs after the first time, if the image has changed (update rebuild), the /app/gogs directory will have changed owner back to root:root, but /data will likely not be since the data directories are likely to be persistent. Checking /app/gogs separately fixes this.
* user/setting: check for IsErrEmailAlreadyUsed when updating user (#5900)Achilleas Koutsou2020-01-23
| | | | | | Check for email collisions when updating the entire user information, not when the username is being changed. Fixes #5899
* internal/db/org: fix private repositories are hidden in the organization ↵Michael Li2020-01-21
| | | | view (#5890)
* repo: use editorconfig v2 (#5888)Yoan Blanc2019-12-25
| | | | | | | | | | | | | | | | * repo: editorconfig v2 Signed-off-by: Yoan Blanc <yoan@dosimple.ch> * fixup! repo: editorconfig v2 Signed-off-by: Yoan Blanc <yoan@dosimple.ch> * Update repo.go * Update repo.go Co-authored-by: Unknwon <u@gogs.io>
* repo: fix stale webhook documentation link (#5883)Kevin Gentile2019-12-09
|
* locale: sync from CrowdinUnknwon2019-12-09
|
* .github: add refine feature_request and add security templatesUnknwon2019-11-25
| | | | [SKIP CI]
* .github: add config.yml and update bug_report templateUnknwon2019-11-25
| | | | [SKIP CI]
* Dockefile: format and use tagged versionUnknwon2019-11-25
| | | | [SKIP CI]
* README: add phonetic symbolUnknwon2019-11-25
| | | | [SKIP CI]
* README: add Syncloud to Product SupportUnknwon2019-11-18
| | | | [SKIP CI]
* mirror: use Git command to update origin remote address (#5767) (#5865)Unknwon2019-11-16
| | | Fixes a RCE reported by @ManassehZhou and @zeripath.
* go.mod: update github.com/go-macaron/binding@v1.0.1Unknwon2019-11-12
| | | | Addresses gogs/go-gogs-client#111.
* public: makes CodeMirror mode by filename lookups case-insensitive (#5857)Johannes2019-11-08
| | | | | | | | * updated the highlight.js plugin * added some explicit mappings for syntax highlighting * public: makes CodeMirror mode by filename extension lookup case-insensitive
* templates: fix line wrap for very long commit messageUnknwon2019-11-07
|
* public: update highlights.js to 9.16.2 (#5856)johannes69ki2019-11-07
| | | | | | * updated the highlight.js plugin * added some explicit mappings for syntax highlighting
* go.mod: update github.com/gogs/go-libravatar (#5851)Unknwon2019-11-05
|
* tls: update default CurvePreferences and CipherSuites (#5850)Kasei2019-11-05
| | | | | | | | | * Enable X25519 curve and reorder curve list to improve key exchange performance * Enable ECDSA ciphers for EC certs * Enable CHACHA20_POLY1305 ciphers * Disable RSA key exchange algorithm which don't provide PFS * Disable non-AEAD ciphers Signed-off-by: Kasei Wang <kasei@kasei.im>
* templates: update version infoUnknwon2019-11-05
|
* db/repo: print more error infoUnknwon2019-11-05
|
* repo: delete local copies on owner name change (#5843)Guy Smoilov2019-11-03
| | | | | | | | | | | * Protect local repo copy deletion with repoWorkingPool, and delete the local copy on owner name change. * Update internal/db/user.go Co-Authored-By: Unknwon <u@gogs.io> * Error format on local repo and wiki deletion
* README: remove unstable badgeUnknwon2019-11-02
| | | | [CI SKIP]
* README: use modern style of badgesUnknwon2019-11-02
| | | | [CI SKIP]
* locale: sync from CrowdinUnknwon2019-11-02
|
* locale: amend source localeUnknwon2019-10-30
| | | | [CI SKIP]
* cmd/import: improve error messageUnknwon2019-10-26
| | | | - Print app.Run() error
* locale: sync from CrowdinUnknwon2019-10-26
|
* pkgr: slow but fix builds on packager.io (#5840)Unknwon2019-10-25
| | | | | | | | | | * Test * Test * My last try * Avoid cleaning old Go version
* Makefile: set -trimpath on buildUnknwon2019-10-25
| | | | [ci skip]
* appveyor: remove direct from GOPROXYUnknwon2019-10-24
|
* appveyor: print Go versionUnknwon2019-10-24
|