aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a new Make target for running single integration test (#6500)Mura Li2019-04-041-0/+4
| | | | | | * Add a new Make target for running single integration test * Use # instead of - as the delimiter
* docs: document setup with read-only config (#6348)nodiscc2019-04-042-0/+1
|
* Some logging documentation (#6498)zeripath2019-04-041-0/+396
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-041-0/+10
|
* Make distinction between DisplayName and Username in email templates (#6495)mrsdizzie2019-04-045-11/+12
| | | | | | | | | | | | | | | | | | * Make distinction between DisplayName and Username in email templates Store the actual username in the variable named Username and store the separate DisplayName in another variable. This allows us to access the actual username when we need, which currently fails if a user has set a full name. Fixes #6161 * Use u.Name directly No need for extra function, also change use in all mail sending functions here * Don't include Username when not used
* [docker] drop the bits argument when generating an ed25519 key (#6504)Jakob Ackermann2019-04-041-1/+1
| | | | | | | | | From the man page of ssh-keygen:   Ed25519 keys have a fixed length and the -b flag will be ignored. [skip ci] Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* Show last commit status in pull request lists (#6465)Elias Norberg2019-04-026-0/+144
|
* fix upload attachments (#6481)Lunny Xiao2019-04-027-14/+76
| | | | | | | | * fix upload attachments * add migration for new column uploader_id on table attachment * fix imports sequence
* add make version on gitea version (#6485)Lunny Xiao2019-04-022-9/+18
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-021-0/+10
|
* Add X-Auto-Response-Suppress header to outgoing messages (#6492)mrsdizzie2019-04-021-0/+1
| | | | | | | | | | This is a header used to suggest mail servers not to respond to a message with an auto-responder: https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxcmail/ced68690-498a-4567-9d14-5c01f974d8b1 This header is also used by github and gitlab in outgoing messages. Fixes #6484
* Better logging (#6038) (#6095)zeripath2019-04-02301-8209/+36958
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Panic don't fatal on create new logger Fixes #5854 Signed-off-by: Andrew Thornton <art27@cantab.net> * partial broken * Update the logging infrastrcture Signed-off-by: Andrew Thornton <art27@cantab.net> * Reset the skip levels for Fatal and Error Signed-off-by: Andrew Thornton <art27@cantab.net> * broken ncsa * More log.Error fixes Signed-off-by: Andrew Thornton <art27@cantab.net> * Remove nal * set log-levels to lowercase * Make console_test test all levels * switch to lowercased levels * OK now working * Fix vetting issues * Fix lint * Fix tests * change default logging to match current gitea * Improve log testing Signed-off-by: Andrew Thornton <art27@cantab.net> * reset error skip levels to 0 * Update documentation and access logger configuration * Redirect the router log back to gitea if redirect macaron log but also allow setting the log level - i.e. TRACE * Fix broken level caching * Refactor the router log * Add Router logger * Add colorizing options * Adjust router colors * Only create logger if they will be used * update app.ini.sample * rename Attribute ColorAttribute * Change from white to green for function * Set fatal/error levels * Restore initial trace logger * Fix Trace arguments in modules/auth/auth.go * Properly handle XORMLogger * Improve admin/config page * fix fmt * Add auto-compression of old logs * Update error log levels * Remove the unnecessary skip argument from Error, Fatal and Critical * Add stacktrace support * Fix tests * Remove x/sync from vendors? * Add stderr option to console logger * Use filepath.ToSlash to protect against Windows in tests * Remove prefixed underscores from names in colors.go * Remove not implemented database logger This was removed from Gogs on 4 Mar 2016 but left in the configuration since then. * Ensure that log paths are relative to ROOT_PATH * use path.Join * rename jsonConfig to logConfig * Rename "config" to "jsonConfig" to make it clearer * Requested changes * Requested changes: XormLogger * Try to color the windows terminal If successful default to colorizing the console logs * fixup * Colorize initially too * update vendor * Colorize logs on default and remove if this is not a colorizing logger * Fix documentation * fix test * Use go-isatty to detect if on windows we are on msys or cygwin * Fix spelling mistake * Add missing vendors * More changes * Rationalise the ANSI writer protection * Adjust colors on advice from @0x5c * Make Flags a comma separated list * Move to use the windows constant for ENABLE_VIRTUAL_TERMINAL_PROCESSING * Ensure matching is done on the non-colored message - to simpify EXPRESSION
* fix bug when user login and want to resend register confirmation email (#6482)Lunny Xiao2019-04-022-7/+7
|
* Add ui class to sub_menu to fix style in arc-green (#6477)John Olheiser2019-04-021-2/+2
| | | Signed-off-by: jolheiser <john.olheiser@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2019-04-011-0/+2
|
* Fies #6468 - Uses space match and adds newline for all sed flavors (#6473)Richard Mahn2019-04-012-3/+5
|
* support custom file name in `gitea dump` command (#6474)glaszig2019-04-012-1/+7
| | | | | | | * support custom file name in `gitea dump` command * simpler approach to handle default dump file name in `gitea dump` command
* fix: avoid multi-clicks when perform oauth2 login (#6467)BetaCat2019-03-312-4/+29
|
* Fix link to Hacking on Gitea on From-Source doc page (#6471)zeripath2019-03-301-1/+1
| | | | | | * fix rel-ref * fixup
* fix typos in docs command-line examples (#6466)Ilya2019-03-291-4/+4
| | | Signed-off-by: Ilya Pavlov <ilux@cpan.org>
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-282-0/+4
|
* Hacky fix for alignment of the create-organization dialog (#6455)zeripath2019-03-281-18/+17
| | | | | | * Hacky fix for alignment of the create-organization dialog * Mangle the post-scripted red-asterisk back in to follow the Visibility Header
* Make "Ghost" not link to 404 page (#6410)oscar.lofwenhamn2019-03-277-5/+35
| | | | | | | | | | | | | * Make Ghost not link to 404 page * Make correct localization label show * Create and use GetLastEventLabelFake for when a Ghost user has made the action, thus not linking to a user profile * Add corresponding _fake entries to locale_en-US * Make Ghost avatar not link to 404 page * Make Ghost on milestone_issues not link to 404 page
* Changelogs 1.7.5 & 1.8.0-rc2 (#6453)John Olheiser2019-03-271-1/+19
| | | | | | | | * Changelog 1.8.0 rc2 (#6451) * Changelog 1.7.5 (#6444) (#6448) Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Change order that PostProcess Processors are run (#6445)mrsdizzie2019-03-272-7/+13
| | | | | | | | | | Make sure Processors that work on full links are run first so that something matching another pattern doesn't alter a link before we get to it, for example: https://stackoverflow.com/questions/2896191/what-is-go-used-fore Fixes #4813
* Use Go1.11 module (#5743)Mura Li2019-03-27575-13958/+63234
| | | | | | | | | | | | | | | | | | * Migrate to go modules * make vendor * Update mvdan.cc/xurls * make vendor * Update code.gitea.io/git * make fmt-check * Update github.com/go-sql-driver/mysql * make vendor
* move code.gitea.io/git to code.gitea.io/gitea/modules/git (#6364)Lunny Xiao2019-03-27174-145/+3044
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move code.gitea.io/git to code.gitea.io/gitea/modules/git * fix imports * fix fmt * fix misspell * remove wrong tests data * fix unit tests * fix tests * fix tests * fix tests * fix tests * fix tests * enable Debug to trace the failure tests * fix tests * fix tests * fix tests * fix tests * fix tests * comment commit count tests since git clone depth is 50 * fix tests * update from code.gitea.io/git * revert change to makefile
* Clean up ref name rules (#6437)mrsdizzie2019-03-264-4/+132
| | | | | | | | | | | | | | | | | * Clean up ref name rules Clean up checks on reference names to better conform to the guideline here: https://git-scm.com/docs/git-check-ref-format This fixes half of #6321 * Update branch create integration test According to: https://git-scm.com/docs/git-check-ref-format And: git check-ref-format "master/feature=test1" This is a valid branch name and we should not be testing for it to fail.
* Fix Hook & HookList in Swagger (#6432)Segev Finer2019-03-262-7/+48
| | | Signed-off-by: Segev Finer <segev@codeocean.com>
* Add signatures to webhooks (#6428)techknowlogick2019-03-251-0/+19
|
* routers/repo/setting: display correct error for invalid mirror interval (#6414)Allen Wild2019-03-251-0/+10
| | | | | | | | | | | Set Err_Interval in the context data so that the mirror interval box is highlighted red as expected. Clear Err_RepoName for the mirror and advanced actions. repo_name is not set by these forms, causing auth.validate() to set the Err_RepoName before SettingsPost is called, which would lead to the repository name box getting erroneously highlighted red. Fixes: https://github.com/go-gitea/gitea/issues/6396
* optimize all images in public/img (#6427)silverwind2019-03-2515-5/+6
| | | Fixes: https://github.com/go-gitea/gitea/pull/6357
* Fixed unitTypeCode not being used (#6419)kolaente2019-03-241-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-221-0/+10
|
* Updates SDK dep (#6406)Richard Mahn2019-03-226-11/+111
|
* improve zh-cn comparison docs (#6336)Lunny Xiao2019-03-211-1/+3
|
* Markdown: enable some more extensions (#6362)Roland Koebler2019-03-213-6/+74
| | | | | | | | | | | | | | * Markdown: enable some more extensions Improve Markdown-rendering by enabling some extensions: - enable definitions lists - enable footnotes - enable header-ids and automatically generate header-ids (for linking to README-sections or creating table-of-contents for larger READMEs) * Markdown: update and exted tests Update and add tests for additionally enabled Markdown-extensions.
* Don't Unescape redirect_to cookie value (#6399)mrsdizzie2019-03-202-6/+5
| | | | | | | redirect_to holds a value that we want to redirect back to after login. This value can be a path with intentonally escaped values and we should not unescape it. Fixes #4475
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-214-1/+84
|
* fix dump table name error and add some test for dump database (#6394)Lunny Xiao2019-03-203-3/+21
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-201-0/+6
|
* fix migrations 82 to ignore unsynced tags between database and git data and ↵Lunny Xiao2019-03-201-6/+40
| | | | missing is_archived on repository table (#6387)
* Show locale string on timestamp (#6324)NateScarlet2019-03-201-0/+4
| | | Resolve #6004
* Include more variables on admin/config page (#6378)mrsdizzie2019-03-193-0/+28
| | | | | | | | | | Include the current CustomPath location in the admin section and also display GITEA_WORK_DIR and/or GITEA_CUSTOM env var if they are set. Right now there is no easy way to see this information, and if you try and help most users they won't be able to tell you anything about these values -- just that their custom template isn't working, files aren't in the right place, etc... Now you can see all paths and if they were set by ENV or not.
* make sure units of a team are returned (#6379)Lanre Adelowo2019-03-192-0/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-193-0/+16
|
* fix bug manifest.json will not request with cookie so that session will ↵Lunny Xiao2019-03-191-1/+1
| | | | created every request (#6372)
* [skip ci] Updated translations via CrowdinGiteaBot2019-03-1929-0/+29
|
* Disable benchmarking during tag events on DroneIO (#6365)techknowlogick2019-03-191-35/+35
|
* Implement Default Webhooks (#4299)Russell Aunger2019-03-1818-39/+252
| | | | | | | | Partially implement #770. Add "Default Webhooks" page in site admin UI. Persist to the existing webhooks table, but store with RepoID=0 and OrgID=0. Upon repo creation, copy the set of default webhooks into the new repo.