Commit graph

92 commits

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
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
Sandro Santilli 79f7839633 Wrap most text to 80 columns (#2452) 2017-09-02 22:38:31 +03:00
Antoine GIRARD 019c90ab8f Update CONTRIBUTING following #2329 discussion
Creation of release branch before end of release dev and releases candidates + follow semver semantic (minor, patch)
2017-08-28 19:08:24 +02:00
Kim "BKC" Carlbäcker 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
Jonas Östanbäck cc5484de10 Update links to Discord server 2017-06-11 19:42:08 +02:00
Peter Dave Hello 18f46fd7cf [ci skip] Add "Table of Contents" in CONTRIBUTING.md (#1634) 2017-04-28 21:56:28 +08:00
Antoine GIRARD 941281ae12 Use MAINTAINERS file in repository in CONTRIBUTING (#1489)
* Use MAINTAINERS file in repository because teams are not publicly available

* Use relative link
2017-04-18 08:56:28 +08:00
Bo-Yi Wu 29c6f32a3b Fix some links. (#1005) 2017-02-22 21:21:25 +08:00
Lunny Xiao c2c27891c9 add release cycle to contributing (#949) 2017-02-19 23:23:37 +08:00
Kim "BKC" Carlbäcker 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
Lunny Xiao 55f2059f71 add vendoring back (#890) 2017-02-11 11:55:22 +08:00
Bwko 3461003a0f Update the contribution guidelines (#726) 2017-01-24 09:16:19 +08:00
Ross Smith II f2931468ec Typos and make CONTRIBUTING a little nicer 2017-01-06 07:55:53 -08:00
Thibault Meyer aae960b31f
Fix URL link on CONTRIBUTING
Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com>
2016-12-30 18:45:52 +01:00
Morgan Bazalgette db29855d2d Apply suggested changes 2016-12-04 22:50:36 +01:00
Morgan Bazalgette e6cb9a7397 Fix typos in CONTRIBUTING
Signed-off-by: Morgan Bazalgette <the@howl.moe>
2016-12-04 20:56:21 +01:00
Thomas Boerger 8def53ffcc
Add a pragraph to the k8s PR guide to contributors guide 2016-11-28 16:57:42 +01:00
Thomas Boerger 91d6c715ea
Dropped new lines from contributing, some rewording and reformatting 2016-11-28 14:35:55 +01:00
Andrey Nering 6a28909f40 CONTRIBUTING.md: link to "Faster reviews" document (#229)
* CONTRIBUTING.md: link to "Faster reviews" document

* CONTRIBUTING.md: small fixes
2016-11-25 09:25:34 +08:00
Sandro Santilli 39b3fcad1d Wrap vendor/ in backtics 2016-11-17 17:06:13 +01:00
Sandro Santilli 4faf9c213e Add vendoring section
Closes #178
2016-11-17 16:49:12 +01:00
Sandro Santilli 9f437eb1ab Wrap text to 80 columns (#81)
Use a list for owners (nitpick response)
2016-11-05 23:23:14 +01:00
Lunny Xiao 587d870f1e follow the advisor: add DCO and some improvements 2016-11-04 16:43:41 +08:00
Lunny Xiao 33df11e823 typo and contributing improved 2016-11-04 15:05:45 +08:00
Lunny Xiao a90b25226a added CONTRIBUTING 2016-11-04 09:39:04 +08:00
Unknwon 2fdf8fc938 Add issue and pull request template 2016-02-17 21:22:58 -05:00
Unknwon c6083c335e #1612 Ability to send mail when a new pull request is submitted 2015-12-10 11:18:56 -05:00
Unknwon 2020bafee1 fix typo 2015-10-09 22:09:07 -04:00
masegaloeh f1ba0c859f Fix email contact and link 2015-03-25 16:07:09 +07:00
Unknwon a6a99d49cf reword 2015-02-22 00:12:55 -05:00
Benjamin Pollack 8c1986181d Fix a bunch of small typos and formatting quirks 2015-02-14 15:32:56 -05:00
Unknwon fc1befcf3c update README notice and CONTRIBUTING.md 2015-02-07 11:09:17 -05:00
Unknwon 1a5aa5e0c0 fix #741 2014-12-16 02:28:57 -05:00
Unknwon 830efc90da update docs and mirror bug fix 2014-09-02 07:11:39 -04:00
Unknown 6696610aea Fix zombie 2014-05-28 22:15:15 -04:00
Unknown 8ca14e2109 Improve delete SSH key 2014-05-06 16:28:52 -04:00
Unknown 59d0e73c35 Batch mirror fix 2014-04-26 22:34:48 -06:00
Unknown 7d07b58114 UPDATE README 2014-04-11 13:24:19 -04:00
Unknown 59bbddb318 Mirror fix 2014-03-24 07:36:38 -04:00
Unknown f8cfb81fb0 Mirror updates 2014-03-23 12:16:17 -04:00
Unknown e67653cf13 Bug fix 2014-03-21 04:13:32 -04:00