Lunny Xiao
6362462da8
fix admin lost permission caused by #947
8 years ago
Rémy Boulanouar
25d6e2a660
Add button to admin ui ( #1738 )
...
* Add button to admin ui
* Update according to review
* Update locale_fr-FR.ini
* Rollback to locale french file
8 years ago
Jonas Östanbäck
0161e46b5a
Add swagger comment for MirrorSync ( #1747 )
...
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
8 years ago
Andrey Nering
8906b2891b
Fix test
...
There was a panic when there's no logged in user
8 years ago
Lunny Xiao
fd6034aaf2
Add units to team ( #947 )
...
* add units to team
* fix lint
* finish team setting backend
* finished permission controll on routes
* fix import blank line
* add unit check on ssh/http pull and push and fix test failed
* fix fixtures data
* remove unused code
8 years ago
Jonas Östanbäck
5db5e16ab6
Correct grammar in APIEmpty documentation ( #1748 )
...
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
8 years ago
Andrey Nering
dc2b28ed76
Show repos acording to user/organization
8 years ago
Andrey Nering
c746875fcf
Remove colaborative repo panel
8 years ago
Andrey Nering
8917f47347
Fix org repos not showing on dashboard search
8 years ago
Diep Pham
407fbfa6ce
fixes wrong after field in webhook payload
...
when merge pull request
8 years ago
Patrick G
c4b5b121a5
Fix bad grammar and wordiness ( #1741 )
...
* Fix bad grammar and wordiness
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
* Update locale_en-US.ini
8 years ago
Patrick G
03d6bab643
Change two factor code entry box from text to number ( #1733 )
8 years ago
Lunny Xiao
bc299b8317
fix avatar update bug ( #1729 )
8 years ago
Antoine GIRARD
91417e9715
re-Generate swagger.json ( #1722 )
...
changes introduced to repo format by : go-gitea/gitea#1687 go-gitea/go-sdk#58 go-gitea/gitea#1668 go-gitea/go-sdk#56
8 years ago
Jonas Östanbäck
e214728725
Add new text for reset password flash ( #1718 )
...
* Forgot password should use ResetPwdCodeLives, not ActiveCodeLives
* Improve documentation for different send mail functions related to password reset
* Improve documentation in conf/app.ini regarding xxx_CODE_LIVE_MINUTES settings
8 years ago
Ethan Koenig
9e627af9a4
gofmt ( #1710 )
8 years ago
Ethan Koenig
5ca3046da6
Fix rendering of issue checkboxes ( #1709 )
8 years ago
Jun Hsieh ♞
2cf80f4b18
Hide the create organization button (in dashboard/organization section) ( #1705 )
...
when the user has no such permission.
8 years ago
guyzmo
397474ecb1
Added Parent property to the repo API ( #1687 )
...
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
8 years ago
Ethan Koenig
251fb935ff
Don't recreate database in integration tests ( #1697 )
8 years ago
Jonas Östanbäck
ddb63a7897
Correct spelling mistakes ( #1703 )
...
* Nitpicking
8 years ago
Lauris BH
524885dd65
LDAP user synchronization ( #1478 )
8 years ago
mappu
fd76f090a2
markup: microoptimise for many short filenames in directory ( #1534 )
...
* markup: microoptimise for many short filenames in directory
Move strings.ToLower() after the early-return length check. This is a safe operation in all cases and should slightly improve directory listing performance when a directory contains many thousands of files with short filenames.
* markup: expand test cases for IsReadmeFile()
8 years ago
Lunny Xiao
d98a86d2a2
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test ( #1693 )
8 years ago
Daniel Wendler (@cassandra)
377acb9757
Realy don't cache apk index
...
Actualy the "-U --no-cache" effectivly is treated as --no-cache
was never specified:
/ # apk -U --no-cache add sed
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz
(1/1) Installing sed (4.2.2-r0)
Executing busybox-1.25.1-r0.trigger
OK: 4 MiB in 12 packages
/ # ls -la /var/cache/apk/
total 1004
drwxr-xr-x 1 root root 70 May 8 11:08 .
drwxr-xr-x 1 root root 29 Mar 3 11:20 ..
-rw-r--r-- 1 root root 732807 May 5 07:11 APKINDEX.c51f8f92.tar.gz
-rw-r--r-- 1 root root 293014 May 1 12:37 APKINDEX.d09172fd.tar.gz
So removing the "-U" fix this behavior.
8 years ago
Andrey Nering
ab79069dc7
Improve dashboard repo search ( #1652 )
...
* Add VueJS
* Improve dashboard search
* Fix tab switching
* Fix input autofocus
8 years ago
Lauris BH
51d0becb42
Add configuration option for default permission to create Organizations ( #1686 )
8 years ago
Kim "BKC" Carlbäcker
a85c5ab9ff
fix potential sqlite lock #1680
8 years ago
Lunny Xiao
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug ( #1689 )
8 years ago
Lauris BH
79494047b0
Show commit status icon in commits table ( #1688 )
...
* Show commit status icon in commits table
* Add comments
* Fix icons
* Few more places where commit table is displayed
* Change integration test to use goquery for parsing html
* Add integration tests for commit table and status icons
* Fix status to return lates status correctly on all databases
* Rewrote lates commit status selects
8 years ago
Thomas Boerger
c864ccf9b1
Enforce netgo build tag while cross-compilation ( #1690 )
8 years ago
Lunny Xiao
930d1759ae
Remove env user salt since no need to use ( #1515 )
...
* remove env user salt since no need to use
* remove unused variable from update.go
8 years ago
Lauris BH
9a0b0da1fe
Fix commit sha1 URL rendering in markdown ( #1677 )
...
* Fix commit sha1 URL rendering in markdown
* Add unit test for commit sha1 markdown rendering when sha1 has space before it
* Change to better variable name
8 years ago
Lauris BH
2e17dda8bb
Remove sha1 hash display in repository table and add latest commit GPG check ( #1678 )
8 years ago
silverwind
935caa7f95
Download files to their original filename ( #1676 )
8 years ago
guyzmo
98460a8d9d
Exposes in API the Repo entity's Size and IsBare property ( #1668 )
...
* Exposes in API the Repo entity's IsBare property as IsEmpty
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
* Exposes in API the Repo entity's Size property
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
8 years ago
Lunny Xiao
36f02c0c32
fix potential sqlite lock
8 years ago
Peter Dave Hello
a503947fba
Upgrade alpine to v3.5 in Dockerfile ( #1633 )
8 years ago
Lunny Xiao
0f3923c4d7
fix potential lock when sqlite ( #1647 )
8 years ago
Peter Dave Hello
b6206e4788
Fix static files permission under public/ ( #1675 )
8 years ago
Bo-Yi Wu
75f1afd1fd
fix: tag contain character ) will http 500 on release page ( #1670 )
8 years ago
Lauris Bukšis-Haberkorns
700b6b524b
Add @lafriks as maintainer
8 years ago
Ethan Koenig
a5f28a4544
gofmt ( #1662 )
8 years ago
Lunny Xiao
1773e88643
Drop db operations from hook commands ( #1514 )
...
* move all database operations from hook command to web command and instead of internal routes
* bug fixed
* adjust the import path sequences
* remove unused return value on hookSetup
8 years ago
Jonas Östanbäck
59f5bbab0d
Fix CSS for wiki markdown ( #1660 )
8 years ago
Antoine GIRARD
3edb0c5894
Generate swagger json ( #1402 )
...
- Generate swagger.json into public/
- Add swagger-ui auto-installation
- Add footer link to local swagger-ui
- Add /swagger url for using app url.
- Fix Swagger-UI version via git tag
8 years ago
Antoine GIRARD
bb5f694fc5
Improve govendor testing ( #1623 )
...
- Use `govendor list +outside +unused` for finding missing or unused deps and govendor status for catching modified vendor.
- Remove appengine import
8 years ago
Lunny Xiao
0d1e001b9c
fix multiple readme file rendering and fix #1657 ( #1658 )
...
* fix multiple readme file rendering and fix #1657
* remove unnecessary loop
8 years ago
Lauris BH
98548c83d3
Add primary key and index to external login user table ( #1656 )
8 years ago
Jorrit Klein Bramel
87efc8c6d4
Sort on repo size in admin panel ( #1654 )
...
* fix #1653 sort on repo size
* fix minor mistake in en-us locale
8 years ago