Andrew Boyarshin
a6ffe30cf2
Fix span wrapping all the things
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
8 years ago
Willem van Dreumel
8dd4d6d154
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)
8 years ago
Denis Denisov
56fc9cf7d3
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
8 years ago
Bo-Yi Wu
9b06f96354
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.
8 years ago
Andrew Boyarshin
8822c890e7
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>
8 years ago
Bo-Yi Wu
35d08920d7
feat: fill in ssh key title automatically. ( #863 )
8 years ago
Lunny Xiao
676cbacde7
track issue title changes ( #841 )
8 years ago
Shyim
c0e0b015ba
Fixed form control is not focusable #687 ( #837 )
8 years ago
Lunny Xiao
c8ee0b9df0
add milestone changed traker on issue view ( #804 )
8 years ago
Lunny Xiao
70ff46febe
fix bug caused by #788 ( #799 )
8 years ago
Lunny Xiao
63db268036
Track labels changed on issue view & resolved #542 ( #788 )
* track labels changed on issue view & resolved #542
* add missing head comment & sort & fix refresh
8 years ago
Bo-Yi Wu
8c7e6c8e83
feat: add search repository on dashboard. ( #773 )
8 years ago
Kjell Kvinge
db7e7bf777
add scroolbars to wide graphs. ( #608 )
* Add scrollbars to graph and revlist if needed.
* Add border
8 years ago
Andrey Nering
e119a64a04
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
8 years ago
Shyim
0ada33620c
Fix #646 ( #669 )
8 years ago
Kazuki Sawada
9be70c33fe
Fix: Issues cannot be created with labels ( #622 )
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
8 years ago
vz
8fcf927b46
Fix install.tmpl input default value ( #611 )
* Fix install.tmpl input default value
* Update db_user to gitea
* Add when INSTALL_LOCK = false
8 years ago
Bwko
dae21c8d89
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
8 years ago
Kjell Kvinge
fd2d8ac6f4
commithgraph / timeline ( #428 )
* Add model and tests for graph
* Add route and router for graph
* Add assets for graph
* Add template for graph
8 years ago
btrepp
8c7a1a7d9b
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>
8 years ago
Bwko
a48f0cae7d
Fix for #361 , renamed username to login
8 years ago
Joubert RedRat
9bcd8444ad
Replace Gogs to Gitea in installation options
8 years ago
Joubert RedRat
7bc50216ae
Set default less and css to new default name
8 years ago
无闻
0d8d37c099
Support Editorconfig on web editor ( #3512 )
8 years ago
Andrey Nering
9cb849359e
Support Editorconfig on web editor
8 years ago
Unknwon
98b5d115f7
js: fix comment issue status button title change
8 years ago
Unknwon
23a12b9711
Web editor: improve delete file process
8 years ago
Unknwon
11540e5abe
Web editor: improve code quality
8 years ago
Unknwon
9d81011ca5
Code quality improvement on JS
8 years ago
Unknwon
1b8df92497
Minor naming improvement
8 years ago
Unknwon
cc9a66db51
General code quality improvement
8 years ago
Unknwon
20b9702fb4
Web editor: temporarily disable upload and quick fix for edit and new
Try to merge into develop branch ASAP, then continue minor fixes afterwards.
8 years ago
Unknwon
83ccca5e24
Code clean up for new config options
9 years ago
Richard Mahn
247e2fc567
Squashed commit of the following:
commit 0afcb843d7
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 7ecd73ff55
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:42:41 2016 -0600
Fix for CodeMirror mode
commit c29b9ab531
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 08:03:33 2016 -0600
Made tabbing in editor use spaces
commit 23af384c53
Author: Richard Mahn <richard_mahn@wycliffeassociates.org>
Date: Sun Jul 31 07:56:46 2016 -0600
Fix for data-url
commit cfb8a97591
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
9 years ago
Rory McNamara
f163f9e8e0
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
9 years ago
Unknwon
c378da1881
#3320 code cleanup
9 years ago
Unknwon
80a532c3a1
Update .gitattributes
9 years ago
Unknwon
4fe2ebe999
#2162 improve repository advance options UI display
Enable/disable input based on user chosen options for wiki and issue tracker.
9 years ago
Unknwon
600675304d
models/ssh_key: code cleaning
9 years ago
Unknwon
d633b89ee9
#1601 support delete issue comment
9 years ago
Unknwon
258aeede2a
#3299 don’t pop up confirm box when leave on signin page
9 years ago
Unknwon
126c84acc4
Use SecurityProtocol to replace UseSSL in LDAP config
Initially proposed by #2376 and fixes #3068 as well.
9 years ago
Unknwon
daa6b962e3
Upgrade frontend assets
9 years ago
Kim Carlbäcker
dee35a8ed2
[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 -.-
9 years ago
PsychoMario
24f1d90bce
reduce line number creation to one DOM manipulation
9 years ago
Unknwon
4dbedf5653
Update frontend resources
9 years ago
Unknwon
ad91428936
#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.
9 years ago
Unknwon
aa6b05b436
#1157 some avatar setting changes
- Allow to delete current avatar
9 years ago
Andrey Nering
7bbb4b49e7
Render emojis in more places.
9 years ago
Florian Kaiser
6c72bf973f
Fix chmod for several files in conf/locale/ and public/
9 years ago