summaryrefslogtreecommitdiffstats
path: root/integrations/sqlite.ini
Commit message (Collapse)AuthorAgeFilesLines
* Use /tmp for test repositories (#11126)guillep2k2020-04-191-82/+0
| | | | | | | | | | * Add option to use /tmp for test repositories * Fix exit status * Add feedback about using tmp repos Co-authored-by: Guillermo Prandi <guillep2k@users.noreply.github.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Render READMEs in docs/ .gitea or .github from root (#10361)zeripath2020-02-211-1/+0
| | | | * Render READMEs in docs/ .gitea or .github from root
* Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631)zeripath2019-10-161-0/+3
| | | | | | | | | | | | | | | | | | | This PR fixes #7598 by providing a configurable way of signing commits across the Gitea instance. Per repository configurability and import/generation of trusted secure keys is not provided by this PR - from a security PoV that's probably impossible to do properly. Similarly web-signing, that is asking the user to sign something, is not implemented - this could be done at a later stage however. ## Features - [x] If commit.gpgsign is set in .gitconfig sign commits and files created through repofiles. (merges should already have been signed.) - [x] Verify commits signed with the default gpg as valid - [x] Signer, Committer and Author can all be different - [x] Allow signer to be arbitrarily different - We still require the key to have an activated email on Gitea. A more complete implementation would be to use a keyserver and mark external-or-unactivated with an "unknown" trust level icon. - [x] Add a signing-key.gpg endpoint to get the default gpg pub key if available - Rather than add a fake web-flow user I've added this as an endpoint on /api/v1/signing-key.gpg - [x] Try to match the default key with a user on gitea - this is done at verification time - [x] Make things configurable? - app.ini configuration done - [x] when checking commits are signed need to check if they're actually verifiable too - [x] Add documentation I have decided that adjusting the docker to create a default gpg key is not the correct thing to do and therefore have not implemented this.
* switch to use gliderlabs/ssh for builtin server (#7250)techknowlogick2019-07-061-0/+1
| | | | | | resolves git conflicts from #3896 (credit to @belak, in case github doesn't keep original author during squash) Co-Authored-By: Matti Ranta <techknowlogick@gitea.io>
* Quieter Integration Tests (#6513)zeripath2019-04-071-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | * Rename BaseLogger to WriterLogger to help the creation of other providers * Don't export ColorBytes and ResetBytes from ColoredValues * Make integration tests only print logs if they fail * check can color before coloring * I always forget about MSSQL * Oh and use LEVEL in sqlite.ini * Make the test logger log at info - as it means you see the router * Remove empty expected changes * Make the migrations quieter too * Don't display SQL on error - it can be looked at in the file logs if necessary * Fix skip when using onGiteaRun
* Make log mailer for testing (#5893)zeripath2019-02-021-0/+6
| | | | | | | | | | | | | | | | | | * Create log mailer for testing email settings Signed-off-by: Andrew Thornton <art27@cantab.net> * Switch on the log mailer for the integration tests This ensures that the sending mail process works Signed-off-by: Andrew Thornton <art27@cantab.net> * rename the from user for mysql/mssql * rename log sender to dummy sender * update the integration tests
* Pooled and buffered gzip implementation (#5722)zeripath2019-01-231-0/+1
| | | | | | | | | | | | | | | | | | | * Pooled and buffered gzip implementation * Add test for gzip * Add integration test * Ensure lfs check within transaction The previous code made it possible for a race condition to occur whereby a LFSMetaObject could be checked into the database twice. We should check if the LFSMetaObject is within the database and insert it if not in one transaction. * Try to avoid primary key problem in postgres The integration tests are being affected by https://github.com/go-testfixtures/testfixtures/issues/39 if we set the primary key high enough, keep a count of this and remove at the end of each test we shouldn't be affected by this.
* Add integrations tests from git cli (#3377)Antoine GIRARD2018-01-161-3/+5
| | | | | | | | | | | * test: integration add git cli tests Extracted form for easing review process and debug #3152 * test: integration add git cli big file commit * fix: Don't rewrite key if internal server
* Remove hardcoded paths to fix randomly failing tests (#3347)Lauris BH2018-01-111-0/+2
| | | | | | * Remove hardcoded paths to fix randomly failing tests * Use correct function for merge path
* Git LFS lock api (#2938)Antoine GIRARD2017-11-281-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement routes * move to api/sdk and create model * Implement add + list * List return 200 empty list no 404 * Add verify lfs lock api * Add delete and start implementing auth control * Revert to code.gitea.io/sdk/gitea vendor * Apply needed check for all lfs locks route * Add simple tests * fix lint * Improve tests * Add delete test + fix * Add lfs ascii header * Various fixes from review + remove useless code + add more corner case testing * Remove repo link since only id is needed. Save a little of memory and cpu time. * Improve tests * Use TEXT column format for path + test * fix mispell * Use NewRequestWithJSON for POST tests * Clean path * Improve DB format * Revert uniquess repoid+path * (Re)-setup uniqueness + max path length * Fixed TEXT in place of VARCHAR * Settle back to maximum VARCHAR(3072) * Let place for repoid in key * Let place for repoid in key * Let place for repoid in key * Revert back
* Code/repo search (#2582)Ethan Koenig2017-10-271-0/+2
| | | Indexed search of repository contents (for default branch only)
* Improve issue search (#2387)Ethan Koenig2017-09-161-0/+3
| | | | | | | | | | * Improve issue indexer * Fix new issue sqlite bug * Different test indexer paths for each db * Add integration indexer paths to make clean
* Fix some tests : make coverage -> test (#2492)Antoine GIRARD2017-09-121-3/+6
| | | | | | | | * Fix test : make coverage -> test * Refactor integration tests to be able to run them in parallel * Add custom local repository temp path
* Hotfix for integration testing (#2473)Thomas Boerger2017-09-101-5/+0
| | | | | | * Hotfix for integration testing * Comment sqlite tests because of database locking issues
* Set console to debug for integration testsEthan Koenig2017-06-151-3/+3
|
* fix collborators lack of units on orgnization repositories (#1968)Lunny Xiao2017-06-151-2/+2
| | | | | | * fix collborators lack of units on orgnization repositories * also change log level to debug
* Add configuration option for default permission to create Organizations (#1686)Lauris BH2017-05-081-0/+1
|
* Integration test framework (#1290)Ethan Koenig2017-04-251-0/+58
* Integration test framework * udpate drone sign * Formatting fixes and move router.go to routers/ * update sign for drone