Albert
250f1236dc
* Fix fileview rendering bug #2470 ( #2477 )
2017-09-10 22:21:26 +02:00
Lunny Xiao
caa61a2b99
bug fixed
2017-09-04 14:22:07 +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
874f9be3e6
Move themes to plugin directory. Fixes #2372 ( #2375 )
2017-08-24 08:52:42 +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
Morlinest
7455604f0c
Remove (almost) server side data rendering from repo-search component ( #2317 )
...
* Rename some shorthands
* Remove (almost) server side data rendering from repo-search component template
2017-08-22 21:00:34 +08:00
Antoine GIRARD
fd8e8a421a
Improve swagger doc ( #2274 )
...
* Add swagger comment for adminCreateOrg
* Add swagger comment for admin route
* add hook swagger doc
* Add tags
* Add auth
* Fix name of responses
* Edit name method
* Update vendor
* make generate-swagger
2017-08-21 14:13:47 +03:00
Sandro Santilli
2c3a229a3c
Add OpenID configuration in install page ( #2276 )
2017-08-19 17:34:49 +02:00
Morlinest
4c13a8458b
Fix repo-search template errors for go1.7 ( #2336 )
2017-08-19 09:37:48 +08:00
Morlinest
f3486360d2
Make use of Vue more universal ( #2318 )
2017-08-17 19:04:39 +03:00
Morlinest
951fb572a7
Fix and improve dashboard repo UI ( #2285 )
...
* Fix and improve dashboard repo UI
* Change order of scripts loading
* Remove "mirror" tab
* Remove single tab panel for "org user"
* Add localization strings
* Create vue component and change event for search
* Add "mirrors" filter
2017-08-17 09:31:34 +08: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
silverwind
54381f438b
File path tweaks in UI ( #2264 )
2017-08-06 11:13:20 +08:00
silverwind
31411a9462
Prevent selection of diff line numbers ( #2240 )
2017-08-01 10:27:17 +08:00
silverwind
d74d8ecc2e
Generate small and large logos at 4x resolution ( #2233 )
...
To support High-DPI displays, generate images at 4 times their displayed
resolution, which should be enough to support all current devices
according to https://material.io/devices/ .
2017-07-30 23:04:01 +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
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
Lauris BH
047a67a90b
Refactor vue delimeters to use es6 template delimeters ( #2171 )
2017-07-15 22:22:26 +08:00
Aaron Walker
6a3c03762a
API: support '/orgs/:org/repos' ( #2047 )
...
* API: support '/orgs/:org/repos'
2017-07-13 13:14:15 +02:00
Lauris BH
a739991b36
Fix repository settings collobration list display ( #2151 )
2017-07-12 22:32:28 -05:00
Bo-Yi Wu
2b05b104ef
Add verify changed less-file step to Makefile ( #1861 )
2017-07-12 04:28:57 +02:00
Guillermo Bonvehí
858197b453
Fix #1271 : Call location.reload after XHR finishes ( #2071 )
...
location.reload was being called when the related dropdown
was hidden, even if a request initiated before to update this
value hadn't finished. This caused troubles on Firefox.
2017-06-28 16:55:28 +08:00
silverwind
0168b7073d
Use monospace font in githook editor ( #1958 )
2017-06-13 10:48:49 +08:00
Jonas Östanbäck
ad70af1248
Add repo fork swagger ( #1941 )
2017-06-12 08:59:51 +08:00
silverwind
f2fcd9dcd8
Support CRLF when splitting code lines for display ( #1862 )
...
* Support CRLF when splitting code lines for display
* refactor, fix mixed match
* fmt
* split on both LF and CRLF, use raw literals in regexes
* simplify
2017-06-10 23:20:25 +08:00
silverwind
ae922afa2d
Prevent accidential selection of line numbers in code view ( #1860 )
2017-06-05 02:52:35 -05:00
Antoine GIRARD
a97d6bf24b
Use production version of vuejs. ( #1869 )
2017-06-04 11:04:42 +08:00
Hussain Khalil
009a073990
Remove annoying difference in button heights. ( #1853 )
...
* Remove annoying difference in button heights.
Why was that even there?
See before & after: http://imgur.com/a/yKdUR
* (2/2) Remove annoying difference in button heights
2017-06-03 16:58:43 +08:00
Antoine GIRARD
976c2a05fa
Fix change introduce by update of go-swagger. ( #1727 )
2017-06-01 23:35:31 -05:00
Sondre Nilsen
24859fe5b6
Fix FOUC on Firefox ( #1728 )
...
Firefox users will experience a flash of unstyled content on loading
various pages, this patch will fix this issue using Filament Groups
loadCSS library to asynchronously load the CSS responsible for the FOUC.
Will fix #1698 .
Signed-off-by: Sondre Nilsen <nilsen.sondre@gmail.com>
2017-05-31 09:05:49 +08: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
Andrey Nering
e67ece26f0
Merge pull request #1750 from andreynering/dashboard-search-org-repos
...
More fixes for dashboard search
2017-05-27 17:40:09 -03:00
Andrey Nering
12dbdaac76
Fix private repo icon
2017-05-27 13:40:54 -03:00
Patrick G
98ae013e90
Make navbar scroll on overflow ( #1777 )
...
* Scrollbars on overflow of horizontal nav
* Update _base.less
* Add fade out on right side of overflowing nav
* Update _base.less
2017-05-24 14:00:40 +08:00
Andrey Nering
be5323a05f
Update HighlightJS and fix YAML files highlighting ( #1764 )
...
* Update HighlightJS to 9.11.0
* Fix YAML files highlighting
2017-05-20 11:52:35 +08:00
Jonas Östanbäck
0161e46b5a
Add swagger comment for MirrorSync ( #1747 )
...
* Add swagger comment for MirrorSync
* Generate swagger.v1.json
2017-05-19 08:20:06 +08:00
Jonas Östanbäck
5db5e16ab6
Correct grammar in APIEmpty documentation ( #1748 )
...
* Correct grammar in APIEmpty doc
* Generate swagger.v1.json
2017-05-18 22:39:42 +08:00
Andrey Nering
dc2b28ed76
Show repos acording to user/organization
2017-05-18 11:28:29 -03:00
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
2017-05-14 17:37:15 +08:00
Andrey Nering
ab79069dc7
Improve dashboard repo search ( #1652 )
...
* Add VueJS
* Improve dashboard search
* Fix tab switching
* Fix input autofocus
2017-05-09 08:31:30 +08:00
Lauris BH
51d0becb42
Add configuration option for default permission to create Organizations ( #1686 )
2017-05-08 21:51:53 +02: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
Peter Dave Hello
b6206e4788
Fix static files permission under public/ ( #1675 )
2017-05-05 08:42:28 +08:00
Jonas Östanbäck
59f5bbab0d
Fix CSS for wiki markdown ( #1660 )
2017-05-03 20:22:14 +08:00
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
2017-05-02 15:35:59 +02:00
Willem van Dreumel
950f2e2074
Additional OAuth2 providers ( #1010 )
...
* add google+
* sort signin oauth2 providers based on the name so order is always the same
* update auth tip for google+
* add gitlab provider
* add bitbucket provider (and some go fmt)
* add twitter provider
* add facebook provider
* add dropbox provider
* add openid connect provider incl. new format of tips section in "Add New Source"
* lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow)
* imports according to goimport and code style
* make it possible to set custom urls to gitlab and github provider (only these could have a different host)
* split up oauth2 into multiple files
* small typo in comment
* fix indention
* fix indentation
* fix new line before external import
* fix layout of signin part
* update "broken" dependency
2017-05-01 21:26:53 +08:00
Peter Dave Hello
2368bbb672
Optimize png images via Google zopflipng [ci skip] ( #1639 )
2017-04-30 20:04:36 +08:00
Antoine GIRARD
8371f94d06
Rework SSH key management UI to add GPG ( #1293 )
...
* Rework SSH key management UI to add GPG
* Add more detail to gpg key display
* Update CHANGELOG.md
* Implement deletion UI
* Implement adding gpg UI
* Various fixes
- Fix duplicate entry in locale
- Re-generate hash before verification since they are consumed
* Add missing translation
* Split template
* Catch not found/verified email error
2017-04-26 21:10:43 +08:00
Michael de Wit
21290d4e80
Optimize and fix autolink function ( #1442 ) ( #1444 )
...
* Optimize and fix autolink function (#1442 )
* Fix bug in autolink recursive fallback function
2017-04-12 16:01:08 +08:00
Antoine GIRARD
d9db188274
Fix #1418 ( #1456 )
2017-04-07 22:50:40 +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
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
Sandro Santilli
a9de85d31d
Improve style of user OpenID setting page ( #1324 )
...
* Improve user openid list CSS and regenerate CSS
2017-03-20 08:51:33 +01:00
Sandro Santilli
71d16f69ff
Login via OpenID-2.0 ( #618 )
2017-03-17 15:16:08 +01:00
Antoine GIRARD
925b252927
Fix missing less sources for oauth ( #1288 )
2017-03-17 08:49:24 +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
Patrick G
03d79983ee
Cleaner UI for explore page ( #1253 ) ( #1255 )
...
* Take navbar out of column
* Add styles to navbar
* Changed navbar classes
* Remove unneeded !important from index.css
* Remove unneeded !important from _explore.less
2017-03-15 19:55:12 +01:00
Ethan Koenig
09fe4a2ae9
Batch updates for issues ( #926 )
2017-03-15 02:10:35 +01:00
Sandro Santilli
f0efb615c5
Add LibreJS support ( #1201 )
...
See See https://www.gnu.org/software/librejs/
Closes #1200
2017-03-12 22:50:20 +08:00
Patrick G
64214a9426
Search bar fixes for #1187 and #1205 ( #1207 )
2017-03-11 16:45:15 +08:00
Patrick G
5463640fe6
Fix double borders on edit page ( #1152 ) ( #1153 )
...
* Fix double borders on edit page (#1152 )
* Add border modifications to less file
2017-03-10 09:33:35 +08:00
Andrew Boyarshin
817710dd47
Fix span wrapping all the things
...
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
2017-02-24 18:49:04 +07:00
Willem van Dreumel
01d957677f
Oauth2 consumer ( #679 )
...
* initial stuff for oauth2 login, fails on:
* login button on the signIn page to start the OAuth2 flow and a callback for each provider
Only GitHub is implemented for now
* show login button only when the OAuth2 consumer is configured (and activated)
* create macaron group for oauth2 urls
* prevent net/http in modules (other then oauth2)
* use a new data sessions oauth2 folder for storing the oauth2 session data
* add missing 2FA when this is enabled on the user
* add password option for OAuth2 user , for use with git over http and login to the GUI
* add tip for registering a GitHub OAuth application
* at startup of Gitea register all configured providers and also on adding/deleting of new providers
* custom handling of errors in oauth2 request init + show better tip
* add ExternalLoginUser model and migration script to add it to database
* link a external account to an existing account (still need to handle wrong login and signup) and remove if user is removed
* remove the linked external account from the user his settings
* if user is unknown we allow him to register a new account or link it to some existing account
* sign up with button on signin page (als change OAuth2Provider structure so we can store basic stuff about providers)
* from gorilla/sessions docs:
"Important Note: If you aren't using gorilla/mux, you need to wrap your handlers with context.ClearHandler as or else you will leak memory!"
(we're using gorilla/sessions for storing oauth2 sessions)
* use updated goth lib that now supports getting the OAuth2 user if the AccessToken is still valid instead of re-authenticating (prevent flooding the OAuth2 provider)
2017-02-22 08:14:37 +01: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
Andrew Boyarshin
d4b752def9
Fix table headers ( #980 )
...
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
2017-02-20 11:13:20 +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
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
Bo-Yi Wu
40f4377717
feat: fill in ssh key title automatically. ( #863 )
2017-02-09 17:58:04 +08:00
Lunny Xiao
f35b20b042
track issue title changes ( #841 )
2017-02-05 22:36:00 +08:00
Shyim
de81f68d4d
Fixed form control is not focusable #687 ( #837 )
2017-02-04 14:02:24 +08:00
Lunny Xiao
081485ecfd
add milestone changed traker on issue view ( #804 )
2017-02-01 10:36:08 +08:00
Lunny Xiao
77ab60df83
fix bug caused by #788 ( #799 )
2017-01-30 22:21:17 +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
Bo-Yi Wu
d078aa30d6
feat: add search repository on dashboard. ( #773 )
2017-01-30 13:57:47 +08:00
Andrey Nering
5348e8b71a
Fix color: closed PR was showing as purple instead of red
2017-01-28 14:01:07 -02:00
Bwko
4faf097fb9
Added webkit-font-smoothing ( #763 )
2017-01-27 14:10:21 +08:00
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
2017-01-25 10:43:02 +08:00
unclejack
8bc431952f
public/img: reduce the size of PNG images ( #734 )
...
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
2017-01-24 22:37:11 +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
Andrey Nering
d2bb8ef503
Notifications: trying to get a better layout ( #660 )
...
* i18n button titles
* Improvements on notification page layout
* Notification count badge fixes
* Make table <tr> clickable
* Fix octicon aligment
* Fix use of AppSubUrl
2017-01-18 09:18:55 +08:00
Shyim
88f45ce38c
Fix #646 ( #669 )
2017-01-14 21:07:43 +08:00
Andrey Nering
769e0a3ea6
Notifications: mark as read/unread and pin ( #629 )
...
* Use relative URLs
* Notifications - Mark as read/unread
* Feature of pinning a notification
* On view issue, do not mark as read a pinned notification
2017-01-12 12:27:09 +08:00
Kazuki Sawada
e5620f07a4
Fix: Issues cannot be created with labels ( #622 )
...
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
2017-01-10 21:57:03 +08:00
vz
19570f2d43
Fix install.tmpl input default value ( #611 )
...
* Fix install.tmpl input default value
* Update db_user to gitea
* Add when INSTALL_LOCK = false
2017-01-09 17:16:10 +08:00
Andrey Nering
79d527195d
Merge pull request #539 from andreynering/notifications-step-2
...
Notifications - Step 2
2017-01-05 11:53:01 -02: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
Andrey Nering
f59672a18d
More fine graned colors
2017-01-02 16:40:50 -02:00
Bwko
9ccc3698d5
Fix wrong anchors for non-latin headings ( #3981 ) ( #512 )
...
Change Javascript regular expression to match non-latin characters
The regex comes from here: http://stackoverflow.com/questions/150033/regular-expression-to-match-non-english-characters#comment22322603_150078
And this patch should fixed these two issues: #3919 #3843
2016-12-31 18:06:09 +08:00
Andrey Nering
6069abe5fd
Notifications - Step 2
2016-12-30 16:51:24 -02: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
btrepp
25b5ffb6af
Enables mssql support ( #383 )
...
* Enables mssql support
Port of dlobs work in gogs.
Enables options in index.js
Enables MSSQL as a database option in go.
Sets ID to 0 on initial migration. Required for
MSSQL insert statements.
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
* Vendors in denisenkom/go-mssqldb
Includes golang.org/x/crypto/md4
as this is required by go-msssqldb
Signed-off-by: Beau Trepp <beautrepp@gmail.com>
2016-12-24 09:37:35 +08:00
Bwko
39d0db52de
Fix for #361 , renamed username to login
2016-12-07 15:56:43 +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
Andrey Nering
96c9fef35f
Update home page to Gitea ( #138 )
2016-11-11 08:50:31 +08:00
Rachid Zarouali
c040f2fbb1
first batch of Readme updates ( #65 )
2016-11-10 11:52:39 +01:00
Sandro Santilli
864d1b1f9f
Fix type in unused constant name ( #111 )
...
* Write LDAP, SMTP, PAM, DLDAP back to all uppercase
* Fix type in unused constant name
* Other MixCased fixes
* Complete MixerCasing of template constants
* Re uppercase LTS and LDAPS suffixes
* Uppercase JSON suffix in constant names
* Proper case LoginNoType
* Prefix unexported template path constants with "tpl"
2016-11-07 18:58:22 -02:00
Joubert RedRat
28bee28102
Replace Gogs to Gitea in installation options
2016-11-07 13:26:19 -02:00
Andrey Nering
ef5fc3c959
CSS: Stronger colors for diffs
2016-11-06 17:57:45 -02:00
Joubert RedRat
ff54e4d929
Set default less and css to new default name
2016-11-04 08:53:18 -02:00
Joubert RedRat
f3321d920d
Small UI fixes on full width form titles
2016-10-19 11:21:10 -02:00
Daniel Oaks
4efaf8e882
Fix repo list display on Safari ( #3569 )
2016-09-01 08:04:25 -04:00
Unknwon
8ee14db51e
Update locales
2016-09-01 00:35:04 -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
c0c1a4b01b
js: fix comment issue status button title change
2016-08-30 14:37:46 -07:00
Unknwon
48a0b5b026
UI: fix block selection on code for empty line are not highlighted
2016-08-30 06:03:38 -07:00
Unknwon
643142acab
Web editor: support upload files
2016-08-30 05:23:59 -07:00
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
2016-08-29 00:10:21 -07:00
Unknwon
7115e3a4d5
css: remove profile avatar height
2016-08-28 03:19:27 -07:00
Unknwon
0114fdcba4
Web editor: improve delete file process
2016-08-28 01:41:44 -07:00
Unknwon
bbca2916f7
Update highlightjs
2016-08-27 11:56:20 -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
ec332cf903
Minor naming improvement
2016-08-17 16:10:07 -07:00
Unknwon
a00c932bbc
General code quality improvement
2016-08-16 23:06:38 -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
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
Unknwon
fd3b9ca3aa
CSS: remove font “Meiryo Ui”
2016-08-12 22:05:20 -07:00
Unknwon
7551141dbe
Minor fix on top menu dropdown icon position
2016-08-11 23:12:06 -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
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
99385db0c4
#3320 code cleanup
2016-08-07 11:01:47 -07:00
Unknwon
72dd299ca0
Update .gitattributes
2016-08-06 10:36:40 -07:00
silverwind
b1133c9934
Lighter icon colors for repo files ( #3351 )
...
* Lighter icon colors for repo files
* also color submodule icon
2016-08-03 08:53:28 -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
Unknwon
4d8b905541
models/ssh_key: code cleaning
2016-07-26 10:47:25 +08:00
Unknwon
452aefd025
Fix issue event octicon CSS
2016-07-26 02:56:07 +08:00
Unknwon
899e799459
#1601 support delete issue comment
2016-07-26 02:48:17 +08:00
Unknwon
e74630ae3b
#1384 add pagination for repositories
2016-07-24 14:32:46 +08:00
Unknwon
c912494609
#3076 detect invalid tag name git error
2016-07-23 15:59:19 +08:00
Richard Mahn
69dae1ec1c
Added coding style modes to SimpleMDE ( #3286 )
...
* Added coding style modes to SimpleMDE
* Moved the CodeMirror addon from simplemd to codemirror directory
2016-07-23 13:29:20 +08:00
Unknwon
c2fb01a257
#3299 don’t pop up confirm box when leave on signin page
2016-07-21 14:36:26 +08:00
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
2016-07-16 12:45:13 +08:00
Unknwon
089bacd54e
Update bindata and CSS
2016-07-15 14:13:30 +08:00
Laica Lunasys
528ec9bffd
Apply font for Japanese / Chinese (more) ( #3266 )
2016-07-15 13:52:37 +08:00
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
2016-07-11 05:28:56 +08:00
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
2016-07-08 07:25:09 +08:00
Unknwon
326c982660
Upgrade frontend assets
2016-07-07 06:04:55 +08:00
Sandro Santilli
8a248696e9
Use a gopher as default avatar (rather than the gravatar logo) ( #3208 )
...
Also changes the avatar from a jpeg to a png, to allow for
transparent background. The indexed png is also smaller in size.
Note that at the moment the default avatar is only used when
the user requested a custom avatar and the custom avatar file
is not found (should never happen).
In the future the default avatar could be used as a default
return when by-mail avatar lookups fail too (both gravatar
and libravatar support passing a default)
2016-06-27 18:12:30 +08:00
chriswatt
24caccccdd
Fix empty space surrounding hidden issue labels ( #3200 )
2016-06-24 23:38:25 +08:00
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
2016-05-06 15:40:41 -04:00
Kim Carlbäcker
3df8eb60e3
PDF-Previews in file-lists now working ( #3000 )
2016-04-26 21:48:44 -04:00
Unknwon
7049cb9d97
Add new language support
...
- Update language choose dropdown to fit more languages
2016-04-25 13:40:23 -04:00
Kim Carlbäcker
b3c05026df
[Feature/WIP] Confirm on editing forms ( fixes #2881 ) ( #2980 )
...
* Add and start jQuery AreYouSure
* Update SimpleMDE to 1.10.1 for `forceSync` support
* Forgot to remove old version SimpleMDE 1.10.0
* formatting -.-
2016-04-19 16:45:28 -04:00
Kim Carlbäcker
ce36fd7a49
Fixed #2909 ( #2979 )
2016-04-19 16:35:36 -04:00
PsychoMario
b35157f4ff
reduce line number creation to one DOM manipulation
2016-03-30 20:28:40 +01:00
Matthias Niess
3decc0b3d6
use monospace font for wiki and issue textareas ( fix #2869 )
2016-03-23 13:55:07 +01: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
Unknwon
db4da7beec
Add APIContext
2016-03-13 17:37:44 -04:00
Unknwon
985a0f3450
Generate css for #2816
2016-03-11 18:59:26 -05:00
MATTENN
13e1fa6789
Add Japanese Fonts
...
By adding a Japanese font in the less file, easier to see the display in
Japanese.
2016-03-12 08:49:24 +09:00
Unknwon
2bf8494332
#13 finish user and repository search
...
Both are possible on explore and admin panel
2016-03-11 15:33:12 -05:00
Unknwon
0c9a616326
Update frontend resources
2016-03-07 00:11:12 -05:00
Unknwon
c2ca103d30
#2623 fix wrong font for webhook history
2016-03-05 23:09:16 -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
Unknwon
a2f13eae55
#1157 some avatar setting changes
...
- Allow to delete current avatar
2016-03-05 00:51:51 -05:00
Andrey Nering
13e71acadf
Render emojis in more places.
2016-03-02 21:54:05 -03:00
Unknwon
d320915ad2
Minor fix for #2710
2016-02-27 11:31:24 -05:00
ChubbyNinja
ab4bc653ab
Image attachments keep aspect ratio
2016-02-26 14:09:37 +00:00
Unknwon
baaf6046a1
Minor fix for #2660
2016-02-24 23:59:17 -05:00
Unknwon
f38d5e57dd
Remove border-bottom for tabs header divider
2016-02-19 17:49:48 -05:00
Florian Kaiser
eb009923f4
Fix chmod for several files in conf/locale/ and public/
2016-02-18 19:31:23 +00:00
chriswatt
c47866b34a
Add grey bg to tabs on repo page
2016-02-14 23:09:33 +00:00
Florian Kaiser
662482d366
Make issue title smaller
2016-02-07 19:23:26 +00:00
Unknwon
f15a2f9b25
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
...
Enable syntax highlighting on diff view
2016-02-07 11:49:11 -05:00
chriswatt
133397ee0d
Rename #avatararrow to #avatar-arrow
2016-02-07 16:41:11 +00:00
chriswatt
16270ee9a4
Add avatar arrow to pull request form
2016-02-07 06:10:57 +00:00
chriswatt
1dfead1eef
Add avatar arrows to new both new issue comment forms
2016-02-07 04:20:11 +00:00
Unknwon
e797a225b6
Fix #2564 file ignored by git
2016-02-05 17:19:32 -05:00
Unknwon
6d5c986d4f
Merge pull request #2562 from Eriner/master
...
optipng
2016-02-05 16:18:52 -05:00
Matt Hamilton
45659d0fd2
optipng
2016-02-05 16:04:11 -05:00
Unknwon
acfc942ad7
Generate CSS for #2561
2016-02-05 14:53:45 -05:00
chriswatt
9fe9cd8b5c
Add small user arrows on issue comments pointing to users avatar
2016-02-05 19:24:23 +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
Florian Kaiser
0d41827f23
Fix syntax highlighting for markdown code blocks on issue description/comment save
2016-02-01 22:50:22 +00:00
Unknwon
66d2ba1b4e
Merge pull request #2537 from fnkr/remember-clone-protocol
...
Remember last selected clone protocol
2016-02-01 15:58:01 -05:00
Florian Kaiser
84749736a8
Select HTTPS if remembered clone protocol is SSH but SSH is disabled now
2016-02-01 20:42:10 +00:00
Florian Kaiser
3e0a27157c
Make highlighted markdown code blocks work on issue pages
2016-02-01 19:53:58 +00:00
Florian Kaiser
d568019306
Remember last selected clone protocol, and establish uniform order (https, ssh)
2016-02-01 17:04:58 +00:00
Unknwon
8436d69eaf
Update and reorganize front-end resources
2016-01-30 22:10:20 -05:00
Kim "BKC" Carlbäcker
96dee1c354
Split view fixed
2016-01-27 23:52:42 +01:00
Unknwon
e33ddac9bf
Minor fix for #2396
2016-01-25 14:04:46 -05:00
Unknwon
c631a4a9b9
URL fix for #2287
2016-01-15 18:00:39 +08:00
Unknwon
f43cc90841
#2287 Truncate repository name if too long
2016-01-11 20:41:43 +08:00
l2dy
efa0e7b27a
Minor fix
2016-01-10 17:29:33 +08:00
Unknwon
86bce4a2ae
minor fix to #2335
2016-01-09 14:51:17 +08:00
Andrey Nering
73474c043b
Highlighting differences of lines in the diff view.
2016-01-06 17:46:56 -02:00
Unknwon
2481fe2f56
Merge pull request #2296 from bkcsoft/feature/split-diff
...
Implement Split Diff-View
2016-01-06 13:31:36 +08:00
Kim "BKC" Carlbäcker
8fe5d887ae
Changed name from inline to unified
2016-01-05 19:21:50 +01:00
Kim "BKC" Carlbäcker
0df39b33eb
Implement Split Diff-View
...
- Unified/Inline Diff-View Selectable
2016-01-05 19:21:41 +01:00
Andrey Nering
cb8134da52
Making scroll always visible.
2016-01-04 16:38:10 -02:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
13fe733037
#2264 use monospaced font for commit IDs in news feeds
2015-12-24 20:43:45 -05:00