aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* templates: add 'rel=noopener noreferrer' to <a> tags (#5319)cezar972018-07-02
| | | Signed-off-by: cezar97 <cezar97@protonmail.com>
* restore: reset milestone deadline_unix and closed_date_unix (#5264)Unknwon2018-06-27
|
* routes/repo/setting: require autosize when repo/settings/options is rendered ↵Steve Chung2018-06-26
| | | | (#5315)
* public: minor fix for PR #5276Unknwon2018-06-26
|
* pull request: able to add custom commit description (#5276)ususdei2018-06-26
| | | | | | | | | | * pull request merges now allow for custom commit messages * allow i18n on commit_message label * place label above textarea for commit message * rename commit message for pull requests into commit description and pass to git separately
* restore: ignore created_unix for milestone table (#5264)Unknwon2018-06-25
|
* vendor: update github.com/gogs/git-moduleUnknwon2018-06-25
|
* locale: sync from CrowdinUnknwon2018-06-18
|
* 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.
* pkg/setting: ignore config inline comment by defaultUnknwon2018-06-17
|
* vendor: update gopkg.in/ini.v1Unknwon2018-06-17
|
* modes/repo: syntax fix for PR #5234Unknwon2018-06-16
|
* repo: show in search if any part is public (#5234)James2018-06-16
| | | if repo is private but wiki and/or issue are public show repo in search
* vendor: update github.com/go-sql-driver/mysqlUnknwon2018-06-15
|
* *: fix wrong format typeUnknwon2018-06-13
|
* routes/repo/http: fix wrong format typeUnknwon2018-06-13
|
* api: correct pagination in repository search api (#5293)oOOps2018-06-13
|
* repo: clean up webhook and hook_task when delete repository (#5239)奶爸2018-06-11
|
* Merge branch 'pr-5277' into developUnknwon2018-06-11
|\ | | | | | | | | # Conflicts: # models/migrations/migrations.go
| * migrations: clean unlinked webhook and hook_tasks奶爸2018-06-11
| |
* | 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.
* | ci: remove Go 1.6.xUnknwon2018-06-09
| |
* | vendor: add new dependenciesUnknwon2018-06-09
| |
* | *: use jsoniter to replace encoding/jsonUnknwon2018-06-09
| |
* | restore: reset original created_unix after insert (#5264)Unknwon2018-06-09
| |
* | vendor: add github.com/json-iterator/goUnknwon2018-06-09
| |
* | vendor: update github.com/go-xorm/…Unknwon2018-06-09
| |
* | models: skip JSON for fields skipped by XORMUnknwon2018-06-09
| | | | | | | | Reduce output JSON size by backup command
* | vendor: update github.com/gogs/git-moduleUnknwon2018-06-09
| |
* | routes/repo: added deletion of an empty line at the end of file (#5261) (#5270)Alexey Terentyev2018-06-06
| | | | | | | | | | | | | | | | | | | | * Added deletion of an empty line at the end of file (#5261) Signed-off-by: Alexey Terentyev <axifnx@gmail.com> * Fix after feedback Signed-off-by: Alexey Terentyev <axifnx@gmail.com>
* | locale: sync from CrowdinUnknwon2018-06-05
| |
* | Makefile: fix make build failure when environment of GOPATH have multiple ↵Michael Li2018-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | items (#5262) * fixed make build failure when enviroment of GOPATH have Multiple items gogs source in /other/path/to/go/src/github.com/gogs/gogs and then >cd /other/path/go/go/src/github.com/gogs/gogs >GOPATH=/path/to/go:/other/path/to/go make will also build success in this fixed code * in makefile rename gogits to gogs
* | models/mirror: shot push webhook after synced commits (#4528)Unknwon2018-06-03
| |
* | vendor: update github.com/gogs/git-moduleUnknwon2018-06-03
| |
* | pkg/setting: fix '[git] GC_ARGS' is not loadedUnknwon2018-06-03
| |
* | pkg/template: fix NewLine2br return type to stringUnknwon2018-06-02
| |
* | templates/repo/settings: fix mirror setting errorUnknwon2018-05-30
| |
* | mirror: show sync feeds on dashboard (#2017)Unknwon2018-05-30
| |
* | vendor: update github.com/gogs/git-moduleUnknwon2018-05-29
| |
* | template: simple html filter for repository description (#5242)Sergey Dryabzhinsky2018-05-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add markdown renderer function to templates, use it for description in repo template * Fix function call * Define function Md2html in template namespace * Change filter from Md2html to nl2br * Change filter name to NewLine2br as suggested * Update description output: - just replace `\n` by `<br>` - sanitize html after replace
* | docker: rename "gogits" to "gogs"Unknwon2018-05-27
| |
* | vendor: rename "gogits" to "gogs"Unknwon2018-05-27
| |
* | *: rename "gogits" to "gogs"Unknwon2018-05-27
| |
* | routes/user/setting: fix avatar email update error (#5245)Wei He2018-05-26
| |
* | routes/user/auth: improve coding styleUnknwon2018-05-21
| |
* | security: prevent same passcode from being reusedUnknwon2018-05-21
| | | | | | | | Reported by @cezar97.
* | templates/mail/auth: update copyright year (#5224)Madzahttr2018-05-13
| | | | | | | | | | | | | | | | | | | | * Update activate.tmpl * Update activate_email.tmpl * Update register_notify.tmpl * Update reset_passwd.tmpl
* | templates/repo: use correct Semantic UI icon styles to fix star and watch ↵Sergey Dryabzhinsky2018-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | icons (#5218) * Update font-awesome to 4.7.0 * Fix font-awesome styles overrided by semantic * Revert back * Revert back 2 * Just use right `semantic` icon styles