Lauris BH
edb95faba2
Fix releases to be counted from database not tags ( #2389 )
2017-08-28 22:06:10 +08:00
Lunny Xiao
ced50e0ec1
Implementation of discord webhook ( #2402 )
...
* implementation of discord webhook
* fix webhooks
* fix typo and unnecessary color values
* fix typo
* fix imports and revert changes to webhook_slack.go
2017-08-28 13:06:45 +08:00
Zsombor
da230a2872
Add possibility to record branch or tag information in an issue ( #780 )
2017-08-24 15:30:27 +03:00
Michael Lustfield
a915a09e4f
Moved vendored js/css into public/vendor
and documented sources ( #1484 ) ( #2241 )
...
* Cleaning up public/ and documenting js/css libs.
This commit mostly addresses #1484 by moving vendor'ed plugins into a
vendor/ directory and documenting their upstream source and license in
vendor/librejs.html.
This also proves gitea is using only open source js/css libraries which
helps toward reaching #1524 .
* Removing unused css file.
The version of this file in use is located at:
vendor/plugins/highlight/github.css
* Cleaned up librejs.html and added javascript header
A SafeJS function was added to templates/helper.go to allow keeping
comments inside of javascript.
A javascript comment was added in the header of templates/base/head.tmpl
to mark all non-inline source as free.
The librejs.html file was updated to meet the current librejs spec. I
have now verified that the librejs plugin detects most of the scripts
included in gitea and suspect the non-free detections are the result of
a bug in the plugin. I believe this commit is enough to meet the C0.0
requirement of #1534 .
* Updating SafeJS function per lint suggestion
* Added VERSIONS file, per request
2017-08-23 16:58:05 +02:00
silverwind
fc29a405e8
More tweaks to repo top panel ( #2267 )
...
* More tweaks to repo top panel
* undo hiding of compare button on master
* attempt to fix ci issue
* another ci attempt
2017-08-13 19:49:38 -03:00
Lunny Xiao
be29d5f7ad
fix webhook link
2017-08-11 03:45:54 +02:00
silverwind
54381f438b
File path tweaks in UI ( #2264 )
2017-08-06 11:13:20 +08:00
Ethan Koenig
f29458bd3a
EnableUnit() -> UnitEnabled() ( #2242 )
2017-08-02 11:46:54 +03:00
Lauris BH
60d7e56c69
Add task to generate images from SVG and change to new logo ( #2194 )
...
* Add makefile task to generate images from SVG and change to new logo
* use absolute path on generate-images
2017-07-28 13:51:20 +08:00
Bwko
8f171210b9
Revert "Add ability to fork your own repos ( #761 )" ( #2193 )
2017-07-26 15:17:38 +08:00
Lauris BH
f33e6ae09e
Remove unit types commits and settings ( #2161 )
...
* Remove unit types commits and settings
* Can not limit units in administrator teams
* Limit changing units only to teams with read and write access mode
* Small code optimization
2017-07-17 10:04:43 +08:00
Stefan Kalscheuer
0b177574c9
Only show SSH clone URL if signed in ( #2169 ) ( #2170 )
...
* Add configuration flag SSH_EXPOSE_ANONYMOUS
If this flag (default True) is set to false, the SSH clone URL will only be exposed if the current user is signed in.
* Default SSH exposure set to false
To match GitHub and for security reasons, SSH URL exposure is disabled by default.
In addition to that. minor code changes have been applied.
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* Add integration tests
* Hide clone button neither HTTP and SSH is enabled
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
2017-07-15 22:21:51 +08:00
Wiktor Żurawik
32f289ae3b
Make compare button URL aware if current repo is a fork ( #2162 ) ( #2163 )
...
* Make compare button URL aware if current repo is a fork (#2162 )
* Optimize code
* To not change current behaviour check if signed in user has fork of base repository
* Fix to check only if signed user has forked repo otherwise it will still redirect to wrong page
2017-07-15 11:14:02 +08:00
bit
98c5a1e006
Only show "No Description" to repo admins ( #2167 )
...
Only show note about missing description ("No Description") to repo admins, nobody else can change it.
2017-07-14 20:30:03 +03:00
Lauris BH
5e9bcb6301
Missing signed commit display translation ( #2134 )
2017-07-10 09:46:06 +08:00
Ethan Koenig
b1d7348a20
Fix wiki preview links
2017-07-06 12:07:15 -04:00
Patrick G
9d8fba62b3
Smaller watch, star, and fork buttons ( #2052 )
2017-06-28 09:40:28 +08:00
Lunny Xiao
228247511a
repo/editor: fix breadcrumb path cuts parent dirs ( #3859 ) ( #2032 )
2017-06-22 23:30:47 +08:00
Ethan Koenig
8fcda0442e
Fix search by issue type ( #1914 )
...
* Fix search by issue type
2017-06-15 05:09:03 +02:00
Ethan Koenig
57cabb3ad3
Fix diff of renamed and modified file ( #1967 )
2017-06-14 04:07:09 -05:00
Ethan Koenig
5554165a0c
Fix pull request compare link ( #1832 )
...
* Fix pull request compare link
* Integration test
2017-05-31 09:47:42 -05:00
Rémy Boulanouar
e0c6ab2d44
Add Gitea Webhook ( #1755 )
...
* Replace Gogs by Gitea
* Fix missing changes
* Create Gitea webhook and put Gogs webhook apart.
2017-05-29 02:17:15 -05:00
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
2017-05-07 22:40:31 +08:00
Lauris BH
2e17dda8bb
Remove sha1 hash display in repository table and add latest commit GPG check ( #1678 )
2017-05-05 15:15:36 +08:00
Lauris BH
0144817971
Do not allow commiting to protected branch from online editor ( #1502 )
...
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
2017-05-02 08:49:55 +08:00
Lunny Xiao
e31c02d4bf
fix bug on issue view when not login ( #1624 )
...
* fix bug on issue view when not login
* hide issue watch when not login
* update the tests
* fix test on issue
2017-04-29 13:52:25 +08:00
Morlinest
5b8fe1e181
Do not show empty collaborators segment ( #1531 )
2017-04-23 08:55:02 +08:00
Jonas
54f0293f0a
Mirror sync interval specified as duration string ( #1407 )
...
* Sync interval specifed as duration string
* Changed mirror interval text
* make fmt
* Add MinInterval for mirror sync
* Use duration internally
* Changed min default to 10m
* make fmt
* Incorrect default
* Removed defaults in MustDuration()
* Add Mirror interval migration
* Default values corrected
* Use transaction during migration
* Change http 500 to page with error message
* Cleanup session.commit()
2017-04-08 23:27:26 +08:00
Antoine GIRARD
d9db188274
Fix #1418 ( #1456 )
2017-04-07 22:50:40 +08:00
Morlinest
cbeeaa1b11
Fix and simplify repo branches UI ( #1435 )
2017-04-06 23:33:57 +08:00
Patrick G
d800305b34
Commit search appearence fixes ( #1254 )
...
* Fix button text to be consisstent with rest of UI
* Make all commits checkbox look nicer
2017-04-05 18:32:59 -07:00
Morlinest
21fd3da6f5
Fix disabled fields in repo settings UI ( #1431 )
2017-04-03 10:19:51 +08:00
Andrey Nering
37a34c1a28
Merge pull request #1410 from andreynering/notification/issue-watch
...
[Notifications Step 6] Per issue/PR watch/unwatch
2017-04-01 15:12:24 -03:00
Andrey Nering
fac7a6fecf
Merge pull request #1390 from Morlinest/commit-graph-UI
...
Use whole button (commit graph) as link
2017-03-30 20:29:57 -03:00
Andrey Nering
4b284f814c
UI and translation improvements
2017-03-30 19:10:30 -03:00
Morlinest
4fa691c4dd
Make issue in commit graph "clickable" ( #1392 )
2017-03-30 18:05:38 +08:00
Antoine GIRARD
912b340d0d
Simplify settings pages with item list ( #1389 )
...
* Remove point column on ssh key setting page
* Remove un-used css
* Some cleaning
* Use octicon-key
2017-03-30 09:02:37 +08:00
Andrey Nering
e4a33ed4d0
Add octicons to watch/unwatch buttons
2017-03-29 21:08:46 -03:00
Andrey Nering
b674460748
Add watch button on issue
2017-03-29 20:31:47 -03:00
Peter Žeby
d0298ea2fb
Use whole button as link
2017-03-27 12:46:46 +02:00
Andrey Nering
6a451a2b59
Minor improvements on commit graph UI ( #1380 )
...
* Make "Commit Graph" link a button and translate it
* Add title on Commit Graph page
2017-03-24 10:32:40 +08:00
Antoine GIRARD
14fe9010ae
GPG commit validation ( #1150 )
...
* GPG commit validation
* Add translation
+ some little fix
* Move hash calc after retrieving of potential key + missing translation
* Add some little test
2017-03-22 18:43:54 +08:00
Bo-Yi Wu
1c3bd436cc
feat: Only use issue and wiki on repo. ( #1297 )
2017-03-18 18:59:07 +08:00
Kim "BKC" Carlbäcker
0693fbfc00
Refactor repo/issue/view_content.tmpl ( #1276 )
2017-03-17 13:57:43 +08:00
Fabian Zaremba
f1d2f16b54
Add notice that LFS mirroring is not supported ( #1251 )
...
* Add notice that LFS mirroring is not supported
* Drop German translation
2017-03-16 19:33:22 +08:00
Patrick G
efbb895ebe
Cleaner ui for admin, repo settings, and user settings page ( #1269 ) ( #1270 )
2017-03-15 23:39:38 +01:00
Ethan Koenig
09fe4a2ae9
Batch updates for issues ( #926 )
2017-03-15 02:10:35 +01:00
Lunny Xiao
608bbedee1
fix 500 caused by branches settings introduced by #1198 ( #1214 )
2017-03-12 21:50:26 +08:00
Patrick G
ccc15b9e1a
Make strings translatable ( #1188 ) ( #1198 )
...
* Add strings to ini
* Make strings translatable (#1188 )
2017-03-11 09:28:25 +08:00
Denis Denisov
fd941db246
Protected branches system ( #339 )
...
* Protected branches system
* Moved default branch to branches section (`:org/:reponame/settings/branches`).
* Initial support Protected Branch.
- Admin does not restrict
- Owner not to limit
- To write permission restrictions
* reformat tmpl
* finished the UI and add/delete protected branch response
* remove unused comment
* indent all the template files and remove ru translations since we use crowdin
* fix the push bug
2017-02-21 23:02:10 +08:00
Lunny Xiao
6076c95dd1
Security: fix XSS attack on milestone ( #976 )
...
Reported by Miguel Ángel Jimeno.
2017-02-19 19:09:59 +08:00
Bo-Yi Wu
4c12e2a4b9
fix: fill in ssh key title on setting of repo ( #950 )
...
* fix: fill in ssh key title on setting of repo
* fix: Don't overwrite ssh key title if exist.
2017-02-16 05:16:42 +01:00
Unknwon
134f3e6e09
Security: prevent XSS attach on wiki page
...
Reported by Miguel Ángel Jimeno.
2017-02-16 04:06:20 +01:00
Andrew Boyarshin
dc8248f8a4
Markdown rendering overhaul ( #186 )
...
* Markdown rendering overhaul
Cleaned up and squashed commits into single one.
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
* Fix markdown API, add markdown module and API tests, improve code coverage
Signed-off-by: Andrew Boyarshin <boyarshinand@gmail.com>
2017-02-14 09:13:59 +08:00
Lunny Xiao
8a0be5e9f0
Bug fixed for deleted label in issue comment ( #904 )
...
* bug fixed for deleted label in issue comment
* fix indent
2017-02-11 20:56:57 +08:00
Lunny Xiao
cf0f451c37
Add delete branch track on pull request comments ( #888 )
...
* add delete branch track on pull request comments
* don't change vendor
2017-02-11 12:00:29 +08:00
Stephen Brown
94130da63a
Fixes #794 by moving emoji tag to the correct span ( #848 )
...
Signed-off-by: Stephen Brown <steve@evolvedlight.co.uk>
2017-02-06 23:24:59 +08:00
Zsombor
e388db311b
Add checkbox to search for all the branches by commit message ( #813 )
...
and updating the vendor directory
2017-02-05 22:43:28 +08:00
Lunny Xiao
f35b20b042
track issue title changes ( #841 )
2017-02-05 22:36:00 +08:00
Ethan Koenig
027591a3a5
Redirects for renamed repos ( #807 )
...
* Redirects for renamed repos
* Remove unused phrase from locales
2017-02-05 22:35:03 +08:00
Lunny Xiao
8a421b1fd7
Add units concept for modulable functions of a repository ( #742 )
...
* Add units concept for modulable functions of a repository
* remove unused comment codes & fix lints and tests
* remove unused comment codes
* use struct config instead of map
* fix lint
* rm wrong files
* fix tests
2017-02-04 23:53:46 +08:00
Lunny Xiao
3e0525b47d
Track assignee for issue ( #808 )
...
* track assignee for issue
* fix lint
* use getUserByID instead Get
2017-02-03 23:09:10 +08:00
Lunny Xiao
081485ecfd
add milestone changed traker on issue view ( #804 )
2017-02-01 10:36:08 +08:00
Lunny Xiao
f94869d2d1
Track labels changed on issue view & resolved #542 ( #788 )
...
* track labels changed on issue view & resolved #542
* add missing head comment & sort & fix refresh
2017-01-30 20:46:45 +08:00
Bwko
e08421017c
Add ability to fork your own repos ( #761 )
2017-01-26 22:44:37 +08:00
Bwko
067ae5d96e
Fix to reflect selected branch for fork ( #762 )
...
PullRequestCtx.HeadInfo did not contain the current selected branch
causing issue #304
2017-01-26 13:32:08 +08:00
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
2017-01-25 10:43:02 +08:00
Bwko
74ed6dc3ad
Add option to app.ini to enable local import paths ( #724 )
2017-01-23 09:19:50 +08:00
Kjell Kvinge
f9a3aa8737
add scroolbars to wide graphs. ( #608 )
...
* Add scrollbars to graph and revlist if needed.
* Add border
2017-01-22 20:10:01 +08:00
Philip Couling
64375d875b
Attach to release ( #673 )
...
* Moved attachaments POST url from /issues/attachments to /attachments
* Implemented attachment upload on release page
* Implemented downloading attachments on the release page
* Added zip and gzip files to default allowed attachments
* Implemented uploading attachments on edit release
* Renamed UploadIssueAttachment to UploadAttachment
2017-01-15 22:57:00 +08:00
Manuel Kuhlmann
eb9ce39bb7
Fix unified diff view styling ( #585 )
...
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
2017-01-05 10:04:41 +08:00
Manuel Kuhlmann
a5e07da8be
Fix diff split view coloring ( #553 ) ( #584 )
...
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
2017-01-05 09:07:43 +08:00
Kjell Kvinge
22e1bd31c6
commithgraph / timeline ( #428 )
...
* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph
2016-12-29 07:44:32 +08:00
Sl@ny
c22f9114c7
Implementation of Folder Jumping
2016-12-28 18:09:52 +01:00
Bwko
71dee6b7c0
Improve the way how branches are deleted
...
Delete branch from HeadRepo instead of BaseRepo
Prevent the deletion of a master branch
Show a yes/no overlay when you press the delete branch button
2016-12-26 11:55:28 +01:00
Fabian Zaremba
2e7ccecfe6
Git LFS support v2 ( #122 )
...
* Import github.com/git-lfs/lfs-test-server as lfs module base
Imported commit is 3968aac269a77b73924649b9412ae03f7ccd3198
Removed:
Dockerfile CONTRIBUTING.md mgmt* script/ vendor/ kvlogger.go
.dockerignore .gitignore README.md
* Remove config, add JWT support from github.com/mgit-at/lfs-test-server
Imported commit f0cdcc5a01599c5a955dc1bbf683bb4acecdba83
* Add LFS settings
* Add LFS meta object model
* Add LFS routes and initialization
* Import github.com/dgrijalva/jwt-go into vendor/
* Adapt LFS module: handlers, routing, meta store
* Move LFS routes to /user/repo/info/lfs/*
* Add request header checks to LFS BatchHandler / PostHandler
* Implement LFS basic authentication
* Rework JWT secret generation / load
* Implement LFS SSH token authentication with JWT
Specification: https://github.com/github/git-lfs/tree/master/docs/api
* Integrate LFS settings into install process
* Remove LFS objects when repository is deleted
Only removes objects from content store when deleted repo is the only
referencing repository
* Make LFS module stateless
Fixes bug where LFS would not work after installation without
restarting Gitea
* Change 500 'Internal Server Error' to 400 'Bad Request'
* Change sql query to xorm call
* Remove unneeded type from LFS module
* Change internal imports to code.gitea.io/gitea/
* Add Gitea authors copyright
* Change basic auth realm to "gitea-lfs"
* Add unique indexes to LFS model
* Use xorm count function in LFS check on repository delete
* Return io.ReadCloser from content store and close after usage
* Add LFS info to runWeb()
* Export LFS content store base path
* LFS file download from UI
* Work around git-lfs client issue with unauthenticated requests
Returning a dummy Authorization header for unauthenticated requests
lets git-lfs client skip asking for auth credentials
See: https://github.com/github/git-lfs/issues/1088
* Fix unauthenticated UI downloads from public repositories
* Authentication check order, Finish LFS file view logic
* Ignore LFS hooks if installed for current OS user
Fixes Gitea UI actions for repositories tracking LFS files.
Checks for minimum needed git version by parsing the semantic version
string.
* Hide LFS metafile diff from commit view, marking as binary
* Show LFS notice if file in commit view is tracked
* Add notbefore/nbf JWT claim
* Correct lint suggestions - comments for structs and functions
- Add comments to LFS model
- Function comment for GetRandomBytesAsBase64
- LFS server function comments and lint variable suggestion
* Move secret generation code out of conditional
Ensures no LFS code may run with an empty secret
* Do not hand out JWT tokens if LFS server support is disabled
2016-12-26 09:16:37 +08:00
Lunny Xiao
4b7594d9fa
Provide button to delete merged pull request ( #441 )
...
* provide button to delete merged pull request
* golint fix
2016-12-25 23:27:25 +08:00
Bwko
a345a03d99
Added sorting to the labels & milestones page ( #199 )
2016-12-24 22:41:09 +08:00
Nico Mandery
6ade13e86e
serve video files using the HTML5 video tag ( #418 )
...
* serve video files using the HTML5 video tag
* lint fix: add comment to IsVideoFile
2016-12-20 16:09:11 +08:00
Henning Henkel
bab737bf02
Fix alignment of tooltip and add bindata - related to #359 ( #364 )
2016-12-08 20:59:47 +08:00
Henning Henkel
08b9af9ad8
Added download tooltip - solves #221 ( #359 )
2016-12-07 09:38:20 +01:00
Avelino
baf60bf603
Fixed project on repo template hook settings
2016-12-02 07:46:02 +01:00
Bwko
5ab85372da
Added rel="noopener" to target="_blank" hrefs ( #327 )
...
* Added rel="noopener" to target="_blank" hrefs
* Replaced gogs.io/docs with docs.gitea.io
2016-12-02 09:12:16 +08:00
Lunny Xiao
2343feadd4
resolved #310 : hide fork to self ( #323 )
2016-12-01 18:51:50 +08:00
Lunny Xiao
abf6c3a8e3
bug fixed caused by #295 ( #299 )
2016-11-29 14:57:36 +08:00
Sandro Santilli
cd339263d9
Allow updating draft releases while keeping them as draft
...
Closes #162
2016-11-14 18:02:21 +01:00
Matthias Loibl
63ca42d17f
Fix bug that tries to load mistyped templates
2016-11-10 11:54:20 +01:00
Matthias Loibl
45c4539c61
Merge pull request #17 from LefsFlarey/issue/3666
...
Fixed 404 caused by unexpected question mark
2016-11-08 18:27:59 +01:00
Flare
01c5233b53
Fixed 404 caused by unexpected question mark
...
This fixes 404 caused when creating new files or wiki pages with question marks. Amended to force CI rebuild
2016-11-08 22:09:48 +08:00
Lunny Xiao
5667d4daae
Merge pull request #73 from bkcsoft/gt/2164-release-pagination
...
Add Pagination to Releases-page (and de-duplicate pagination templates)
2016-11-08 10:39:03 +08:00
Thomas Boerger
ceb920802a
Dropped link to Gogs docs from template
2016-11-07 14:49:25 +01:00
Kim "BKC" Carlbäcker
562f9b6eae
Merge all pagination-templates into 'base/paginate'
...
to reduce code-duplicity
2016-11-07 12:44:29 +01:00
Kim "BKC" Carlbäcker
86fb1a0cb1
Add Pagination to Releases-page
2016-11-07 11:41:09 +01:00
Rachid Zarouali
be5607e510
Merge pull request #50 from 0xbaadf00d/feature/2583-disablehttpcloning
...
Disable HTTP cloning
2016-11-07 11:23:30 +01:00
Rémy Boulanouar
8dc49dc114
Implementation of the feature to redirect to an external issue tracker
2016-11-04 09:06:54 +01:00
Thibault Meyer
17f9ab4ff8
Use user fullname if resolved
2016-11-04 08:13:14 +01:00
Thibault Meyer
93f1eabe30
rename variable + fix wiki link
2016-10-04 18:58:14 +02:00
Thibault Meyer
9d66497abc
Can disable GIT interactions by HTTP protocol
2016-09-18 10:54:33 +02:00
Unknwon
c50d59874d
#3577 incorrect URL produced by AvatarLink
2016-09-01 12:36:26 -04:00
raphael10241024
178556142a
fix link error under preview ( #3566 )
2016-09-01 06:01:27 -04:00
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
2016-08-30 16:47:22 -07:00
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
2016-08-30 20:30:47 -03:00
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
2016-08-30 16:18:33 -07:00
Unknwon
22e14a0a67
templates/repo/view: fix bad link
2016-08-30 13:59:41 -07:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
780cc2d110
router/repo: code refactoring
2016-08-30 02:08:38 -07:00
Unknwon
28cf0e6aaa
#3459 code quality improvement
2016-08-29 20:00:06 -07:00
Thibault Meyer
92fb30c526
Load a set of predefined labels ( #3459 )
...
* Can use a predefined set of labels
* Change UI
* Fix HTML file indentation
* Avoid reading file from other directory (security issue)
* Apply a better fix
* Remove not used variable
* Merge upstream/develop
* Do modifications
* Raname
* remove binding + rename variable
2016-08-29 19:02:49 -07:00
Unknwon
579e5e4fee
Web editor: disallow edit mirror repository
2016-08-28 04:56:41 -07:00
Unknwon
ba27d71abe
Web editor: improve edit file
2016-08-28 04:31:42 -07:00
Unknwon
0114fdcba4
Web editor: improve delete file process
2016-08-28 01:41:44 -07:00
Unknwon
6e171c5225
Web editor: improve edit file tooltip
2016-08-27 15:25:01 -07:00
Unknwon
f8a48ffaad
Web editor: improve code quality
2016-08-24 21:35:03 -07:00
Unknwon
7f7216be6e
Code quality improvement on JS
2016-08-17 22:44:07 -07:00
Unknwon
6f9a95f830
#2246 add HTMLURL to webhook type
...
- Fill Milestone and Assignee field when available in webhook payload
2016-08-16 10:19:09 -07:00
Unknwon
61e27dedf7
#3466 fix response of pull request form validation error
2016-08-15 14:04:44 -07:00
Unknwon
4a19fd6441
Web editor: temporarily disable upload and quick fix for edit and new
...
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
2016-08-15 01:42:20 -07:00
Unknwon
54e0ada9d5
Web editor: improve delete file
2016-08-14 23:52:24 -07:00
Unknwon
cd89f6c502
Web editor: improve edit file and diff preview
2016-08-14 23:52:24 -07:00
Unknwon
15845cb287
Code clean up for new config options
2016-08-14 23:52:24 -07:00
Richard Mahn
d0a0239bac
Squashed commit of the following:
...
commit 0afcb843d7ffd596991c4885cab768273a6eb42c
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 17:13:29 2016 -0600
Removed Upload stats as the upload table is just a temporary table
commit 7ecd73ff5535612d79d471409173ee7f1fcfa157
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531e2e7af0fb5db24dc17e51027dd1174
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53206a8a40e11e45bf49d7a149c4adcd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591cb6fc0a92e49563b7b764c524db0e9
Merge: 7fc8a89 991ce42
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:42:53 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit 7fc8a89cb495478225b02d613e647f99a1489634
Merge: fd3d86c c03d040
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:40:00 2016 -0600
Merge branch 'feature-create-and-edit-repo-file' of github.com:richmahn/gogs into feature-create-and-edit-repo-file
commit fd3d86ca6bbc02cfda566a504ffd6b03db4f75ef
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:39:44 2016 -0600
Code cleanup
commit c03d0401c1049eeeccc32ab1f9c3303c130be5ee
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 29 15:38:23 2016 -0600
Code cleanup
commit 98e1206ccf9f9a4503c020e3a7830cf9f861dfae
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:36:01 2016 -0600
Code cleanup and fixes
commit c2895dc742f25f8412879c9fa15e18f27f42f194
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 18:24:04 2016 -0600
Fixes per Unknwon's requests
commit 6aa7e46b21ad4c96e562daa2eac26a8fb408f8ef
Merge: 889e9fa ad7ea88
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Thu Jul 28 17:13:43 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
modules/setting/setting.go
commit 889e9faf1bd8559a4979c8f46005d488c1a234d4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:09:18 2016 -0600
Fix in gogs.js
commit 47603edf223f147b114be65f3bd27bc1e88827a5
Merge: bb57912 cf85e9e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:07:36 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
public/js/gogs.js
commit bb5791255867a71c11a77b639db050ad09c597a4
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 22 14:02:18 2016 -0600
Update for using CodeMirror mode addon
commit d10d128c51039be19e2af9c66c63db66a9f2ec6d
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 16:12:57 2016 -0600
Update for Edit
commit 34a34982025144e3225e389f7849eb6273c1d576
Merge: fa1b752 1c7dcdd
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Tue Jul 19 11:52:02 2016 -0600
Merge remote-tracking branch 'gogits/develop' into feature-create-and-edit-repo-file
Conflicts:
modules/bindata/bindata.go
commit fa1b752be29cd455c5184ddac2ffe80b3489763e
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Fri Jul 15 18:35:42 2016 -0600
Feature for editing, creating, uploading and deleting files
2016-08-14 23:52:24 -07:00
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
2016-08-14 03:32:24 -07:00
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
2016-08-11 17:07:09 -07:00
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
2016-08-11 16:16:36 -07:00
Unknwon
5077408d78
#3233 code cleanup and minor issue fix
2016-08-11 10:53:51 -07:00
Andrew
0885784f13
Wiki mirroring implementation ( #3233 )
...
* Implement wiki mirroring, add Update mirrors operation to admin dashboard
* bindata.go update after merge
* Implement checking Git repo endpoint existence, support for BB included
* Remove admin dashboard operation
Fix bindata.go
* Apply gofmt to repo model file
* Try to remove bindata from PR
* Revert accepted wiki names change in favor of better system
* Remove unused imports
2016-08-11 10:18:51 -07:00
Unknwon
d625e41c6c
#3408 minor code fix
2016-08-11 07:41:01 -07:00
Sandro Santilli
eb1bfe0e59
Do not show the "Sign up for free" button in issue tracker ( #3408 )
...
* Do not show the "Sign up for free" button in issue tracker
The "Sign in to comment" link is good enough and will correctly
show or not show the "Sign Up" button link for those not having
an account already.
Fixes #3407 (link to nowhere when registration is disabled)
* Move html from translation to template
* Remove extra space in `{{ .SignInLink }}`.
2016-08-11 07:36:23 -07:00
Rory McNamara
c8b45ecc27
Render the Code view on the server (minus syntax highlighting) ( #2942 )
...
* render code view server side
* remove debug print
* fix multiline selection bug
* change string concatenation to bytes.Buffer for efficiency
* Fix newlines added by previous for hljs
* fix selection highlighting
* make css changes in .less
2016-08-09 12:35:20 -07:00
Unknwon
9e8a8867ea
#3325 use correct word for .gitignore
2016-08-09 12:16:21 -07:00
Unknwon
90af997fec
#3399 500 for upstream pulls page if user has forked repository
2016-08-08 13:02:55 -07:00
rugk
28dc5bb566
Replace gogs.io http links with https version ( #3386 )
2016-08-05 17:35:40 -07:00
Unknwon
50422f1fc2
#3348 always use relative avatar link in the template
2016-08-05 12:12:54 -07:00
Unknwon
2f105f3979
#2162 completely disable builtin issue tracker when enable external tracker
2016-08-04 16:32:02 -07:00
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
2016-07-31 01:26:43 +08:00
Okunev Yu Dmitry
55b4e77a5e
Fix of template error in "/:owner/:repo/pulls" ( #3343 )
...
If anonymous (not signed in user) requests page
"/:owner/:repo/pulls" he gets an error:
template: repo/issue/list:11:105: executing "repo/issue/list" at <.PullRequestCtx.Base...>: nil pointer evaluating *models.Repository.Link
This commit fixes that.
Signed-off-by: Dmitry Yu Okunev <dyokunev@ut.mephi.ru>
2016-07-29 22:59:38 +08:00
Unknwon
899e799459
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
2295fafb34
repo/settings/options: take naming style examples out of locale string
2016-07-25 16:55:51 +08:00
Unknwon
1f2e173a74
Refactor User.Id to User.ID
2016-07-24 01:08:22 +08:00
Unknwon
024fcc836b
Minor HTML fix for delete repository notice
2016-07-23 20:42:46 +08:00
Unknwon
26d52ceb48
#3186 fix wrong link for new pull request button of non-fork repository
2016-07-23 19:55:53 +08:00
Unknwon
c912494609
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
Siarhei Navatski
cf85e9eb7b
add IsSubmodule field to DiffFile and hide view file button on diff page for submodules ( #3097 )
2016-07-23 02:18:56 +08:00
Unknwon
b0eb47cb1c
Fix misselection of issues view type
2016-07-17 09:25:24 +08:00
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Unknwon
3d93532c87
#3274 fix can't get webhook detail of organization
2016-07-16 01:02:55 +08:00
Unknwon
7ca5f8f119
models/repo: remove redundant info for some repo methods
...
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
2016-07-15 21:53:43 +08:00
Richard Mahn
7796c9e122
Fixes #3263 - Change for Fontawesome icons to not conflict withs semantic-ui ( #3267 )
2016-07-15 13:57:28 +08:00
Kim Carlbäcker
f4ab50501e
[Fix] Don't display way too large files #1513 ( #3253 )
...
* Add MaxDisplayFileSize setting
* Don't show files that are too large
* Localized FileTooLarge
* Change IsFileTooBig => IsFileTooLarge
2016-07-12 06:21:26 +08:00
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
2016-07-11 05:28:56 +08:00
Unknwon
a1f717f65a
Update locale
2016-07-09 23:59:13 +08:00
Unknwon
9fcf66f0e0
Minor fix for #3246
2016-07-09 13:42:05 +08:00
Pablo Saavedra
98b152030d
The pruning for the synchronized mirrors is a option now. Default value: enable_prune = true ( #3246 )
...
Executed go fmt
getEngine() not handles DB parameters (#2972 ) (#2974 )
Uses .AllCols() for Update in updateMirror()
Spanish traslation removed
Fixed a wrong way to ommit the --prune option in process.ExecDir() for MirrorUpdate function
2016-07-09 13:22:28 +08:00
Pheng Heong TAN
467d7dacb6
Modify behaviour of repo-delete. ( #3232 )
...
Re: issues gogits/gogs#2863 and gogits/gogs#3231
As a result of modifications to the contents of the conf folder, `make bindata`
was run, causing an update to bindata.go.
Meta
-----
This commit will be rebased onto the 'develop' branch.
2016-07-09 13:13:57 +08:00
Andrey Nering
743d22669a
Re-work MAX_DIFF_LINES: supress diff per file, not the whole diff ( #3174 )
2016-06-29 23:11:00 +08:00
Andrey Nering
6efb1e5626
Localize collaboration settings. ( #3100 )
...
Closes #2764
2016-06-28 00:22:30 +08:00
Unknwon
73b4acbb63
Update glide.yaml
2016-06-27 23:40:36 +08:00
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Cosmin Stroe
ba314a7a36
Support alphanumeric issue style (ABC-1234) for external issue tracker ( #2992 )
2016-04-22 18:28:08 -04:00
Unknwon
a27c6f4b75
#2916 fix sort' field missing on issue pagination link
2016-04-04 19:48:10 -04:00
Unknwon
9a5a27ea8d
Improve repository lable style
...
- add border-radius to filter list items
- use color as background of label for issue/pull view page
2016-03-15 19:52:40 -04:00
Odin Ugedal
c9321550e0
Add prorper escaping of url in issue form
2016-03-15 11:56:49 +01:00
Odin Ugedal
ac390d28b8
Fix problems with '#' in branchname
...
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822 .
2016-03-15 11:36:23 +01:00
Unknwon
c6277cce51
Minor fixes for #2761
2016-03-11 17:57:44 -05:00
Unknwon
6530375dbf
Merge pull request #2761 from soudy/grey-out-merge-commit
...
Grey out merge commits
2016-03-11 17:51:17 -05:00
Unknwon
0e9bc2d410
Fix pull request availability check
2016-03-06 23:57:46 -05:00
Unknwon
a5b0400be7
#1146 finish new access rights for collaborators
2016-03-05 20:45:23 -05:00
Unknwon
045f14fbd0
#1146 finsih UI work for access mode of collaborators
...
Collaborators have write access as default, and can be changed via repository
collaboration settings page to change between read, write and admin.
2016-03-05 18:08:42 -05:00
Steven Oud
1d3ec27cb7
Put if statement of grey merge commits on one line
2016-03-05 17:59:07 +01:00
Steven Oud
a0cd59bd0e
Grey out merge commits
2016-03-05 17:00:38 +01:00
Unknwon
dfd6f8f7ab
Merge pull request #2757 from joshfng/fix-fork-relative-url
...
Use relative url when showing forked from
2016-03-04 18:37:42 -05:00
Josh Frye
275464e7fb
Use relative url when showing forked from
2016-03-04 18:32:30 -05:00
Unknwon
2d2d85bba4
#1597 support pull requests in same repository
2016-03-04 15:43:01 -05:00
Josh Frye
2f228ddf31
Update delete wiki page route
2016-03-04 09:26:52 -05:00
Josh Frye
1ca171dbe9
Add ability to delete single wiki pages.
2016-03-04 09:26:52 -05:00
Unknwon
dfbda48afc
Merge pull request #2738 from andreynering/emogify
...
Render emojis in more places.
2016-03-03 23:38:20 -05:00
Unknwon
260723e2cc
Minor fixes for #2745
2016-03-03 23:24:22 -05:00
Josh Frye
f3358f5927
Repo setting to delete and disable wiki
2016-03-03 16:12:48 -05:00
Andrey Nering
13e71acadf
Render emojis in more places.
2016-03-02 21:54:05 -03:00
Unknwon
42a556a082
Merge pull request #2722 from chriswatt/hidewikidlbutton
...
Hide the download archive button when viewing wiki pages
2016-02-29 13:36:22 -05:00
chriswatt
a71a5bfeb4
Remove download archive button on wiki pages
2016-02-29 15:45:55 +00:00
chriswatt
548440b48f
Change colour of numbers on pull request tabs if greater than zero
2016-02-28 23:27:41 +00:00
Lukas Dietrich
c0eaae200e
Add ForegroundColor for labels
2016-02-27 13:59:11 +01:00
Andrey Nering
d160c7e565
Little refactoring of diff highlight.
...
Moving cache variable to template instead of in the struct.
2016-02-21 18:45:24 -03:00
Unknwon
7140dbac95
Fix #857
2016-02-20 15:10:34 -05:00
Unknwon
a703f7d7b4
Merge pull request #2647 from andreynering/issue-template
...
Implement issue and pull request templates
2016-02-20 14:12:15 -05:00
Download-Fritz
a467184e13
#2505 Allow to fork and disallow to create PRs for mirrors.
2016-02-19 20:33:06 +01:00
Andrey Nering
658bfc2704
Implement issue and pull request templates.
...
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates
Priority:
- root
- .gogs
- .github
2016-02-18 21:21:30 -02:00
Unknwon
632c27802c
Minor fix for #2624
2016-02-15 14:57:15 -05:00
Unknwon
dc89c51f3e
Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
...
Convert mirrors to regular repositories
2016-02-15 14:26:21 -05:00
chriswatt
d710b5e791
Fix when repo is empty
2016-02-14 23:26:47 +00:00
chriswatt
c47866b34a
Add grey bg to tabs on repo page
2016-02-14 23:09:33 +00:00
Martin Hartkorn
15d37b7a95
Refactored according to suggestions
2016-02-14 22:40:39 +01:00
Martin Hartkorn
3650bd8528
Convert mirrors to regular repositories.
2016-02-14 21:12:00 +01:00
chriswatt
af8e323248
Fix tab index on new issue/comment form
2016-02-07 22:14:33 +00:00
Unknwon
b09ddc72d2
Merge pull request #2581 from chriswatt/committab
...
Make commits tab active when on diff page
2016-02-07 15:37:22 -05:00
chriswatt
a881f776d0
Make commits tab active when on diff page
2016-02-07 20:11:25 +00:00
Andrey Nering
2bfb8bb5fd
Enable sintax highlighting on diff view. Close #733
2016-02-04 18:21:47 -02:00
Unknwon
1c74612b3c
Minor fix for #2444
2016-02-01 20:55:12 -05:00
Unknwon
d3ba246693
Merge pull request #2444 from bkcsoft/feature/participants
...
Implemented participant-listing for issue-pages (Fixes #2377 )
2016-02-01 20:31:54 -05:00
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
2016-02-01 17:04:58 +00:00
Unknwon
566163ab82
Merge pull request #2502 from bkcsoft/fix/split-view-diff
...
Split view fixed
2016-01-28 10:11:45 -05:00
Kim "BKC" Carlbäcker
96dee1c354
Split view fixed
2016-01-27 23:52:42 +01:00
Andrey Nering
5deb726f3f
Refactoring of inline diff computing to prevent empty diff box. Fix #2489
2016-01-27 18:54:08 -02:00
Kim "BKC" Carlbäcker
b921161666
Name popup
2016-01-26 17:55:54 +01:00
Kim "BKC" Carlbäcker
2cc1ee3fc0
Implemented participant-listing for issue-pages
2016-01-26 17:55:54 +01:00
Unknwon
d1675c2701
fix CSS of branch dropdown when view commits under revision
2016-01-14 21:27:36 +08:00
Adam Strzelecki
41fdaabcf7
commit.RefUrl expects AppUrl argument
...
This is fixup for ea375c0dcc
. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
2016-01-13 19:09:50 +01:00
Unknwon
bcf6aed452
Merge pull request #2335 from andreynering/highlight-diff
...
Highlight diff
2016-01-09 13:39:18 +08:00
Unknwon
cc8c67ff29
fix markdown autolink error
2016-01-09 10:59:04 +08:00
Andrey Nering
81ed5c4bee
Declaring specific types for enums constants.
...
This makes the code more strict since you can't assign or compare
values of different types without proper cast.
2016-01-06 18:00:40 -02:00
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
2016-01-06 17:46:56 -02:00
Kim "BKC" Carlbäcker
2087156119
Removed opticon-fold
2016-01-06 02:21:20 +01:00
Kim "BKC" Carlbäcker
3870a7a3c8
merged split/unified templates
2016-01-06 00:08:50 +01:00
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker
4e6d048ba1
i18n-fix for split-view
2016-01-05 19:21:49 +01:00
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
a49af93faf
#1692 APIs: Users Followers
...
- User profile un/follow
- List user's followers/following
2015-12-21 04:24:11 -08:00
Unknwon
c62a6b7a12
#2014 allow switch branches between two orgs in compose PR
2015-12-20 01:06:54 -05:00
Unknwon
5ff6eedf5e
#2251 fix button name
2015-12-19 22:07:06 -05:00
Unknwon
3bcdb3855c
#2250 Use HTTP/HTTPS as default clone option
2015-12-19 21:12:13 -05:00
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
2015-12-16 22:13:12 -05:00
Unknwon
eb918c2368
fix only admin can view milestone desc
2015-12-15 21:25:38 -05:00
Unknwon
ea375c0dcc
new template func
2015-12-13 23:16:58 -05:00
Unknwon
7509fa2c33
improve get commits performance
2015-12-13 22:58:12 -05:00
Unknwon
351dfc95a9
prepare release
2015-12-12 21:58:54 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
c3440c4dd3
#2035 Show author e-mail in commit diff
2015-12-09 11:46:39 -05:00
Angus Gibson
df05134494
Break branch-selection dropdown into a template
...
We only handle branch selection for repo home and commits pages, so the
redirection URL is based on PageIsCommits
2015-12-09 17:15:58 +11:00
Angus Gibson
9bd3ebe207
Dropdown on commits page to choose branch #1846
...
I've mostly duplicated the dropdown code from repo/home.tmpl, which
basically only required a change to the URL. This could probably be
broken out into something more modular.
2015-12-09 16:37:04 +11:00
Unknwon
a576224d0e
unified name: IsViewBranch, IsViewCommit and IsViewTag
2015-12-09 00:32:53 -05:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Adam Strzelecki
da2585c11e
Indent all templates with tabs
...
This commit improves templates readability, since all of them use consistent
indent with all template command blocks indented too.
1. Indents both HTML containers such as <div>, <p> and Go HTML template blocks
such as {{if}} {{with}}
2. Cleans all trailing white-space
3. Adds trailing last line-break to each file
2015-12-08 00:57:46 +01:00
Adam Strzelecki
e2ca53029e
Render commit msg as header + verbatim description
...
Most commit in Git are expected to follow standard of single header line,
followed by description paragraphs, separated by empty line from previous block.
Previously Gogs were treating everything as single header. Now we are trying to
render only first line as header, but following lines (description chunks) as a
verbatim.
2015-12-07 01:50:45 +01:00
Unknwon
404867f206
fix #2105 and fix #1857
2015-12-05 13:24:13 -05:00
Unknwon
f0ee33267c
fix #2102
2015-12-05 11:46:42 -05:00
Unknwon
1ee7c33e93
template fix
2015-12-04 21:32:33 -05:00
Unknwon
e538ff2770
fix #1829 and fix #890
2015-12-04 21:30:33 -05:00
Adam Strzelecki
edbb67cb3f
UI: Use more subtle grey SHA1 labels
...
Current green SHA1 labels are more pronounced than other UI elements attracting
attention as if they were most important thing in the UI, while they are not as
important, especially without real Git client.
Using grey SHA1 labels makes the UI more balanced, less aggressive and lets
user to focus on other content elements.
NOTE: Neither GitHub or Bitbucket uses so heavy pronunciation as Gogs.
2015-12-03 14:21:20 +01:00
Unknwon
ec2423ad7c
more UI minor fixes
2015-12-02 20:56:26 -05:00
Unknwon
c4bab163cb
Merge pull request #2088 from nanoant/patch/further-layout-fixes
...
Further layout fixes
2015-12-02 20:26:48 -05:00
Adam Strzelecki
2580e7b57e
UI: Always show menu on repo pages
...
Merges repo/sidebar.tmpl with repo/header.tmpl and makes every repo page use
middleware.RepoRef() necessary to display information on this menu.
2015-12-03 02:16:18 +01:00
Unknwon
3d3498bda1
clean test data
2015-12-02 20:10:47 -05:00
Unknwon
29375059e1
minor CSS fix
2015-12-02 20:10:00 -05:00
Adam Strzelecki
b73241ceb1
UI: Display last-commit header without 2nd column
...
This uses a CSS trick making first th to be relative block with width equal to
first two columns, effectively working around inability to use colspan="2" on
first row that was breaking "fixed-layout" for tables.
Also use grey header for last-commit SHA1 tag.
2015-12-03 01:15:40 +01:00
Adam Strzelecki
314664892c
UI: Keep repo URL action right of ref combo & path
...
Just use secondary menu instead custom ".head.meta", which simplifies code.
Also do not display repo URL action when we are in subdirectory or viewing a
file.
2015-12-02 23:48:36 +01:00
Adam Strzelecki
3eae4ecde7
UI: Make repository menu divide header and content
...
This is more inline with way GitHub looks like and feels much more natural and
in style with rest of the interface.
2015-12-02 22:40:22 +01:00
Adam Strzelecki
ec98deeb8c
UI: Keep repository settings menu button right
2015-12-02 22:06:50 +01:00
Adam Strzelecki
61fdd8c571
Commits & files UI: SUI fixed single line table
...
Instead using own ellipsis, uses Semantic UI fixed single line table which
effectively applies ellipsis to all overflowing table cells.
NOTE: File list cannot use colspan="2" for 1st "Last commit" elements,
otherwise layout breaks with fixed table.
2015-12-02 21:57:39 +01:00
Adam Strzelecki
99b958db43
UI: Mark top menu icons blue only when non-zero
2015-12-02 21:38:52 +01:00
Unknwon
5572884c6b
fix #2057
2015-12-01 20:51:31 -05:00
Unknwon
830d000667
finish wiki
2015-11-30 20:45:55 -05:00
Unknwon
5d1f5f32d0
wiki: finish pages
2015-11-27 02:16:12 -05:00
Unknwon
e42fcb033d
wiki: finish edit
2015-11-27 01:50:38 -05:00
Unknwon
392f3ee210
wiki: finish new
2015-11-27 00:24:24 -05:00
Unknwon
c50a3503e6
introduce git-shell
2015-11-26 17:33:45 -05:00
Unknwon
2b10fdc4dc
Wiki: UI for page new
2015-11-25 20:10:25 -05:00
Unknwon
144663a3cf
allow admin to migrate for any user/org
2015-11-25 00:55:37 -05:00
Unknwon
b2fb7e3fd2
more HTTP clone word fix
2015-11-22 13:01:42 -05:00
Unknwon
efaf60ba5a
fix #2013
2015-11-22 02:42:39 -05:00
Unknwon
52c8f69163
fix #650
2015-11-22 01:32:09 -05:00
Unknwon
987dcc5372
fix #1383
2015-11-20 02:38:41 -05:00
Unknwon
f04d773f4f
UI: long organization name in create repository owner list
2015-11-18 17:42:20 -05:00
Unknwon
81d7359fdd
fix #1981
2015-11-18 15:11:37 -05:00
Unknwon
ff5f14431e
fix #1448
2015-11-17 02:18:05 -05:00
Unknwon
9ab96172fc
new watchers, stars and forks UI
2015-11-16 23:28:46 -05:00
Unknwon
d370effca5
minor fix for #1961
2015-11-16 11:20:11 -05:00
Unknwon
29ed7872f8
repo sidebar active class
2015-11-16 11:16:52 -05:00
Unknwon
5dc3dd1704
fix #1960
2015-11-16 11:11:59 -05:00
Unknwon
134d8e7681
work on #1961
2015-11-16 10:14:12 -05:00
Unknwon
951037c0ae
remove test code
2015-11-16 00:16:43 -05:00
Unknwon
7046df6028
UI fix
2015-11-16 00:16:03 -05:00
Unknwon
1db3ae6601
UI fix
2015-11-16 00:03:23 -05:00
Unknwon
612d0d6d25
minor HTML fix
2015-11-15 23:59:39 -05:00
Unknwon
18de67380c
fix #1958
2015-11-15 23:52:46 -05:00
Unknwon
942284648e
fix markdown padding
2015-11-15 14:50:35 -05:00
Unknwon
4f03b81ec7
#1931 Test patch does not checkout correct base branch
2015-11-15 14:41:36 -05:00
Unknwon
b4970b3cc3
fix #1948
2015-11-15 14:05:51 -05:00
Unknwon
7c80eba77f
minor UI fix and fix ssh race
2015-11-14 13:21:31 -05:00
Unknwon
7b1c10ea7e
new repo ui
...
- copy link button: #1396 , #1168 , #1668 ,
- synxtax highlight: #1712 , #1549 , #1315 , #670
- z-index: #1942
2015-11-14 04:34:01 -05:00
Unknwon
6a664e88c7
#1854 show issue content
2015-11-13 12:11:45 -05:00
Unknwon
675cd997d8
minor tabindex fix
2015-11-11 16:24:13 -05:00
Unknwon
908f2924ce
fix #1824 and fix #1917
2015-11-11 16:19:28 -05:00
Alexey Makhov
7835c2212c
issue #1824 add tabindex
2015-11-11 22:59:06 +03:00
Unknwon
3b62a0fe0e
fix #1572 fix file histrory paging issue
2015-11-10 16:46:17 -05:00
Unknwon
1b5e1bebc2
fix #1886
2015-11-04 00:32:25 -05:00
Unknwon
6f0a41b8b2
#1511 Allow local import only for admin users
2015-11-03 18:40:52 -05:00
Unknwon
0af035c37e
#1078 not show bin when rename a file
2015-11-03 09:52:17 -05:00
Unknwon
bc82157216
fix #1078
2015-11-02 19:55:24 -05:00
Unknwon
022820103d
#1657 allow forcing all private repos
2015-10-25 04:26:26 -04:00
Unknwon
0fbb8c8826
New push to head repo of head branch: regenerate patch and retest apply
2015-10-24 03:36:47 -04:00
Unknwon
fc7959d3bc
New/reopen PR checks if there is any unmerged and open PR
2015-10-18 19:30:39 -04:00
Steven Oud
280fde9b7c
added links to forks/watchers/stars in new layout header
2015-10-03 18:04:44 +02:00
Unknwon
4465c58f4b
new quick start page
2015-10-02 19:58:36 -04:00
kendaru
5c39d3fa7d
changed integrated page number to GET
2015-10-02 10:04:11 +02:00
Steven
87d64acc9f
fixed HTML indenting
2015-10-01 16:16:11 +02:00
Steven
c8aa9c6cb1
implemented #1721 : see users who forked/starred/watched a repository
2015-10-01 15:51:46 +02:00
Steven
ecd59deb27
implemented #1721 : see users who forked/starred/watched a repository
2015-10-01 15:17:27 +02:00
无闻
befed9c20c
Merge pull request #1662 from SergioBenitez/develop
...
Commit messages now rendered with line breaks and prefix spacing.
2015-09-24 17:23:53 -04:00
Unknwon
69b1d65c9b
remove unused file and update locale
2015-09-20 23:29:59 -04:00
Sergio Benitez
7acbcf9ddd
Commit messages now rendered with line breaks and prefix spacing.
2015-09-18 19:02:23 -07:00
Unknwon
923873db85
fix possible XSS in view issue page
2015-09-17 14:22:46 -04:00
Unknwon
c7ac237b57
fix css
2015-09-11 20:49:28 -04:00
Unknwon
f432f1f41c
#1604 suburl for release md preview
2015-09-08 10:05:57 -04:00
Unknwon
6f6f38e7c3
#1603 suburl for comment attachments
2015-09-08 09:09:40 -04:00
Unknwon
31e7b0f588
#1599 status button mrigin-right
2015-09-07 15:22:52 -04:00
Unknwon
cc83043edc
minor fix on template
2015-09-07 14:02:09 -04:00
Unknwon
24658fcbdd
#633 dix suburl
2015-09-06 06:57:25 -04:00
Unknwon
119dec51f2
Mirror repository should not allow fork
2015-09-05 14:31:52 -04:00
Unknwon
1c2dbd7183
fix dropdown style
2015-09-05 05:06:03 -04:00
Unknwon
5c5ccddb02
fix buttons style
2015-09-02 20:04:18 -04:00
Unknwon
c0a899b151
css fix
2015-09-02 18:32:23 -04:00
Unknwon
83dc2468f5
finish initial version of pull request
2015-09-02 16:18:09 -04:00
Unknwon
953bb06857
basic PR feature
2015-09-02 09:26:56 -04:00
Unknwon
1abfe4e05f
PR: nothing to commit and has pull request check
2015-09-02 05:09:12 -04:00
Unknwon
37e0cee877
finish PR UI
2015-09-02 04:08:05 -04:00
Unknwon
ebf1bd4f51
add view pull desc
2015-09-01 19:26:39 -04:00
Unknwon
8c046073a8
work on PR conversation
2015-09-01 19:07:02 -04:00
Unknwon
670ade9a61
#1206 does not allow fork bare repo
2015-09-01 11:57:02 -04:00
Unknwon
398569f6f8
#1021 Forked repo unavailable after deleting original repo
2015-09-01 11:43:53 -04:00
Unknwon
17c2d1fc7c
fix dashboard 500 when no issues at all
...
- update locales
- update README
2015-09-01 06:31:47 -04:00
Unknwon
ee3e0c3c49
fix dropdown search
2015-08-31 17:10:28 +09:00
Unknwon
1ca257ad9f
rename fields
2015-08-31 16:24:28 +09:00
Unknwon
cb381078ff
finish new repo options page
2015-08-31 13:36:31 +08:00
Unknwon
c6b039c6f9
new repo options UI
2015-08-30 03:21:59 +08:00
Unknwon
9b9e5f0290
#1545 Cross reference the commit from the issue when it is closed by the commit
2015-08-30 00:45:56 +08:00
Unknwon
9ef063cbb0
change checkbox ui
2015-08-29 15:49:14 +08:00
Unknwon
55ddf225bb
webhook APIs
2015-08-29 11:49:59 +08:00
Unknwon
f509c59ac1
new create webhook event
2015-08-28 23:36:13 +08:00
Unknwon
c7a4369db9
add readme template help link
2015-08-28 19:23:02 +08:00
Unknwon
a00194e665
work on #1548
2015-08-28 19:15:25 +08:00
Unknwon
bb3b90fcd6
#1487 Readme Template
2015-08-28 18:33:09 +08:00
Unknwon
46bee50e45
complate list of gitignores and licenses
2015-08-28 16:44:04 +08:00
Unknwon
70e0153b93
add highlight js
2015-08-27 23:58:50 +08:00
Unknwon
23f42d92c9
add webhook recent deliveries
2015-08-27 23:06:14 +08:00
Unknwon
ce386cfb61
fix suburl
2015-08-27 14:05:24 +08:00
Unknwon
c08600c59b
new edit webhook UI
2015-08-27 01:04:23 +08:00
Unknwon
4217c2333c
new create webhook UI
2015-08-27 00:30:06 +08:00
Unknwon
2881456421
new webhooks list UI
2015-08-26 21:45:51 +08:00
Unknwon
1cb03135b7
new repo git hooks UI
2015-08-26 18:03:30 +08:00
Unknwon
2f2bf20aae
fix menu overflow
2015-08-26 12:39:32 +08:00
Unknwon
45c2b4bd76
fix HTML
2015-08-26 01:32:12 +08:00
Unknwon
f808df5a7b
new user dahsboard issues
2015-08-25 22:58:34 +08:00
Unknwon
6821527c95
fix style
2015-08-21 00:32:46 +08:00
Unknwon
4275b3720a
finsih diff and compare
2015-08-21 00:18:30 +08:00
Unknwon
aa65761d81
new commits table
2015-08-20 20:18:49 +08:00
Unknwon
062adbed8a
add confirmation to delete ssh key
2015-08-20 17:11:29 +08:00
Unknwon
ac616c07de
fix #966
2015-08-20 15:57:51 +08:00
Unknwon
371572cf5f
allow edit issue and comment
2015-08-20 04:31:28 +08:00
Unknwon
87f5ca8e1f
able edit issue title
2015-08-19 23:14:57 +08:00
Unknwon
4c7b6414eb
new access token UI
2015-08-19 03:36:16 +08:00
Unknwon
2493454587
new delete account UI and password confirmation
2015-08-19 02:49:44 +08:00
Unknwon
81b8427438
new UI on admin/monitor
2015-08-19 00:34:11 +08:00
Unknwon
7bb5cb444c
fix css styles
2015-08-15 20:55:03 +08:00
Unknwon
2e30b421b4
comletely remove v1 UI files of Gogs
2015-08-15 19:07:21 +08:00
Unknwon
c8bb475abb
fix autocomplete on migration
2015-08-15 18:16:39 +08:00
Unknwon
c7d5e1f182
clean file and update locales
2015-08-15 16:30:24 +08:00
Unknwon
e633425f27
#1180 and #1250 : migration
2015-08-15 16:03:20 +08:00
Unknwon
a52324a5f9
able sort issues
2015-08-15 12:07:08 +08:00
Unknwon
4ce003dc15
Filter issues by assignee
2015-08-15 11:24:41 +08:00
Unknwon
a24141ec9c
more on #1319
2015-08-15 02:54:39 +08:00
Unknwon
30b428bf0e
#1419 : 500 when visit a issue with issue/comments of deleted user
2015-08-15 02:48:05 +08:00
Unknwon
cec38f2a8c
able edit issue labels/milestone/assignee
2015-08-15 00:42:43 +08:00
Unknwon
817b48ed1e
Show owner/poster tags of comments and fix #1312
2015-08-14 02:43:40 +08:00
Unknwon
1fb53067f4
finish close/reopen issue
2015-08-13 23:21:43 +08:00
Unknwon
133b19d0c5
finish view comments on issue page
2015-08-13 16:07:11 +08:00
Unknwon
a01867cc1a
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# public/css/gogs.min.css
2015-08-12 19:10:16 +08:00
Unknwon
33f33e055a
fix on #1466
2015-08-12 19:08:10 +08:00
无闻
52933932d2
Merge pull request #1466 from manfer/semantic
...
modified repo header
2015-08-12 18:46:19 +08:00
Unknwon
ab2d0b3b44
add comment form UI
2015-08-12 18:44:09 +08:00
Gogs
009d716a02
modified repo header
2015-08-12 12:12:06 +02:00
Unknwon
b4c0b7b98b
finish view issue without comments and ops
2015-08-12 17:04:23 +08:00
无闻
d1a82a82b4
Merge pull request #1454 from gustavopaes/bug/1453
...
Remove SSH button when SSH it is disabled
2015-08-12 03:44:30 +08:00
Unknwon
34f6cbfc2a
finish attachments when create issue
2015-08-11 23:24:40 +08:00
Unknwon
89c2bd4a0d
finish create issue attachment UI
2015-08-11 17:54:00 +08:00
Unknwon
887bc1b594
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# modules/bindata/bindata.go
# public/css/gogs.min.css
2015-08-10 23:01:41 +08:00
James Anderson
b2bd6c4c5a
Fix broken collaboration link in repo settings
2015-08-10 09:27:10 -05:00
Unknwon
75aff60c90
finish create issue with milestone and assignee
2015-08-10 21:47:23 +08:00
Unknwon
09a1b2a1f5
finish create issue with milestone
2015-08-10 18:57:57 +08:00
Unknwon
922f3f3062
finish create issue with labels
2015-08-10 16:52:08 +08:00
Unknwon
17de3ab0a3
add migrate from issue.label_ids to issue_label
2015-08-10 14:42:50 +08:00
Gustavo Paes
4564d13496
Remove SSH button when SSH is disabled
2015-08-09 15:03:46 -03:00
Unknwon
48f12d4ead
upgrade new issue to SUI v2
2015-08-10 01:04:23 +08:00
Unknwon
a79586cc54
Merge branch 'develop' of github.com:gogits/gogs into feature/pull_request2
...
# Conflicts:
# modules/bindata/bindata.go
# public/css/gogs.min.css
# templates/repo/header.tmpl
2015-08-10 00:37:42 +08:00
Unknwon
8a3ee795d2
finish transforming to v2
2015-08-10 00:23:20 +08:00
Unknwon
7372042441
list view: issue, label, milestone
2015-08-09 22:45:38 +08:00
Unknwon
590c464c56
UI: create issue with title and content
2015-08-09 15:23:02 +08:00
Unknwon
4b43ffc96c
Generate random avatar based on e-mail when disable Gravatar
2015-08-09 11:46:10 +08:00
无闻
56a8d573b0
Merge pull request #1451 from jamesa/fix-owner-tag-on-issues
...
Add check to see if comments on an issue are by the repo owner
2015-08-09 10:23:34 +08:00
James Anderson
fc63422caf
Add check to see if comments on an issue are by the repo owner
2015-08-08 17:16:11 -05:00
Unknwon
43a87b0caf
auto-redirect when finish filter branch
2015-08-08 23:12:23 +08:00
Unknwon
dea3a8c6a4
WIP: create PR - choose branch
2015-08-08 22:43:14 +08:00
Unknwon
e3bdfd51ff
better fork permission check
2015-08-08 17:24:10 +08:00
Unknwon
9db4acc62e
improve fork process
2015-08-08 17:10:34 +08:00
Unknwon
9d414d4dd9
remove Index field of milestone
2015-08-06 23:25:35 +08:00
Unknwon
39a3b768bc
#334 : Add Deployment Key Support
2015-08-06 22:48:11 +08:00
Unknwon
0705f55ce0
finish new milestone page
2015-08-05 20:23:08 +08:00
Unknwon
6d2f25b9f5
clean files
2015-08-05 18:28:05 +08:00
Unknwon
74bd6b939c
milestone: edit
2015-08-05 18:26:18 +08:00
Unknwon
cf90312b8f
clean file
2015-08-05 15:46:35 +08:00
Unknwon
4081f86654
fix new milestone button visibility
2015-08-05 15:27:22 +08:00
Unknwon
3e4cdccf6b
milestone: create page
2015-08-05 15:24:26 +08:00
Unknwon
9311a9858a
milestone: pagination
2015-08-04 22:24:04 +08:00
Unknwon
e7f015db8c
fix template
2015-08-03 20:14:22 +08:00
Unknwon
04458d49a0
milestone: list view
2015-08-03 17:42:09 +08:00
Fernando San Julián
b92bb77b54
autofocus for new and edit issue forms
2015-07-31 22:12:33 +02:00
Fernando San Julián
4bfc71c73f
pagination in repo issues page only if needed
2015-07-30 22:14:52 +02:00
Vladimir Vissoultchev
2bb1fb8f44
Use EscapePound in link hrefs in diff/file views
2015-07-28 19:51:40 +03:00
无闻
678700b74d
Merge pull request #1402 from wqweto/develop
...
Allow file and directory names to contain percent character
2015-07-28 17:46:58 +08:00
Vladimir Vissoultchev
167265d533
Allow file and directory names to contain percent character
2015-07-28 11:42:06 +03:00
Unknwon
589618c8a5
better paging
2015-07-28 03:14:37 +08:00
Unknwon
2e7b38db9f
fix paging links and issue count
2015-07-25 13:07:00 +08:00
Unknwon
1ba837a055
new issue and label page
2015-07-25 02:52:25 +08:00
Unknwon
54b58e988d
Merge branch 'develop' of github.com:gogits/gogs into feature/page_issues
2015-07-25 00:49:40 +08:00
无闻
e69f09f50e
Merge pull request #1275 from jstasiak/develop
...
Add file permalink button
2015-07-25 00:32:11 +08:00
Unknwon
dc4aab9925
UI: CURD labels
...
- fix update lable break connection with repository
2015-07-24 23:13:42 +08:00
Unknwon
ac95f6d50f
UI: basic label list
...
- create new label
2015-07-24 21:02:49 +08:00
Unknwon
86dbda0b42
UI: basci issue list without filters
...
- fix isRead check
- fix paging
2015-07-24 16:42:47 +08:00
Unknwon
4447a20f87
UI: issues - finish basic frame
2015-07-24 04:50:05 +08:00
Unknwon
03011ed307
fix suburl for js
2015-07-16 03:15:18 +08:00
Jakub Stasiak
562ad02a6d
Add file permalink button
...
The button appears when a file is viewed in a branch or a tag. It points
to a URL containing the branch's (or tag's) current commit id so that
it'll always point to the same content.
2015-07-13 21:52:48 +02:00
Unknwon
5cf3732339
UI: install - new version
2015-07-08 19:47:56 +08:00
Unknwon
8061447f0e
#1114 'New Release' always visible
2015-03-24 19:20:36 -04:00
Unknwon
75cbb32b1e
UI compatibility
2015-03-21 09:24:59 -04:00
Unknwon
4aecaf7488
#1082 : missing link for help
2015-03-18 05:00:28 -04:00
Unknwon
471b8a18ab
Revert "Merge pull request #1047 from ndarilek/accessibility-fixes"
...
This reverts commit c226e92284
, reversing
changes made to 80b23854bc
.
2015-03-15 22:24:41 -04:00
Nolan Darilek
25dd6f8fa0
Add additional accessibility text to repository navbar.
2015-03-14 12:30:14 -05:00
Unknwon
34102f7889
remove unused scripts and simplify migrate form definition
2015-03-11 09:21:05 -04:00
Filippo Valsorda
5d5d774e03
Handle submodules without a .gitmodules entry - fix #1023
2015-03-10 03:08:17 +00:00
Unknwon
10e4b5b6c6
Merge branch 'access' of github.com:gogits/gogs into access
2015-02-22 22:55:35 -05:00
Unknwon
059338139c
routers: able to migrate repo from local path
...
- modules/middleware/context.go: add HandleAPI method
2015-02-22 09:49:25 -05:00
Alexey Makhov
d2f439a241
fix typo mistake
2015-02-19 10:19:10 +03:00
Alexey Makhov
c0ad512398
remove not using vars
2015-02-19 00:55:17 +03:00
Alexey Makhov
563e8b4ea9
gitlab-like hash naming
2015-02-19 00:52:22 +03:00
Stefan-Code
b508fb041f
Merge branch 'dev' of https://github.com/gogits/gogs into dev
2015-02-18 11:12:41 +01:00
Stefan-Code
1628ef4ba5
changed repo-clone-url behaviour for bare repo
2015-02-18 08:22:13 +01:00
Peter Smit
e6fc58a744
Remove GoGet option from repository and handle it with ?go-get=1 instead
...
The normal go get protocol is to show the go-import meta tag when ?go-get=1 is appended to the url. This commit implements that behaviour and cleans the go-get option from the repository settings page.
2015-02-17 10:36:17 +02:00
Peter Smit
ed89b39984
Updating context and fixing permission issues
...
The boolean flags in the repo context have been replaced with mode and two methods
Also, the permissions have been brought more in line with https://help.github.com/articles/permission-levels-for-an-organization-repository/ , Admin Team members are able to change settings of their repositories.
2015-02-16 12:51:56 +02:00
Stefan-Code
e5d6f4ce56
Changes to repo-header-download-drop, different repo-clone-url input behaviour
2015-02-11 07:28:51 +01:00
无闻
6ed96b7a20
Merge pull request #911 from TonyTsangHK/dev
...
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
2015-02-09 00:31:16 -05:00
Unknwon
2a2596fe61
able to disable SSH for #883
2015-02-07 10:46:57 -05:00
Tony Tsang
fc6d80d619
Link to previous commited source file (diff.view_file button) instead of returning 404 for deleted files.
2015-02-06 17:02:32 +08:00
Unknwon
7140f50637
public/ng/js: script fix on #901
2015-02-04 19:52:31 -05:00
Alexey Makhov
e91b28eb9b
little fix
2015-02-04 22:06:40 +03:00
Alexey Makhov
5d4425bbbc
add multifile support to diff view highlighting
2015-02-04 21:54:45 +03:00
Alexey Makhov
7f71fe9dae
fix diff lines highlighting
2015-02-04 12:41:35 +03:00
Unknwon
faddaff90d
templates: fix commit message render issue #828
2015-01-31 15:31:09 -05:00
Unknwon
37fcc8daf2
modules/base: add RenderCommitMessage with XSS-safe and special links
...
- update russian locale
2015-01-30 18:05:20 -05:00
Unknwon
8e384ce46c
fix #828 , may cause unintentional break in other features, but security is no.1
2015-01-20 13:08:49 +08:00