Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
Commit graph

121 commits

Author SHA1 Message Date
silverwind 04f996f1f9 remove and disable package-lock (#6969)
* remove and disable package-lock

Using exact versions in package.json has the same effect as lockfiles
without all the troubles the lockfiles bring (different versions of
package manager generating different lockfiles primarily).

Ensured we only use exact versions in package.json and stopped
generation of new lockfiles via .npmrc which is support by both the npm
and yarn package managers.

Fixes: https://github.com/go-gitea/gitea/issues/6967

* enable save-exact
2019-05-16 15:33:54 -04:00
Lunny Xiao 08069dc465
Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290)
* add migrations

* fix package dependency

* fix lints

* implements migrations except pull requests

* add releases

* migrating releases

* fix bug

* fix lint

* fix migrate releases

* fix tests

* add rollback

* pull request migtations

* fix import

* fix go module vendor

* add tests for upload to gitea

* more migrate options

* fix swagger-check

* fix misspell

* add options on migration UI

* fix log error

* improve UI options on migrating

* add support for username password when migrating from github

* fix tests

* remove comments and fix migrate limitation

* improve error handles

* migrate API will also support migrate milestones/labels/issues/pulls/releases

* fix tests and remove unused codes

* add DownloaderFactory and docs about how to create a new Downloader

* fix misspell

* fix migration docs

* Add hints about migrate options on migration page

* fix tests
2019-05-07 09:12:51 +08:00
Lunny Xiao 4a6b011b15 Add test environment for Mysql8 (#5234) 2019-03-17 15:17:18 -04:00
Lunny Xiao 0751153613
refactor issue indexer, add some testing and fix a bug (#6131)
* refactor issue indexer, add some testing and fix a bug

* fix error copyright year on comment header

* issues indexer package import keep consistent
2019-02-21 08:54:05 +08:00
kolaente 6db7dbd333 Added test environment for mssql (#4282)
* 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
2018-12-12 09:01:41 +08:00
Thorben 14f16d6c2e snap-packaging for gitea (#2568)
* Modify tbraeutigam/gogs-snap for gitea

* Fix building on 16.04 (manually build go-bindata).
-> add _source.tar.bz2 to .gitignore (used by snapcraft cleanbuild)

* Streamline Snap packaging:
 - Take advantage of install-hooks (snapd 2.27)
 - Use snapctl configuration storage for unchanging values

* Move to using Snap Hooks for configuration

* Missed re-adding daemon statement

* Fix two warnings from Codacy.
2018-05-09 22:52:51 +08:00
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
Unknown 6bc7ae971a Mirror fix 2014-03-23 10:58:50 -04:00
slene f9c07c4186 update session 2014-03-22 20:49:53 +08:00
Unknown 9f9cd6bfc6 Work on admin 2014-03-20 07:50:26 -04:00
Unknown 460aa3eaa9 optimize log 2014-03-19 03:24:17 -04:00
Unknown ee93186f72 Mirror change 2014-03-17 06:58:34 -04:00
slene 0791d01513 update tmpl 2014-03-15 20:40:26 +08:00
Unknown bd4ee75fc3 Update 2014-03-14 00:19:07 -04:00
Unknown 8dd956f88a Move custom dir to custom/ 2014-03-12 21:40:18 -04:00
Unknown 6ce9d800d0 Add custom.ini 2014-03-10 23:03:17 -04:00
Lunny Xiao b73cf0ee77 merge 2014-03-03 22:44:51 +08:00
Lunny Xiao c2dbaebde0 remove *.log 2014-03-03 22:25:07 +08:00
Unknown aad4856948 Clean 2014-03-03 00:57:04 -05:00
Lunny Xiao 237193ef2a add user models 2014-02-14 22:20:57 +08:00
Unknown 96b317d3ff Init commit 2014-02-12 14:54:09 -05:00
Unknown 4836fea876 Init commit 2014-02-12 12:49:46 -05:00