aboutsummaryrefslogtreecommitdiff
path: root/public
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>
* [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
|
* 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
* public/css: make less (#5317)Unknwon2018-12-25
|
* public/less: fix layout misalignment in Firefox for Linux (#5317)Kyumyeong Han2018-12-25
| | | | | | * Update _repository.less * Update _repository.less
* auth: add new authentication source: GitHub, including GitHub Enterprise (#5340)haixunlu2018-12-18
| | | | | | * Add new Authentication Source: GitHub, including GitHub Enterprise. * Add vendor dependencies.
* templates: make state changing routes to POST method (#5541)Unknwon2018-12-06
| | | | - pkg/context: add ParamsUser to unify the injection process
* public/css: adjust width of label color in dropdownUnknwon2018-12-02
| | | | models/issue: unify Issue receiver name to 'issue'
* public/css: add 'overflow-wrap: break-word' to dashboard news feeds (#5507)A.J. Ruckman2018-11-08
|
* librejs: add jQueryUnknwon2018-09-19
| | | | [ci skip]
* librejs.html: fix semantic version (#5404)PiPc22018-09-06
| | | currently incompatible with librejs
* public: minor fix for PR #5276Unknwon2018-06-26
|
* repo: add changes to repository avatar feature (#5221)Unknwon2018-06-17
|
* repo: support avatars (#5221)Sergey Dryabzhinsky2018-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First code for repository avatars * Last code for repository avatars - add new option for repo avatars location on filesystem - add route catch in web - add new fields to repo model - add migration - update settings handlers - update repo header template * Update locale messages * Add repo avatars to home page * Add repo avatars to organization right panel * Show repo avatars in repo list * Remove AvatarEamil field, remove Gravatar support, use generic locale messages * Fix migration * Fix seed and not used tool * Revert public css changes, add them to less files * Latest lessc (2.6.0) don't put result into file but output to stdout So redirect output to file * Simplify things: - migration don't needed, and table changes too - just upload file to repo avatar storage - or generate random image * Fix repo image seed - name not unique * Get rid of not needed model fields * Class value is enough, remove height attribute * Don't generate random avatar for repository - use html and semantic ui icons if no avatar found * Update styles and templates for repo - use repo icon as default avatar - use globe icon for public repos - add micro style for repo avatars at dashboard * Remvoe redundant empty line * Fix nl2br filter - must return string * Fix css style for micro-repo-avatar in dashboard list * Remove `|len`, works fine w/o it. * Update after review 2: - use static route for repository avatar - format images settings block in settings * Update after review 2: - no random avatar for repo * Update after review 2: - no random avatar for repo 2 - update imports - update UploadAvatar* functions * Update after review 2: - update templates * Fix trace call * Remove unused immport since we use static route for repo avatars.
* repo: minor improve for PR #5219 and support UTF-8 byte countUnknwon2018-06-11
|
* repo: update repository description field to contain more than 256 symbols ↵Sergey Dryabzhinsky2018-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#5219) * Update repository description field to contain more than 256 symbols - update repository model - description field now is `TEXT` and limited by 4000 symbols - new migration - add description to html forms - repo creation and repo settings - add translation for description * Update for description field, new features - add autosize (height) for description textarea, new plugin - set max description length to 512 symbols - update locales * Fix migration - typo in var * Update repo description behaviour - add textarea autosize for /repo/create - add symbols counter under description testarea (create/edit) * Fix function definition - it a var * Revert ru-RU locale * Update by review - Use type `varchar(512)` in migration - Remove unused files from autosize plugin * Fix migration - new project paths * Fixes after review 2 - copyright year - format includes - use switch instead of multi-if * Remove unused `default:` option.
* mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
|
* public/css: generate CSS for PR #5169Unknwon2018-04-26
|
* public/css: fix file view responsiveness (#5169)Florian Wiech2018-04-26
|
* public/{less,css}: fix overflow of brand logo hyperlink (#5189)rokuu2018-04-21
| | | | | | * Update gogs.css * Update _base.less
* public: update Semantic UI 2.2.13 -> 2.3.1Unknwon2018-04-12
|
* public/plugins: update notebookjs to 0.3.0 (#5077)Unknwon2018-03-08
|
* public: update notebookjs to 0.3.0 (#5084)Ruben Vermeersch2018-03-08
| | | Fixes #5077
* css: fix UI breaksUnknwon2017-11-19
|
* MISC: minor fixes in webhookUnknwon2017-11-18
|
* css: fix minor table issueUnknwon2017-11-17
|
* admin/config: add UI for [http] section (#3987)Unknwon2017-11-16
|
* public: update Semantic UI 2.2.10 -> 2.2.13Unknwon2017-11-15
|
* locale: sync from CrowdinUnknwon2017-09-25
|
* Add Dingtalk webhook support (#4773)Athurg Feng2017-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add dingtalk webhook into html template * Add Dingtalk's icon * Insert dingtalk into repo's webhook page template * Insert dingtalk into org's webhook page * Add dingtalk into default webhook config * Add locale string for add_dingtalk_hook_desc * Update bindata * Add dingtalk webhook form validator * Add dingtalk hook task * Add dingtalk hook create handler * Add dingtalk hook edit handler * Add dingtalk router * Add dingtalk webhook task skeleton * Add markdown link formatter * Add Dingtalk ActionCard create wrapper * Add support for dingtalk create event payload * Add support for dingtalk delete event payload * Add support for dingtalk fork event payload * Add support for dingtalk push event payload * Add support for dingtalk issue event payload * Add support for dingtalk issue comment payload * Add support for dingtalk pull event payload * Add support for dingtalk release event payload
* css: not include line numbers in diff selection (#4584)Unknwon2017-07-14
| | | | Changed template file in order to make CSS work properly.
* css: update less (#4584)Unknwon2017-06-27
|
* css: not include line numbers in diff selection (#4584)Einar2017-06-27
|
* markup: able to display image from IPython notebook (#4366)Unknwon2017-06-06
|
* css: fix fluid container for spilt diff viewUnknwon2017-06-03
|
* css: start using fixing width containerUnknwon2017-06-03
| | | | | | Get rid of responsive issue. Also fixes #4527.
* ldap: minor fix for PR #4398Unknwon2017-05-29
|
* repo/editor: fix wrong context for subdirectory (#4368)Unknwon2017-04-07
|
* js: remove Preview, Full Screen and Side-by-side buttons for repository file ↵Unknwon2017-04-07
| | | | editing (#4402)
* repo/wiki: improve UIUnknwon2017-04-07
|
* user/setting: improve UIUnknwon2017-04-07
|
* js: set cursor to the end of autofocus input stringUnknwon2017-04-06
|