Unknwon
86bce4a2ae
minor fix to #2335
2016-01-09 14:51:17 +08:00
Unknwon
21d7b5acaf
fix #2367
2016-01-09 14:45:06 +08: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
Unknwon
03427fb005
fix #2360
2016-01-08 08:49:03 +08:00
Unknwon
e0f0f72a36
#2345 disallow access of some pages for empty repo
2016-01-07 11:07:17 +08:00
Unknwon
ca35ddd078
fix #2350
2016-01-07 09:24:19 +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
Unknwon
cc22c8a1ae
update dep lib version requirement
2016-01-06 13:34:34 +08: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
7392b6a755
fix #2327
2016-01-05 12:43:19 +08:00
Unknwon
4993ab1a76
#2185 fall back to use custom chardet lib
2015-12-31 22:13:47 -05:00
Unknwon
8d58e06ad8
more fix on #2268
2015-12-30 18:47:32 -05:00
Unknwon
b8fbf6559d
Merge pull request #2294 from joaopms/patch-1
...
Fix the description on head.tmpl
2015-12-27 17:28:25 -05:00
Unknwon
44637f03cc
#2282 fast detection of utf-8
2015-12-27 17:02:36 -05:00
João Pedro
7bab3d682f
Lowercase "Service"
2015-12-27 18:53:52 +00:00
João Pedro
34f01aab5e
Update head.tmpl
2015-12-27 18:44:18 +00:00
Unknwon
93f03707a7
#2283 set text/plain for non-binary files in raw mode
2015-12-25 05:45:07 -05:00
Unknwon
85af36332b
#2282 fix utf-8 recognized as windows-1252
2015-12-25 05:25:47 -05:00
Unknwon
13fe733037
#2264 use monospaced font for commit IDs in news feeds
2015-12-24 20:43:45 -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
cadf03db68
#2180 fix avatar link when disable gravatar
2015-12-19 22:21:00 -05:00
Unknwon
5ff6eedf5e
#2251 fix button name
2015-12-19 22:07:06 -05:00
Unknwon
53eb37d529
fix #1436
2015-12-19 21:43:32 -05:00
Unknwon
3bcdb3855c
#2250 Use HTTP/HTTPS as default clone option
2015-12-19 21:12:13 -05:00
Unknwon
2d3ecbe5b2
make mailer log more verbose
2015-12-19 02:44:34 -05:00
Unknwon
33a99d587a
fix #2223
2015-12-17 21:57:34 -05:00
Unknwon
9cd16c5b12
#1692 add organization APIs
2015-12-17 02:28:47 -05:00
Unknwon
6673dcb038
#2103 #2181 improvments of highlight class name
2015-12-16 22:13:12 -05:00
Unknwon
b117befc2b
#1692 add user email APIs
2015-12-15 22:57:18 -05:00
Unknwon
7786cb76f3
fix #2205
2015-12-15 21:32:17 -05:00
Unknwon
eb918c2368
fix only admin can view milestone desc
2015-12-15 21:25:38 -05:00
Unknwon
3362b3a44f
fix possible disclosure
2015-12-14 17:06:54 -05:00
Unknwon
50264200f0
fix huge diff hangs
2015-12-14 09:38:21 -05:00
Unknwon
91789930bc
#2176 fix 500 on /watchers & /stars for pg
2015-12-14 02:40:23 -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
95f9c85bcc
#2185 use Go sub-repo to detect encoding
2015-12-13 19:56:33 -05:00
Unknwon
79dcd7ee6e
#2167 able to identify git version on Windows
2015-12-13 18:20:39 -05:00
Unknwon
71123c816d
update hightlight.js
2015-12-13 00:58:30 -05:00
Unknwon
351dfc95a9
prepare release
2015-12-12 21:58:54 -05:00
Unknwon
837155577a
#2159 use icon+tooltip to replace text
2015-12-12 16:53:16 -05:00
Unknwon
4108c12092
#2156 add edit org link in admin panel
2015-12-12 15:47:59 -05:00
Unknwon
59c965a5ec
#2156 admin able to edit organization max repo creation
2015-12-11 19:24:57 -05:00
Unknwon
d0b0d24f22
#2154 disable change user for non-local users
...
- #2153 remove require for gravatar
2015-12-11 15:31:02 -05:00
Unknwon
40f3142264
#2114 External URL for wiki
2015-12-11 04:55:08 -05:00
Unknwon
2a8d71367d
#2029 not show content of issue in activity timeline
2015-12-10 19:13:51 -05:00
Unknwon
3d5d61778a
#1938 #1374 disable password change for non-local users
2015-12-10 19:02:57 -05:00
Unknwon
99e9bbef6c
fix bool check for repo max limit and fix hang when push repo with tons of commits
2015-12-10 16:27:47 -05:00
Unknwon
2a0bb1fa90
#1575 Limit repo creation
2015-12-10 12:37:53 -05:00
Unknwon
c6083c335e
#1612 Ability to send mail when a new pull request is submitted
2015-12-10 11:18:56 -05:00
Unknwon
9a2e43bff2
move out git module and #1573 send push hook
2015-12-09 20:46:05 -05:00
Unknwon
fa5e372f75
Merge pull request #2138 from SlavikZ/master
...
LDAP parameters UI: bind_dn and bind_password are not required
2015-12-09 16:47:03 -05:00
SlavikZ
a19aaa439d
LDAP parameters UI: bind_dn and bind_password are not required
2015-12-09 21:02:19 +02:00
Unknwon
c3440c4dd3
#2035 Show author e-mail in commit diff
2015-12-09 11:46:39 -05:00
Unknwon
718d3ae258
#1943 Able to config fsck timeout
2015-12-09 11:38:12 -05:00
Unknwon
b8d48bdb62
#2037 Add "New Mirror" button on Dashboard
2015-12-09 11:24:56 -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
Angus Gibson
06d293a84e
Only show comparison link for >2 commits #1110
...
We can look at the PushCommits object to see how many commits were
included in a commit, and add some template logic to only show the
comparison link when there are at least 2 commits in a push. We also
correct the link to display the number of commits.
2015-12-09 14:36:39 +11:00
Unknwon
120cd4e471
#1984 Better mirror repo management
2015-12-08 20:06:12 -05:00
Unknwon
2528c482e9
#1627 auto login after install if admin is configured
2015-12-08 00:59:14 -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
Unknwon
dce2a9e7e1
fix wrong slack webhook payload URL
2015-12-06 23:07:02 -05: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
89244b74c6
remember page number when delete repo
2015-12-05 17:49:46 -05:00
Unknwon
ca8ce793d1
#2063 Ability to delete repo from admin panel
2015-12-05 17:39:29 -05: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
f41360d864
#2052 advanced select ops for system notices
2015-12-05 01:09:14 -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
Unknwon
4795fa01d8
fix #2101
2015-12-04 17:30:32 -05:00
Unknwon
56dd430a10
refactor API routes and some work for #976
2015-12-04 17:16:42 -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
cc8f5add6e
fix #976
2015-12-03 00:24:37 -05: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
926e91820a
#2071 Diff is not showing full content when has super long one line
2015-12-02 01:10:13 -05:00
Unknwon
0be8b1b1a1
#2052 Ability to batch delete system notices
2015-12-01 23:33:08 -05:00
Unknwon
5572884c6b
fix #2057
2015-12-01 20:51:31 -05:00
Unknwon
3460ec1039
update REMADE and locale
2015-12-01 19:53:19 -05:00
Adam Strzelecki
573305f3d3
LDAP: Optional user name attribute specification
...
Consider following LDAP search query example:
(&(objectClass=Person)(|(uid=%s)(mail=%s)))
Right now on first login attempt Gogs will use the text supplied on login form
as the newly created user name. In example query above the text matches against
both e-mail or user name. So if user puts the e-mail then the new Gogs user
name will be e-mail which may be undesired.
Using optional user name attribute setting we can explicitly say we want Gogs
user name to be certain LDAP attribute eg. `uid`, so even user will use e-mail
to login 1st time, the new account will receive correct user name.
2015-12-02 00:20:14 +01:00
Unknwon
b6d2b96259
Merge pull request #2076 from Gibheer/new_mirror
...
add new mirror button to dashboard
2015-12-01 16:33:00 -05:00