Commit Graph

65 Commits (e00df9fb8eda226d18b09a0ec1422860e516341d)

Author SHA1 Message Date
silverwind 1fbfccb4fc Use standard lessc and minify CSS using Node.js (#2337)
* 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
2017-09-21 11:35:11 +08:00
Ethan Koenig b0f7457d9e Improve issue search (#2387)
* Improve issue indexer

* Fix new issue sqlite bug

* Different test indexer paths for each db

* Add integration indexer paths to make clean
2017-09-16 23:16:21 +03:00
Bo-Yi Wu 3e89e89670 add codecov.io service. (#2493)
* add codecov.io service.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* only PR or master branch (for coverage badge)

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* update init

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-09-13 20:57:55 +08:00
Lauris BH 377cd1ae38 Allow changing integration test database connection using env variables (#2484) 2017-09-13 14:03:20 +08:00
Lauris BH 4c2b1be3a4 Basic VSCode configuration for building and debugging (#2483)
* Basic VSCode configuration for building and debugging

* Fix building and debugging in Windows

* Move to contrib folder and add instructions
2017-09-12 20:27:44 +08:00
Antoine GIRARD 69dfe43ffc Fix some tests : make coverage -> test (#2492)
* Fix test : make coverage -> test

* Refactor integration tests to be able to run them in parallel

* Add custom local repository temp path
2017-09-12 13:51:12 +08:00
Ethan Koenig 792cde7081 Coverage reports for integration tests (#1960) 2017-06-15 17:38:33 +08:00
Bo-Yi Wu e7ae13deef fix: error from mktemp command in MacOS. (#1837)
* fix: error from mktemp command in MacOS.

* [ci skip] udpate temp name.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-04 03:48:18 -05:00
Lunny Xiao fca7ddc6ea improve integration test to resue models/fixtures and store git repos with tests (#1627)
* improve integration test to resue models/fixtures and store git repos with source

* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test

* fix import package name
2017-04-28 21:23:28 +08:00
Ethan Koenig c58708d3ee Integration test framework (#1290)
* Integration test framework

* udpate drone sign

* Formatting fixes and move router.go to routers/

* update sign for drone
2017-04-25 15:24:51 +08:00
Ethan Koenig 833f8b94c2 Search bar for issues/pulls (#530) 2017-01-25 10:43:02 +08:00
Thomas Boerger b33078fa33 Bindata is optional and over-writable on restart (#354)
* Moved conf assets into options folder

* Dropped old bindata

* Started to integrate options bindata and accessors

* Do not enforce a builtin app.ini

* Replaced bindata calls with options

* Dropped bindata task from makefile, it's the generate task now

* Always embedd app.ini to provide sane config defaults

* Use sane defaults for the configuration

* Defined default value for SSH_KEYGEN_PATH

* Dropped "NEVER EVER MODIFY THIS FILE" header from app.ini

* Fixed new paths in latest test additions

* Drop bindata with make clean task

* Set more proper default values
2016-12-22 19:12:23 +01:00
Thomas Boerger 83ed234472 Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
2016-12-06 18:58:31 +01:00
Thomas Boerger b6a95a8cb3 Integrate public as bindata optionally (#293)
* Dropped unused codekit config

* Integrated dynamic and static bindata for public

* Ignore public bindata

* Add a general generate make task

* Integrated flexible public assets into web command

* Updated vendoring, added all missiong govendor deps

* Made the linter happy with the bindata and dynamic code

* Moved public bindata definition to modules directory

* Ignoring the new bindata path now

* Updated to the new public modules import path

* Updated public bindata command and drop the new prefix
2016-11-30 00:26:36 +08:00
Thibault Meyer 7ea943d501
Add IDEA IntelliJ to .gitignore 2016-11-10 10:01:44 +01:00
Thomas Boerger d1b14fef56
Stop ignoring gitea in general 2016-11-07 16:10:32 +01:00
Thomas Boerger c524078d2b
Extended gitignore 2016-11-04 23:46:11 +01:00
Thomas Boerger 7a870080d6
Added a common golang gitignore 2016-11-04 23:45:06 +01:00
Thomas Boerger 998e7452b8
Dropped vendoring from gitignore 2016-11-04 08:43:11 +01:00
Unknwon df2bdf7ea3 Use glide 2016-03-11 12:18:27 -05:00
Unknwon 58f0c68151 Some minor changes 2016-03-06 16:40:04 -05:00
Unknwon e797a225b6 Fix #2564 file ignored by git 2016-02-05 17:19:32 -05:00
Unknwon a374751eb8 add Makefile 2015-11-03 12:16:43 -05:00
Jean-Philippe Roemer fc427432ed Docker Container Restart Fix
- Fix s6 fifodir error on container restart
- Add .tags* to .gitignore (Atom auto ctags generation)
2015-10-10 21:03:19 +01:00
Unknwon ac95f6d50f UI: basic label list
- create new label
2015-07-24 21:02:49 +08:00
Stefan-Code e5d6f4ce56 Changes to repo-header-download-drop, different repo-clone-url input behaviour 2015-02-11 07:28:51 +01:00
Unknwon f1d8746264 Fix fork repo and macaron API broken 2014-10-24 18:43:17 -04:00
Unknwon f69761563b Fix bug on transfer repo 2014-09-25 16:36:19 -04:00
Unknwon 7af7584d25 Finish new reset password, etc. 2014-08-09 21:02:00 -07:00
Unknwon a8e05fdf1b Use toolbox 2014-08-06 17:21:24 -04:00
Unknwon 6fc2107529 Add missing less files 2014-08-05 21:18:29 -04:00
Unknwon 8dd07c0ddd New UI merge in progress 2014-07-26 00:24:27 -04:00
Justin Nuß fa1db64ff0 Add files/ directory to .gitignore 2014-07-24 13:49:27 +02:00
Lunny Xiao 6418caf23a add build script 2014-07-16 09:48:19 +08:00
Unknown 7ffdabb28f Move debug router location 2014-07-06 18:25:07 -04:00
juju2013 efc05ea1de initial support for LDAP authentication/MSAD 2014-04-23 23:07:54 +02:00
zhsso a4cbe79567 fix 2014-04-10 14:20:58 -04:00
zhsso f3ed11d177 mistakes 2014-04-10 14:20:01 -04:00
Lunny Xiao 16b6e5d50b bug fixed 2014-04-10 22:12:32 +08:00
skyblue 74ff217c7e add tests 2014-03-31 13:30:32 +08:00
Lunny Xiao 11b0a97d7a Merge branch 'master' of localhost:xiaoxiao/gogs3
Conflicts:
	.gitignore
	README.md
2014-03-26 13:56:36 +08:00
xiaoxiao b4db9f6754 Init commit 2014-03-26 13:54:44 +08:00
Lunny Xiao bb71a1bc1d Merge branch 'master' of localhost:xiaoxiao/gogs7
Conflicts:
	.gitignore
2014-03-25 18:27:56 +08:00
xiaoxiao 01b3b7004d Init commit 2014-03-25 18:26:58 +08:00
Lunny Xiao 2ec111e1a2 Merge branch 'master' of localhost:xiaoxiao/gogs6
Conflicts:
	.gitignore
2014-03-25 18:14:13 +08:00
xiaoxiao 2856bee022 Init commit 2014-03-25 18:12:51 +08:00
Lunny Xiao fcbe7ef5c1 Merge branch 'master' of localhost:xiaoxiao/gogs3
Conflicts:
	.gitignore
	LICENSE
2014-03-25 17:19:02 +08:00
xiaoxiao c61fa28f49 Init commit 2014-03-25 17:17:34 +08:00
Lunny Xiao 5bfad6867d Merge branch 'master' of try.gogits.org:lunny/gogs
Conflicts:
	.gitignore
	LICENSE
2014-03-25 17:14:28 +08:00
lunny 1d30f545d6 Init commit 2014-03-24 14:28:20 +00:00