aboutsummaryrefslogtreecommitdiff
path: root/templates
Commit message (Collapse)AuthorAge
...
* conf: overhaul repository settings (#5932)ᴜɴᴋɴᴡᴏɴ2020-02-22
|
* admin/config: show all server and SSH optionsᴜɴᴋɴᴡᴏɴ2020-02-22
|
* conf: overhaul server settings (#5928)ᴜɴᴋɴᴡᴏɴ2020-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * conf: rename package * Requires Go 1.12 * Fix lint * Fix lint * Overhaul * db: fix tests * Save my work * Fix tests * Server.UnixSocketPermission * Server.LocalRootURL * SSH settings * Server.OfflineMode * Save my work * App.Version * Remove [server] STATIC_ROOT_PATH * Server.LandingURL
* admin: show all version in dashboardᴜɴᴋɴᴡᴏɴ2020-02-19
| | | | And removed version info from footer.
* Add CHANGELOG and adopt new release workflowᴜɴᴋɴᴡᴏɴ2020-02-18
| | | | In development, the version now has +dev suffix indicates it is not a binary release.
* 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 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
|
* locale: sync from CrowdinUnknwon2019-12-09
|
* mirror: use Git command to update origin remote address (#5767) (#5865)Unknwon2019-11-16
| | | Fixes a RCE reported by @ManassehZhou and @zeripath.
* 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
* templates: update version infoUnknwon2019-11-05
|
* cmd/import: improve error messageUnknwon2019-10-26
| | | | - Print app.Run() error
* web: fix panic when download attachments (#5838)Unknwon2019-10-24
|
* internal: move packages under this directory (#5836)Unknwon2019-10-24
| | | | | | | | | | | | | | | | | | * Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
* Enable Go modules (#5835)Unknwon2019-10-23
| | | | | | | | | | | | | | | | * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs
* locale: sync from CrowdinUnknwon2019-10-20
| | | | - Also amended some source translations.
* locale: sync from CrowdinUnknwon2019-10-19
|
* models/token: generate bindata and simplify code (#5820)Unknwon2019-10-15
|
* locale: sync from Crowdinunknwon2019-10-03
|
* templates/repo: remove unnecessary wrap divunknwon2019-09-21
|
* repo: allow admin to remove observers from the repository (#5782) (#5803)Alexey Agafonov2019-09-21
| | | | | | | | | | | | * admin can remove observers from the repository (#5782) * admin can remove observers from the repository (#5782) * admin can remove observers from the repository (#5782) * admin can remove observers from the repository (#5782) * admin can remove observers from the repository (#5782)
* locale: sync from Crowdinunknwon2019-09-15
|
* templates/mail: modify the year at the footer (#5793)张怡秋2019-09-13
|
* Bump versionunknwon2019-08-11
|
* routes/api/v1: codemodunknwon2019-08-10
|
* routes/api/v1: codemodunknwon2019-08-08
|
* Bump versionunknwon2019-08-01
|
* pkg/template: use template function Year to get number of yearunknwon2019-07-28
| | | | To avoid update in each year
* pkg/context: change banner file path (#5750)unknwon2019-07-28
|
* pkg/context: Render live notice banner from file (#5750)Achilleas Koutsou2019-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pkg/context: Render live notice banner from file - Contexter checks if there is a file called 'notice' under the GOGS_CUSTOM directory and loads it. - The first line is treated as a header/title and everything else as the message body. - Message body is rendered as HTML (tags allowed). - File size is limited to 1024 bytes. - File mime type must be text. - Notice is rendered in head.tmpl for all pages. * pkg/context: Rename maxlen to maxSize Rename maxlen to maxSize for the maximum size (in bytes) of the notice file to render. Define the variable when needed to avoid instantiating it when the file doesn't exist. Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io> * pkg/context: Package name after license header Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io> * pkg/context: Don't print 'Found notice file' Becomes too verbose as it prints on every page load when the file exists. * pkg/context: Match project conventions Import order and grouping Variable names: fileloc -> fpath fp -> f finfo -> fi * pkg/context: Remove empty line Co-Authored-By: ᴊ. ᴄʜᴇɴ <u@gogs.io> * pkg/context: Render notice as markdown Server notice file should be named 'notice.md'. The contents of the file are treated as markdown and rendered as a warning message at the top of every page. * Update notice.go Co-authored-by: ᴊ. ᴄʜᴇɴ <u@gogs.io>
* locale: sync from CrowdinUnknwon2019-06-27
|
* pkg/bindata: regenerate for PR #5623Unknwon2019-02-20
|
* models: disable idle connection and set connection max life time (#5532)Unknwon2019-02-06
|
* locale: sync from CrowdinUnknwon2019-01-30
| | | | - Add Portuguese
* public/css: make less (#5317)Unknwon2018-12-25
|
* pkg/ssh: specify ssh-keygen to always generate PEM formatUnknwon2018-12-19
|
* auth: coding style and glitches fixes for GitHub login source (#5340)Unknwon2018-12-18
|
* auth: add new authentication source: GitHub, including GitHub Enterprise (#5340)haixunlu2018-12-18
| | | | | | * Add new Authentication Source: GitHub, including GitHub Enterprise. * Add vendor dependencies.
* pkg/tool: improve SanitizePath (#5558)Unknwon2018-12-18
|
* models/action: skip issue index parsing while using external issue tracker ↵Unknwon2018-12-17
| | | | (#5551)
* api: add GetReferenceSHA (#5546)Unknwon2018-12-16
|
* models: remove legacy supportUnknwon2018-12-11
|
* templates: rename template function Str2html -> Str2HTMLUnknwon2018-12-10
|
* templates: sanitize special links in commit message (#5545)Unknwon2018-12-10
| | | | Reported by @cezar97.