summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Disable arm7 builds (#7037)techknowlogick2019-05-251-1/+1
| | | | | | | | * Disable arm7 builds As arm6 works on arm7 platforms with no noticeable performance difference * 386
* add make targets for js and css, add js linter (#6952)silverwind2019-05-161-18/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add make targets for js,css, add javascript linter - add `make js`, deprecating `make javascripts` - add `make css`, deprecating `make generate-stylesheets` and `make stylesheets-check` - changed the unclean css check to only run on CI - add JS linting via eslint with basic configuration and fixed discovered issues - changed autoprefixer to use official `postcss-cli` avoiding the need to loop in the makefile - moved browserslist to package.json so other future tools can use it too. - update documentation for new make targets and added JS section * fix indentation * move functions used in html to 'exported' list * Run lessc binary without having to install anything to node_modules * use relative paths to node bin scripts, removing npx * Revert "use relative paths to node bin scripts, removing npx" This reverts commit 119b725525a8430b32ee7a6e6009b4ece544e39b. * fix lessc and postcss plugins * check for node_modules and use actual bin names
* Add less linter via npx (#6936)Xaver Maierhofer2019-05-141-0/+1
|
* Use single line per selector & don't strip license comments (#6919)Xaver Maierhofer2019-05-131-2/+2
|
* Enforce osusergo build tag for releases (#6862)Antoine GIRARD2019-05-061-3/+3
|
* Make CustomPath, CustomConf and AppWorkPath configurable at build (#6631)zeripath2019-04-291-9/+3
|
* Prevent creating empty sessions (#6677)zeripath2019-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent creating empty sessions Signed-off-by: Andrew Thornton <art27@cantab.net> * Update modules/setting/session.go * Remove unnecessary option Signed-off-by: Andrew Thornton <art27@cantab.net> * Add destory to list of ignored misspellings * rename cookie.go -> virtual.go * Delete old file * Add test to ensure that sessions are not created without being logged in Signed-off-by: Andrew Thornton <art27@cantab.net> * fix tests Signed-off-by: Andrew Thornton <art27@cantab.net> * Update integrations/create_no_session_test.go
* remove bash requirement in makefile (#6617)techknowlogick2019-04-141-2/+1
|
* Fix cross-compile builds (#6609)techknowlogick2019-04-141-6/+8
|
* 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
* add make version on gitea version (#6485)Lunny Xiao2019-04-021-1/+3
|
* Fies #6468 - Uses space match and adds newline for all sed flavors (#6473)Richard Mahn2019-04-011-2/+4
|
* Use Go1.11 module (#5743)Mura Li2019-03-271-10/+7
| | | | | | | | | | | | | | | | | | * 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
* optimize all images in public/img (#6427)silverwind2019-03-251-5/+6
| | | Fixes: https://github.com/go-gitea/gitea/pull/6357
* Make the version within makefile overwriteable (#6080)techknowlogick2019-03-181-2/+2
| | | Fix #1173
* Add test environment for Mysql8 (#5234)Lunny Xiao2019-03-171-4/+20
|
* use updated reference of xgo in makefile (#6339)techknowlogick2019-03-151-3/+3
|
* [Contrib] Checkout a PR (#6021)Antoine GIRARD2019-03-071-0/+4
|
* UI: Make document body a flexbox (#6139)silverwind2019-02-241-1/+1
| | | | | | | | | | | | * UI: Make document body a flexbox Fixes: https://github.com/go-gitea/gitea/issues/6118 * ie11 fixes * increase padding to 80px * add flex-grow
* Refactor coverage profile with multiple packages (#6167)Bo-Yi Wu2019-02-231-1/+1
|
* Makefile changes for Windows and easier development (#6103)John Olheiser2019-02-201-3/+9
| | | | | | | | * Added Go Path and node_modules to PATH * Uses npx now for generate-stylesheets * Uses `go env GOPATH` to calculate adding GOPATH/bin to PATH * Added note about installing Node 8.0+ to generate stylesheets * Added preferred Node version to CONTRIBUTING.md
* Run benchmark at tag to track performances (#6035)Antoine GIRARD2019-02-111-0/+4
|
* Add autoprefixer to css build (#6029)silverwind2019-02-111-0/+2
| | | | | | * Add autoprefixer to css build * also use autoprefixer on theme files
* Add migration test (#5773)zeripath2019-01-281-1/+27
| | | | | | | | | | | | | | * Add migration test This commit adds a simple migration test for v1.5.3, v1.6.4 and v1.7.0-rc3 Signed-off-by: Andrew Thornton <art27@cantab.net> * Automigrate based on available dbs * remove old ini file * Standardise the dialect names
* Fix makefile generate buildstep (#5556)Jonas Franz2018-12-171-1/+1
| | | Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Added test environment for mssql (#4282)kolaente2018-12-121-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added test environment for m$sql * Added template for test environment for m$sql * Fix password * Fix password (again) * Fix password (again again) * Fix db * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Ci trigger (Looking at you drone....) * Create master database for mssql integration tests Signed-off-by: Jonas Franz <info@jonasfranz.software> * Create database only if master do not exist Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix mssql integration tests by using custom database "gitea" Signed-off-by: Jonas Franz <info@jonasfranz.software> * Moved defer * bump xorm * updated xorm * Fixed build
* refactor: replace lint to revive (#5422)Bo-Yi Wu2018-12-031-3/+3
| | | | | | | | * refactor: replace lint to revive * make changes. Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Create Progressive Web App (#4730)SohnyBohny2018-11-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | * Create manifest and serviceworker * Create templates and add AppSubUrl * Add JSRenderer * fix ctx type * Add JSRenderer to static.go * Complete adding {{AppSubUrl}} * Add more fonts to urlsToCache * Add 512px and 192px icons * Hardcode font MD5 * Default theme doesn't have a specific CSS file
* Update build tags for sqlite_unlock_notify (#5144)Mura Li2018-10-231-3/+3
|
* Fix golint to new URL (#5079)Lauris BH2018-10-121-1/+1
|
* Swagger.v1.json template (#3572)Piotr Orzechowski2018-07-281-3/+10
| | | | | | * Turn swagger.v1.json into template * Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER
* Fix drone git@next plugin Gitea version display when building tag (#4380)Lauris BH2018-07-121-11/+13
|
* Add the ability to have built in themes in Gitea (#4198)techknowlogick2018-07-051-1/+5
| | | | | | | | | This makes it easier for user who want to theme but don't have the ability to know how to customize templates all that is required is a change in a config option The reason why I chose the DEFAULT_THEME as variable, as perhaps in the future we will allow users to chose their theme whon logged in just like we do with languages
* Add make command to validate swagger file (#4096)Fluf2018-06-021-0/+7
| | | Partial fix for #4088
* Provide compressed releases (#3991)Antoine GIRARD2018-05-211-1/+8
| | | | | | * Add release-compress to provide compressed releases * check after compress
* Migrate to dep (#3972)Antoine GIRARD2018-05-211-10/+14
| | | | | | | | | | | | * Update makefile to use dep * Migrate to dep * Fix some deps * Try to find a better version for golang.org/x/net * Try to find a better version for golang.org/x/oauth2
* Update less.js to latest version (#3932)Lauris BH2018-05-101-1/+1
|
* Add swagger check (#3811)Antoine GIRARD2018-04-201-1/+10
|
* Add more bench (#3161)Antoine GIRARD2017-12-241-3/+3
| | | | | | * Improve makefile + Add benchs * Apply recommendations of @ethantkoenig
* Restore make test target (#3139)Ethan Koenig2017-12-111-1/+0
| | | | | | * Restore make test target * make build -> go build
* Fix compile failed without gcc (#3130)Lunny Xiao2017-12-101-2/+3
| | | | | | * fix comile failed without gcc * add sqlite tag for unit test
* Fix coverage reports (#2974)Ethan Koenig2017-11-261-8/+1
|
* Fix bench deps since #2916 (#2971)Antoine GIRARD2017-11-261-4/+4
|
* Restore build as the default make rule (#2935)Ethan Koenig2017-11-191-2/+2
|
* Combine identical Makefile rules (#2916)Ethan Koenig2017-11-171-9/+6
|
* Docker multi-arch base (#1985)Antoine GIRARD2017-11-161-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create docker/manifest/base.yml serve as base for build docker image for most platform (386,amd64,arm,arm64) * Add make task docker-multi-arch-push-manifest To update references of a multi-arch image on docker registry. * Use SED_INPLACE generic sed command * Delete Dockerfile.aarch64 Delete Dockerfile.rpi * Use gitea/gitea-base as base and replace deprecated MAINTAINER by LABEL (https://docs.docker.com/engine/reference/builder/#maintainer-deprecated) * Fix rebase * Use sapk/gitea-base as base * Split makefile for docker * Fix version to v3.6 Could use in later version edge of alpine official library that support multi-arch for armhf. * Remove sapk/gitea-base and use directly new official alpine multi-arch
* Update swagger documentation (#2899)Ethan Koenig2017-11-131-2/+0
| | | | | | | | | | | * Update swagger documentation Add docs for missing endpoints Add documentation for request parameters Make parameter naming consistent Fix response documentation * Restore delete comments
* Move swagger-ui under /api/v1 (#2746)Antoine GIRARD2017-10-211-2/+2
| | | | | | | | | | | | * Move swagger interface under /api/v1 * Update swagger-ui * Add /api/swagger and prepare for multiple api version * Update test links * Fix footer link
* Compress css with nodejs (#2580)Morlinest2017-09-241-9/+5
|
* Use standard lessc and minify CSS using Node.js (#2337)silverwind2017-09-211-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use standard lessc and minify CSS using Node.js This changes the previous nonstandard `lessc` to the official one and enables CSS minification via the clean-css module. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally in node_modules so there is no dependency on binaries in PATH. Benefits include: - Allows one to have a standard lessc in PATH. - Can now use command line switches on lessc. - Minified CSS brings faster page load times and also has the benefit of discouraging contributors from editing CSS directly. To build CSS, Node.js is required along with a `npm install` to get the tools installed locally based on the information in `package.json`. The 'make stylesheet' task was modified to run without condition. This makes it easier to work on the make task itself without having to delete files. Also fixes: https://github.com/go-gitea/gitea/issues/2198 * install node, npm and modules on drone * .PHONY * use 'minify' to minify CSS