1. 13 Oct, 2019 1 commit
    • Lunny Xiao's avatar
      Move migrating repository from frontend to backend (#6200) · f2a3abc6
      Lunny Xiao authored
      
      * move migrating to backend
      
      * add loading image when migrating and fix tests
      
      * fix format
      
      * fix lint
      
      * add redis task queue support and improve docs
      
      * add redis vendor
      
      * fix vet
      
      * add database migrations and fix app.ini sample
      
      * add comments for task section on app.ini.sample
      
      * Update models/migrations/v84.go
      Co-Authored-By: default avatarlunny <xiaolunwen@gmail.com>
      
      * Update models/repo.go
      Co-Authored-By: default avatarlunny <xiaolunwen@gmail.com>
      
      * move migrating to backend
      
      * add loading image when migrating and fix tests
      
      * fix fmt
      
      * add redis task queue support and improve docs
      
      * fix fixtures
      
      * fix fixtures
      
      * fix duplicate function on index.js
      
      * fix tests
      
      * rename repository statuses
      
      * check if repository is being create when SSH request
      
      * fix lint
      
      * fix template
      
      * some improvements
      
      * fix template
      
      * unified migrate options
      
      * fix lint
      
      * fix loading page
      
      * refactor
      
      * When gitea restart, don't restart the running tasks because we may have servel gitea instances, that may break the migration
      
      * fix js
      
      * Update models/repo.go
      Co-Authored-By: default avatarguillep2k <18600385+guillep2k@users.noreply.github.com>
      
      * Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
      Co-Authored-By: default avatarguillep2k <18600385+guillep2k@users.noreply.github.com>
      
      * fix tests
      
      * rename ErrTaskIsNotExist to ErrTaskDoesNotExist
      
      * delete release after add one on tests to make it run happy
      
      * fix tests
      
      * fix tests
      
      * improve codes
      
      * fix lint
      
      * fix lint
      
      * fix migrations
      Unverified
      f2a3abc6
  2. 19 Jun, 2019 1 commit
    • silverwind's avatar
      add 'npm' and 'npm-update' make targets and lockfile (#7246) · a71cabbd
      silverwind authored
      * add 'npm' and 'npm-update' make targets and lockfile
      
      - `make npm` installs and updates node_modules, triggered automatically
         on `make css` and `make js` as it completes reasonably fast and
         ensures consistent modules.
      - `make npm-update` updates all dependencies to their latest version,
         regenerates `node_modules` from scratch and updates
         `package-lock.json`. It uses npm modules `updates` written by yours
         truly to find the latest version of each dependency.
      
      * add suggested make dependencies
      
      * remove package-lock.json during npm-update
      
      * regenerate package-lock.json
      a71cabbd
  3. 16 May, 2019 1 commit
    • silverwind's avatar
      remove and disable package-lock (#6969) · 04f996f1
      silverwind authored
      * 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
      04f996f1
  4. 07 May, 2019 1 commit
    • Lunny Xiao's avatar
      Improve migrations to support migrating milestones/labels/issues/comments/pullrequests (#6290) · 08069dc4
      Lunny Xiao authored
      * 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
      Unverified
      08069dc4
  5. 17 Mar, 2019 1 commit
  6. 21 Feb, 2019 1 commit
  7. 12 Dec, 2018 1 commit
    • kolaente's avatar
      Added test environment for mssql (#4282) · 6db7dbd3
      kolaente authored
      
      * 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: default avatarJonas Franz <info@jonasfranz.software>
      
      * Create database only if master do not exist
      Signed-off-by: default avatarJonas Franz <info@jonasfranz.software>
      
      * Fix mssql integration tests by using custom database "gitea"
      Signed-off-by: default avatarJonas Franz <info@jonasfranz.software>
      
      * Moved defer
      
      * bump xorm
      
      * updated xorm
      
      * Fixed build
      6db7dbd3
  8. 09 May, 2018 1 commit
    • Thorben's avatar
      snap-packaging for gitea (#2568) · 14f16d6c
      Thorben authored
      * 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.
      14f16d6c
  9. 21 Sep, 2017 1 commit
    • silverwind's avatar
      Use standard lessc and minify CSS using Node.js (#2337) · 1fbfccb4
      silverwind authored
      * 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
      1fbfccb4
  10. 16 Sep, 2017 1 commit
    • Ethan Koenig's avatar
      Improve issue search (#2387) · b0f7457d
      Ethan Koenig authored
      * Improve issue indexer
      
      * Fix new issue sqlite bug
      
      * Different test indexer paths for each db
      
      * Add integration indexer paths to make clean
      b0f7457d
  11. 13 Sep, 2017 2 commits
  12. 12 Sep, 2017 2 commits
  13. 15 Jun, 2017 1 commit
  14. 04 Jun, 2017 1 commit
  15. 28 Apr, 2017 1 commit
  16. 25 Apr, 2017 1 commit
  17. 25 Jan, 2017 1 commit
  18. 22 Dec, 2016 1 commit
    • Thomas Boerger's avatar
      Bindata is optional and over-writable on restart (#354) · b33078fa
      Thomas Boerger authored
      * 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
      b33078fa
  19. 06 Dec, 2016 1 commit
  20. 29 Nov, 2016 1 commit
    • Thomas Boerger's avatar
      Integrate public as bindata optionally (#293) · b6a95a8c
      Thomas Boerger authored
      * 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
      b6a95a8c
  21. 10 Nov, 2016 1 commit
  22. 07 Nov, 2016 1 commit
  23. 04 Nov, 2016 3 commits
  24. 11 Mar, 2016 1 commit
  25. 06 Mar, 2016 1 commit
  26. 05 Feb, 2016 1 commit
  27. 03 Nov, 2015 1 commit
  28. 10 Oct, 2015 1 commit
  29. 24 Jul, 2015 1 commit
  30. 11 Feb, 2015 1 commit
  31. 24 Oct, 2014 1 commit
  32. 25 Sep, 2014 1 commit
  33. 10 Aug, 2014 1 commit
  34. 06 Aug, 2014 2 commits
  35. 26 Jul, 2014 1 commit