Peter Dave Hello
2368bbb672
Optimize png images via Google zopflipng [ci skip] ( #1639 )
7 years ago
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
7 years ago
Michael de Wit
21290d4e80
Optimize and fix autolink function ( #1442 ) ( #1444 )
...
* Optimize and fix autolink function (#1442 )
* Fix bug in autolink recursive fallback function
7 years ago
Antoine GIRARD
d9db188274
Fix #1418 ( #1456 )
7 years ago
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
7 years ago
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
7 years ago
Sandro Santilli
a9de85d31d
Improve style of user OpenID setting page ( #1324 )
...
* Improve user openid list CSS and regenerate CSS
7 years ago
Sandro Santilli
71d16f69ff
Login via OpenID-2.0 ( #618 )
7 years ago
Antoine GIRARD
925b252927
Fix missing less sources for oauth ( #1288 )
7 years ago
Patrick G
efbb895ebe
Cleaner ui for admin, repo settings, and user settings page ( #1269 ) ( #1270 )
7 years ago
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
7 years ago
Ethan Koenig
09fe4a2ae9
Batch updates for issues ( #926 )
7 years ago
Sandro Santilli
f0efb615c5
Add LibreJS support ( #1201 )
...
See See https://www.gnu.org/software/librejs/
Closes #1200
7 years ago
Patrick G
64214a9426
Search bar fixes for #1187 and #1205 ( #1207 )
7 years ago
Patrick G
5463640fe6
Fix double borders on edit page ( #1152 ) ( #1153 )
...
* Fix double borders on edit page (#1152 )
* Add border modifications to less file
7 years ago
Andrew Boyarshin
817710dd47
Fix span wrapping all the things
...
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
7 years ago
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)
7 years ago
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
7 years ago
Andrew Boyarshin
d4b752def9
Fix table headers ( #980 )
...
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
7 years ago
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.
7 years ago
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>
7 years ago
Bo-Yi Wu
40f4377717
feat: fill in ssh key title automatically. ( #863 )
8 years ago
Lunny Xiao
f35b20b042
track issue title changes ( #841 )
8 years ago
Shyim
de81f68d4d
Fixed form control is not focusable #687 ( #837 )
8 years ago
Lunny Xiao
081485ecfd
add milestone changed traker on issue view ( #804 )
8 years ago
Lunny Xiao
77ab60df83
fix bug caused by #788 ( #799 )
8 years ago
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
8 years ago
Bo-Yi Wu
d078aa30d6
feat: add search repository on dashboard. ( #773 )
8 years ago
Andrey Nering
5348e8b71a
Fix color: closed PR was showing as purple instead of red
8 years ago
Bwko
4faf097fb9
Added webkit-font-smoothing ( #763 )
8 years ago
Ethan Koenig
833f8b94c2
Search bar for issues/pulls ( #530 )
8 years ago
unclejack
8bc431952f
public/img: reduce the size of PNG images ( #734 )
...
Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
8 years ago
Kjell Kvinge
f9a3aa8737
add scroolbars to wide graphs. ( #608 )
...
* Add scrollbars to graph and revlist if needed.
* Add border
8 years ago
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
8 years ago
Shyim
88f45ce38c
Fix #646 ( #669 )
8 years ago
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
8 years ago
Kazuki Sawada
e5620f07a4
Fix: Issues cannot be created with labels ( #622 )
...
Signed-off-by: Kazuki Sawada <kazuki@6715.jp>
8 years ago
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
8 years ago
Andrey Nering
79d527195d
Merge pull request #539 from andreynering/notifications-step-2
...
Notifications - Step 2
8 years ago
Manuel Kuhlmann
eb9ce39bb7
Fix unified diff view styling ( #585 )
...
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
8 years ago
Manuel Kuhlmann
a5e07da8be
Fix diff split view coloring ( #553 ) ( #584 )
...
Signed-off-by: Manuel Kuhlmann <manuel@mkuhlmann.org>
8 years ago
Andrey Nering
f59672a18d
More fine graned colors
8 years ago
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
8 years ago
Andrey Nering
6069abe5fd
Notifications - Step 2
8 years ago
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
8 years ago
Sl@ny
c22f9114c7
Implementation of Folder Jumping
8 years ago
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>
8 years ago
Bwko
39d0db52de
Fix for #361 , renamed username to login
8 years ago
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
8 years ago
Andrey Nering
96c9fef35f
Update home page to Gitea ( #138 )
8 years ago
Rachid Zarouali
c040f2fbb1
first batch of Readme updates ( #65 )
8 years ago
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"
8 years ago
Joubert RedRat
28bee28102
Replace Gogs to Gitea in installation options
8 years ago
Andrey Nering
ef5fc3c959
CSS: Stronger colors for diffs
8 years ago
Joubert RedRat
ff54e4d929
Set default less and css to new default name
8 years ago
Joubert RedRat
f3321d920d
Small UI fixes on full width form titles
8 years ago
Daniel Oaks
4efaf8e882
Fix repo list display on Safari ( #3569 )
8 years ago
Unknwon
8ee14db51e
Update locales
8 years ago
无闻
cd9b926af7
Support Editorconfig on web editor ( #3512 )
8 years ago
Andrey Nering
9ac46fb983
Support Editorconfig on web editor
8 years ago
Unknwon
c0c1a4b01b
js: fix comment issue status button title change
8 years ago
Unknwon
48a0b5b026
UI: fix block selection on code for empty line are not highlighted
8 years ago
Unknwon
643142acab
Web editor: support upload files
8 years ago
Unknwon
62b0dc4853
Web editor: fix cannot create new file in subdirectory
8 years ago
Unknwon
7115e3a4d5
css: remove profile avatar height
8 years ago
Unknwon
0114fdcba4
Web editor: improve delete file process
8 years ago
Unknwon
bbca2916f7
Update highlightjs
8 years ago
Unknwon
f8a48ffaad
Web editor: improve code quality
8 years ago
Unknwon
7f7216be6e
Code quality improvement on JS
8 years ago
Unknwon
ec332cf903
Minor naming improvement
8 years ago
Unknwon
a00c932bbc
General code quality improvement
8 years ago
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.
8 years ago
Unknwon
15845cb287
Code clean up for new config options
8 years ago
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
8 years ago
Unknwon
3f7f4852ef
#2246 fully support of webhooks for pull request
8 years ago
Unknwon
fd3b9ca3aa
CSS: remove font “Meiryo Ui”
8 years ago
Unknwon
7551141dbe
Minor fix on top menu dropdown icon position
8 years ago
Andrey Nering
dbed39ba05
On showing diff/file, use the tab_width specified on .editorconfig, if any ( #3241 )
...
Closes #3182
8 years ago
Andrey Nering
25b23c4bc9
Do not show non-image attachment in a <img> tag. Fixes #3215 ( #3311 )
8 years ago
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
8 years ago
Unknwon
99385db0c4
#3320 code cleanup
8 years ago
Unknwon
72dd299ca0
Update .gitattributes
8 years ago
silverwind
b1133c9934
Lighter icon colors for repo files ( #3351 )
...
* Lighter icon colors for repo files
* also color submodule icon
8 years ago
Unknwon
991ce42c48
#2162 improve repository advance options UI display
...
Enable/disable input based on user chosen options for wiki and issue tracker.
8 years ago
Unknwon
4d8b905541
models/ssh_key: code cleaning
8 years ago
Unknwon
452aefd025
Fix issue event octicon CSS
8 years ago
Unknwon
899e799459
#1601 support delete issue comment
8 years ago
Unknwon
e74630ae3b
#1384 add pagination for repositories
8 years ago
Unknwon
c912494609
#3076 detect invalid tag name git error
8 years ago
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
8 years ago
Unknwon
c2fb01a257
#3299 don’t pop up confirm box when leave on signin page
8 years ago
Unknwon
971e2c3bd6
Upgrade octicon to 4.3.0
8 years ago
Unknwon
089bacd54e
Update bindata and CSS
8 years ago
Laica Lunasys
528ec9bffd
Apply font for Japanese / Chinese (more) ( #3266 )
8 years ago
Unknwon
fdcca9292e
#2458 fix emoji been rendered inside raw content area
8 years ago
Unknwon
401bf944ef
Use SecurityProtocol to replace UseSSL in LDAP config
...
Initially proposed by #2376 and fixes #3068 as well.
8 years ago
Unknwon
326c982660
Upgrade frontend assets
8 years ago
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)
8 years ago
chriswatt
24caccccdd
Fix empty space surrounding hidden issue labels ( #3200 )
8 years ago
Unknwon
0a78d99a4d
models/release: filter input to prevent command line argument vulnerability
8 years ago