aboutsummaryrefslogtreecommitdiff
path: root/public/js/gogs.js
Commit message (Collapse)AuthorAge
* auth: decouple types and functions from db (#6320)ᴜɴᴋɴᴡᴏɴ2020-09-20
|
* repo: disable public access option when using external wiki and issue ↵alpencrossi2020-04-09
| | | | tracker (#6081)
* web: rename CSRF header (#6027)ᴜɴᴋɴᴡᴏɴ2020-03-28
|
* js: fix jQuery errorᴜɴᴋɴᴡᴏɴ2020-02-29
|
* public: fix jquery3.x syntax error (#5951)guan2020-02-28
| | | $.post().success -> $.post().done
* 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>
* 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 clipboard 1.5.9 to 2.0.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
* 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: minor fix for PR #5276Unknwon2018-06-26
|
* 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.
* 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)
* js: set cursor to the end of autofocus input stringUnknwon2017-04-06
|
* js: use jQuery .find() (#4343)Hassan Amouhzi2017-03-28
|
* repo: allow private repository to have public wiki or issuesUnknwon2017-03-24
| | | | Relates to #649 and #2157
* user/settings: complete repositories panel (#4312)Unknwon2017-03-23
|
* templates/label: another minor style improveUnknwon2017-03-22
|
* repo/webhook: able to retrigger delivery history (#2187)Unknwon2017-03-19
|
* install: able to enable console mode (#3119)Unknwon2017-03-17
|
* dashboard/feeds: able to load more history (#2511)Unknwon2017-03-16
|
* js: minor fix for #4294Unknwon2017-03-15
|
* ui: added Select class to ui.dropdown menus to prevent label changing (#4294)Brian Paulson2017-03-15
|
* webhook: highlight delivery response on clickUnknwon2017-02-24
| | | | This decreases page load time for webhook edit page.
* repo: add protect branch whitelist (#4177)Unknwon2017-02-23
| | | | | Add options to add users and teams to whitelist of a protected branch. This is only available for organizational repositories.
* diff: able to highlight line with hashtag URLUnknwon2017-02-20
|
* install: able to enable builtin SSH server (#3773)Unknwon2017-02-18
|
* repo: assignee can be anyone who has read access (#3739)Unknwon2017-02-17
|
* Initial version of protected branches (#776)Unknwon2017-02-17
| | | | | - Able to restrict force push and deletion - Able to restrict direct push
* Added mssql support. (#3772)dlob2017-02-13
|
* Fix wrong anchors for non-latin headings (#3981)Joel-Liang2016-12-26
| | | | | | Change Javascript regular expression to match non-latin characters The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078 And this patch should fixed these two issues: #3919 #3843
* Support Editorconfig on web editor (#3512)无闻2016-08-30
|\
| * Support Editorconfig on web editorAndrey Nering2016-08-30
| |
* | js: fix comment issue status button title changeUnknwon2016-08-30
|/
* Web editor: improve delete file processUnknwon2016-08-28
|
* Web editor: improve code qualityUnknwon2016-08-24
|
* Code quality improvement on JSUnknwon2016-08-17
|
* Minor naming improvementUnknwon2016-08-17
|
* General code quality improvementUnknwon2016-08-16
|
* Web editor: temporarily disable upload and quick fix for edit and newUnknwon2016-08-15
| | | | Try to merge into develop branch ASAP, then continue minor fixes afterwards.
* Code clean up for new config optionsUnknwon2016-08-14
|
* Squashed commit of the following:Richard Mahn2016-08-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0afcb843d7ffd596991c4885cab768273a6eb42c Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 17:13:29 2016 -0600 Removed Upload stats as the upload table is just a temporary table commit 7ecd73ff5535612d79d471409173ee7f1fcfa157 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:42:41 2016 -0600 Fix for CodeMirror mode commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 08:03:33 2016 -0600 Made tabbing in editor use spaces commit 23af384c53206a8a40e11e45bf49d7a149c4adcd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:56:46 2016 -0600 Fix for data-url commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9 Merge: 7fc8a89 991ce42 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:42:53 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit 7fc8a89cb495478225b02d613e647f99a1489634 Merge: fd3d86c c03d040 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:40:00 2016 -0600 Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Sun Jul 31 07:39:44 2016 -0600 Code cleanup commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 29 15:38:23 2016 -0600 Code cleanup commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:36:01 2016 -0600 Code cleanup and fixes commit c2895dc742f25f8412879c9fa15e18f27f42f194 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 18:24:04 2016 -0600 Fixes per Unknwon's requests commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef Merge: 889e9fa ad7ea88 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Thu Jul 28 17:13:43 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go modules/setting/setting.go commit 889e9faf1bd8559a4979c8f46005d488c1a234d4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:09:18 2016 -0600 Fix in gogs.js commit 47603edf223f147b114be65f3bd27bc1e88827a5 Merge: bb57912 cf85e9e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:07:36 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go public/js/gogs.js commit bb5791255867a71c11a77b639db050ad09c597a4 Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 22 14:02:18 2016 -0600 Update for using CodeMirror mode addon commit d10d128c51039be19e2af9c66c63db66a9f2ec6d Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 16:12:57 2016 -0600 Update for Edit commit 34a34982025144e3225e389f7849eb6273c1d576 Merge: fa1b752 1c7dcdd Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Tue Jul 19 11:52:02 2016 -0600 Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file Conflicts: modules/bindata/bindata.go commit fa1b752be29cd455c5184ddac2ffe80b3489763e Author: Richard Mahn <richard_mahn@wycliffeassociates.org> Date: Fri Jul 15 18:35:42 2016 -0600 Feature for editing, creating, uploading and deleting files
* Render the Code view on the server (minus syntax highlighting) (#2942)Rory McNamara2016-08-09
| | | | | | | | | | | | | | | | * render code view server side * remove debug print * fix multiline selection bug * change string concatenation to bytes.Buffer for efficiency * Fix newlines added by previous for hljs * fix selection highlighting * make css changes in .less
* #3320 code cleanupUnknwon2016-08-07
|
* #2162 improve repository advance options UI displayUnknwon2016-07-31
| | | | Enable/disable input based on user chosen options for wiki and issue tracker.