Commit Graph
79 Commits
Author SHA1 Message Date
Kim "BKC" CarlbäckerandLunny Xiao aeb5655c25 Update go-macaron/session to latest mast to fix RCE-bug (#5177) 2018-10-25 19:53:39 +08:00
Kim "BKC" CarlbäckerandLauris BH cbee921c28 Limit uploaded avatar image-size to 4096x3072 by default (#4353) 2018-07-03 06:56:32 +03:00
Kim "BKC" CarlbäckerandGitHub e722bdbb03 Update source installation requirements (#3124)
* Update source installation requirements

We require Golang 1.8 since we use `net/url.PathEscape` which was not introduced until then

* Use Golang 1.8 for build and test

If we state Golang 1.8 we should test using that version as well

* Use golang 1.8 only for single build to see if everything compiles

* Change back edge also for commented out sqlite test
2018-01-16 22:18:11 +01:00
Kim "BKC" CarlbäckerandLauris BH e5b8b4b5ec Cleanup models.User.HashPassword (#3334) 2018-01-12 00:19:38 +02:00
Kim "BKC" CarlbäckerandLauris BH 923c0105f4 Update gitea version on docs/install-from-binary (#3333)
* Update gitea version on docs/install-from-binary

* Update all versions
2018-01-09 00:48:05 +02:00
Kim "BKC" CarlbäckerandLauris BH 4b5197beb4 Fix Uninitialized variable in ParsePatch (#3156) 2017-12-12 02:32:36 +02:00
Kim "BKC" CarlbäckerandLunny Xiao ae08e6c5be Clarify Translation Process. Also fix branch names (#2378)
* Clarify Translation Process. Also fix branch names

* Update CONTRIBUTING.md
2017-08-28 09:26:27 +08:00
Kim "BKC" CarlbäckerandLunny Xiao 5db8cf3bd1 Always return valid go-get meta, even if unauthorized (#2010)
* Always return valid go-get meta, even if unauthorized

* don't leak information
2017-06-26 09:06:40 +08:00
Kim "BKC" Carlbäcker 49d397a9ee drone sign -.- 2017-06-25 21:51:55 +02:00
Kim "BKC" CarlbäckerandGitHub cc6b3f60c6 Fix displaying commits and files of PR created from now deleted fork (#2023)
Fix displaying commits and files of PR created from now deleted fork
2017-06-22 19:40:47 +02:00
Kim "BKC" CarlbäckerandGitHub 2691673588 send notification if status changed (#1973)
send notification if status changed
2017-06-15 08:56:23 +02:00
Kim "BKC" CarlbäckerandGitHub bf48c8ebdd SQLite has a query timeout. Hopefully fixes most 'database locked' errors (#1961)
* SQLite has a query timeout. Fixes 'database locked' errors
2017-06-15 04:51:17 +02:00
Kim "BKC" CarlbäckerandGitHub 889409ba31 Fix setting.AppPath for integration tests (#1923)
Fix setting.AppPath for integration tests
2017-06-13 04:20:32 +02:00
Kim "BKC" CarlbäckerandGitHub b5d2780b22 Merge pull request #1945 from appleboy/master
[ci skip] add 1.1.2 change log.
2017-06-12 15:26:18 +02:00
Kim "BKC" CarlbäckerandGitHub d3efca3982 Merge pull request #1926 from go-gitea/bkcsoft-update-changelog
Update changelog with v1.1.1
2017-06-10 03:07:09 +02:00
Kim "BKC" Carlbäcker a5444fb3db Update changelog with v1.1.1 2017-06-10 02:10:25 +02:00
Kim "BKC" CarlbäckerandLunny Xiao 4a3f40460b Don't run 'make release' on PRs (#1908) 2017-06-09 09:52:23 +08:00
Kim "BKC" CarlbäckerandGitHub 977dcf96e0 fixes wrong after field in webhook payload (#1746) 2017-05-19 12:12:27 +02:00
Kim "BKC" CarlbäckerandGitHub 281a0389c1 fix admin lost permission caused by #947 (#1753) 2017-05-19 12:10:17 +02:00
Kim "BKC" CarlbäckerandGitHub a85c5ab9ff fix potential sqlite lock #1680 2017-05-08 10:02:44 +02:00
Kim "BKC" Carlbäcker cebe3a6b2f Revert "Set VERSION from git once, in a variable (#1447)"
This reverts commit 410af6971b.
2017-04-28 20:28:38 +02:00
Kim "BKC" CarlbäckerandLunny Xiao 4bea219128 Status-API (#1332) 2017-04-21 19:32:31 +08:00
Kim "BKC" CarlbäckerandLunny Xiao d409d3ab57 Sanitation fix from Gogs (#1461)
* Santiation fix from Gogs

* Linting

* Fix build-errors

* still not working

* Fix all the things!

* gofmt

* Add code-injection checks
2017-04-13 10:52:24 +08:00
Kim "BKC" CarlbäckerandLunny Xiao d349f059af Cleaner IMO (#1361) 2017-03-22 22:30:40 +08:00
Kim "BKC" CarlbäckerandGitHub c05bd1789c Reduce conditionals in signin/signup inner forms (#1138) 2017-03-22 00:50:56 +01:00
Kim "BKC" CarlbäckerandLunny Xiao 0693fbfc00 Refactor repo/issue/view_content.tmpl (#1276) 2017-03-17 13:57:43 +08:00
Kim "BKC" CarlbäckerandLunny Xiao 7a81cd16c5 Refactor admin/auth/new.tmpl (#1277) 2017-03-17 13:55:04 +08:00
Kim "BKC" CarlbäckerandLunny Xiao 669dad71f8 Add Screenshot-secion to IssueTemplate.md (#939)
For `UI`-bugs we usually require a Screenshot to debug it 😉
2017-02-17 08:58:01 +08:00
Kim "BKC" CarlbäckerandLunny Xiao 091f063706 Add import-styleguide to Contributing.md (#912)
* Add import-styleguide to Contributing.md

Question: should we group all `code.gitea.io`-packages together as local imports? (including `code.gitea.io/sdk` and `code.gitea.io/git` etc)

* reorg

* be specific FFS
2017-02-13 10:35:57 +08:00
Kim "BKC" CarlbäckerandLunny Xiao df7fa4e995 issue comment api fix (#449)
* ListAllInRepo & Delete Issue-Comments

* Moar data in issue-comments
2016-12-22 16:29:26 +08:00
Kim "BKC" CarlbäckerandLunny Xiao 1d1c01875d Autogenerate Version on build (#190)
* Autogenerate Version On Build

* Fixes

* Changed Version to v0.9.0

* balls

* I hate newlines

* Don't remove .VERSION-file on `make clean`

* v0.9.0 => 1.0.0

* damn new-lines...

* Always rebuild templates/.VERSION

* Delete .VERSION

* Update Makefile
2016-12-13 12:48:58 +08:00
Kim "BKC" CarlbäckerandGitHub 1b5b297c39 Actually fix 'make build' (#353)
* Actually fix bloddy 'make build'
2016-12-05 18:35:22 +01:00
Kim "BKC" CarlbäckerandLunny Xiao cd0ce9f3d8 Awlays build, even when it thinks it's up to date (#351) 2016-12-05 22:58:04 +08:00
Kim "BKC" CarlbäckerandGitHub d07c955e2a Fix regression in PR-API #248 (#349)
* Fix #344 (regression in PR-API #248)
2016-12-05 12:17:39 +01:00
Kim "BKC" CarlbäckerandGitHub 0f05470cb8 [API] Pull Requests (#248) 2016-12-02 12:10:39 +01:00
Kim "BKC" CarlbäckerandGitHub d7ed78a919 Merge pull request #227 from go-gitea/api/github-compliance
GitHub API Compliance Fixes
2016-12-02 10:04:15 +01:00
Kim "BKC" Carlbäcker e8e0539b45 Linting 2016-12-02 09:31:44 +01:00
Kim "BKC" Carlbäcker e6cfccdd40 GitHub API Compliance (& linting) 2016-12-02 09:18:15 +01:00
Kim "BKC" Carlbäcker 71bb6df75a Add undocumented endpoint for /repositories/:id 2016-12-02 09:18:15 +01:00
Kim "BKC" CarlbäckerandGitHub 31950cb262 Merge pull request #322 from lunny/lunny/pull_typo
typo in model/pull.go
2016-12-01 09:20:48 +01:00
Kim "BKC" Carlbäcker 42ec5ce740 Fix breakage from vendor-update 2016-11-29 11:50:22 +01:00
Kim "BKC" Carlbäcker dad806d3ea CreateBranch-hook has shasum. Use the full ref for fetching shasum 2016-11-29 11:50:22 +01:00
Kim "BKC" Carlbäcker 57dc9efaae Update gitea/sdk vendor 2016-11-29 11:50:22 +01:00
Kim "BKC" Carlbäcker f364522468 Tag-webhooks are useless without shasums 2016-11-29 11:50:22 +01:00
Kim "BKC" CarlbäckerandGitHub 07a0753420 Merge pull request #169 from strk/allow-update-draft-releases
Allow updating draft releases while keeping them as draft
2016-11-14 21:48:21 +01:00
Kim "BKC" CarlbäckerandGitHub 85b8b7f4e1 Merge pull request #90 from metalmatze/feature/tool-tests
Start to add tests for modules/base/tool
2016-11-08 10:30:52 +01:00
Kim "BKC" Carlbäcker 562f9b6eae Merge all pagination-templates into 'base/paginate'
to reduce code-duplicity
2016-11-07 12:44:29 +01:00
Kim "BKC" Carlbäcker 86fb1a0cb1 Add Pagination to Releases-page 2016-11-07 11:41:09 +01:00
Kim "BKC" CarlbäckerandGitHub 5a8cb2dac1 Merge pull request #60 from andreynering/gitea/issue-pr-number-on-title
Show issue/PR number on title
2016-11-04 03:14:31 +01:00
Kim "BKC" Carlbäckerand无闻 4f40019130 codegangsta/cli => urfave/cli (#3546) 2016-08-30 04:57:58 -07:00
Kim "BKC" Carlbäckerand无闻 06602a84ff Fix PR-webhook issue where Label-data is stale (#3486) (#3510)
* Fix PR-webhook issue where Label-data is stale

* Conventions \o/

* logs are nice if they're consistent...
2016-08-24 12:01:30 -07:00
Kim Carlbäckerand无闻 b710f6bd65 Update gopmfile and glide.lock (#3508) 2016-08-23 14:53:16 -07:00
Kim Carlbäckerand无闻 7c5710d31f Issues can be closed via API (#3170) (#3479)
* Issues can be closed via API

* Error-checking is nice xD

* EditIssueOption.Status => State

* Use const instead of string-literal
2016-08-23 09:09:32 -07:00
Kim Carlbäckerand无闻 b756806ee9 Add "support" for git-daemon-export-ok (#2940) (#3046)
* add git-daemon-export-ok "support"

* Slight fix to git-daemon-export-ok

* Add error-checking for git-demon-export-ok

* Remove old comments and fixed logging-issues

* Check if git-daemon-export-ok exists or not
2016-08-10 20:08:09 -07:00
Kim Carlbäckerand无闻 d950bf68e3 Ignore Response Body for Slack Hooks #3169 (#3256) 2016-07-15 14:02:19 +08:00
Kim Carlbäckerand无闻 f4ab50501e [Fix] Don't display way too large files #1513 (#3253)
* Add MaxDisplayFileSize setting

* Don't show files that are too large

* Localized FileTooLarge

* Change IsFileTooBig => IsFileTooLarge
2016-07-12 06:21:26 +08:00
Kim CarlbäckerandUnknwon 3c0c7a9f83 Fix listing team members (#3048) 2016-05-06 20:02:36 -04:00
Kim CarlbäckerandUnknwon 3df8eb60e3 PDF-Previews in file-lists now working (#3000) 2016-04-26 21:48:44 -04:00
Kim CarlbäckerandUnknwon b3c05026df [Feature/WIP] Confirm on editing forms (fixes #2881) (#2980)
* Add and start jQuery AreYouSure

* Update SimpleMDE to 1.10.1 for `forceSync` support

* Forgot to remove old version SimpleMDE 1.10.0

* formatting -.-
2016-04-19 16:45:28 -04:00
Kim CarlbäckerandUnknwon ce36fd7a49 Fixed #2909 (#2979) 2016-04-19 16:35:36 -04:00
Kim "BKC" Carlbäcker 96dee1c354 Split view fixed 2016-01-27 23:52:42 +01:00
Kim "BKC" Carlbäcker 1ab8a60d73 Not working, but slightly better... 2016-01-27 21:48:57 +01:00
Kim "BKC" Carlbäcker 85335c5f56 Go-ism :D 2016-01-27 20:11:07 +01:00
Kim "BKC" Carlbäcker d943429672 Added example to conf/app.ini 2016-01-27 02:05:53 +01:00
Kim "BKC" Carlbäcker 3a9fd81f59 Custom URL-Schemas for Markdown 2016-01-27 02:02:03 +01:00
Kim "BKC" Carlbäcker edc414c584 Fixed Webhook URL-length Issue #2465 2016-01-27 01:40:35 +01:00
Kim "BKC" Carlbäcker b31c7fe074 Fixed Poster/Commenter-bug and clean-up 2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker 2665728ee7 Fix OP not 'participating' until commented 2016-01-26 17:55:54 +01:00
Kim Carlbäcker f65dedc3be Optimize participant-fetching 2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker b921161666 Name popup 2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker 2cc1ee3fc0 Implemented participant-listing for issue-pages 2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker a3eab8185d Admins are allowed to create repos for arbitrary Orgs 2016-01-20 14:46:45 +01:00
Kim "BKC" Carlbäcker a1a4f1103c Made Sanitizer-setup cleaner 2016-01-14 03:00:05 +01:00
Kim "BKC" Carlbäcker 8e09e03127 Checklist-rendering implemented 2016-01-13 13:25:52 +01:00
Kim "BKC" Carlbäcker 2087156119 Removed opticon-fold 2016-01-06 02:21:20 +01:00
Kim "BKC" Carlbäcker 3870a7a3c8 merged split/unified templates 2016-01-06 00:08:50 +01:00
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified 2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker 4e6d048ba1 i18n-fix for split-view 2016-01-05 19:21:49 +01:00
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00