Commit Graph

1381 Commits (045f14fbd0e3553521f5092cf839be363c74a090)

Author SHA1 Message Date
Unknwon 7786cb76f3 fix
Unknwon eb918c2368 fix only admin can view milestone desc
Unknwon 3362b3a44f fix possible disclosure
Unknwon 50264200f0 fix huge diff hangs
Unknwon 91789930bc fix 500 on /watchers & /stars for pg
Unknwon ea375c0dcc new template func
Unknwon 7509fa2c33 improve get commits performance
Unknwon 95f9c85bcc use Go sub-repo to detect encoding
Unknwon 79dcd7ee6e able to identify git version on Windows
Unknwon 71123c816d update hightlight.js
Unknwon 351dfc95a9 prepare release
Unknwon 837155577a use icon+tooltip to replace text
Unknwon 4108c12092 add edit org link in admin panel
Unknwon 59c965a5ec admin able to edit organization max repo creation
Unknwon d0b0d24f22 disable change user for non-local users
-  remove require for gravatar
Unknwon 40f3142264 External URL for wiki
Unknwon 2a8d71367d not show content of issue in activity timeline
Unknwon 3d5d61778a disable password change for non-local users
Unknwon 99e9bbef6c fix bool check for repo max limit and fix hang when push repo with tons of commits
Unknwon 2a0bb1fa90 Limit repo creation
Unknwon c6083c335e Ability to send mail when a new pull request is submitted
Unknwon 9a2e43bff2 move out git module and send push hook
Unknwon fa5e372f75 Merge pull request from SlavikZ/master
LDAP parameters UI: bind_dn and bind_password are not required
SlavikZ a19aaa439d LDAP parameters UI: bind_dn and bind_password are not required
Unknwon c3440c4dd3 Show author e-mail in commit diff
Unknwon 718d3ae258 Able to config fsck timeout
Unknwon b8d48bdb62 Add "New Mirror" button on Dashboard
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
Angus Gibson 9bd3ebe207 Dropdown on commits page to choose branch
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.
Unknwon a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag
Angus Gibson 06d293a84e Only show comparison link for >2 commits
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.
Unknwon 120cd4e471 Better mirror repo management
Unknwon 2528c482e9 auto login after install if admin is configured
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
Unknwon dce2a9e7e1 fix wrong slack webhook payload URL
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.
Unknwon 89244b74c6 remember page number when delete repo
Unknwon ca8ce793d1 Ability to delete repo from admin panel
Unknwon 404867f206 fix and fix
Unknwon f0ee33267c fix
Unknwon f41360d864 advanced select ops for system notices
Unknwon 1ee7c33e93 template fix
Unknwon e538ff2770 fix and fix
Unknwon 4795fa01d8 fix
Unknwon 56dd430a10 refactor API routes and some work for
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.
Unknwon cc8f5add6e fix
Unknwon ec2423ad7c more UI minor fixes
Unknwon c4bab163cb Merge pull request from nanoant/patch/further-layout-fixes
Further layout fixes
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.
Unknwon 3d3498bda1 clean test data
Unknwon 29375059e1 minor CSS fix
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.
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.
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.
Adam Strzelecki ec98deeb8c UI: Keep repository settings menu button right
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.
Adam Strzelecki 99b958db43 UI: Mark top menu icons blue only when non-zero
Unknwon 926e91820a Diff is not showing full content when has super long one line
Unknwon 0be8b1b1a1 Ability to batch delete system notices
Unknwon 5572884c6b fix
Unknwon 3460ec1039 update REMADE and locale
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.
Unknwon b6d2b96259 Merge pull request from Gibheer/new_mirror
add new mirror button to dashboard
Gibheer 3d54f6c0a4 add new mirror button to dashboard
This adds the button to create a new mirror on the dashboard at the same
place where "new repository" and "new organization" already exist.
Unknwon 117afe7620 Merge pull request from nanoant/patch/admin-see-all-organizations
Admin should be able to see all organizations
Unknwon d3a5ff7b6b fix
Unknwon 830d000667 finish wiki
Adam Strzelecki e57b2dffa4 Admin should be able to see all organizations
This is follow-up for 56c66ee486 allowing admin
to see private repositories, even when not being member of them.
Unknwon 5d1f5f32d0 wiki: finish pages
Unknwon e42fcb033d wiki: finish edit
Unknwon 392f3ee210 wiki: finish new
Unknwon c50a3503e6 introduce git-shell
Unknwon 2b10fdc4dc Wiki: UI for page new
Unknwon 144663a3cf allow admin to migrate for any user/org
Unknwon 3ca544912f Drop /org/ URL path prefix in organization home page
Unknwon 7f9598141b fix
Unknwon 56c66ee486 more supported git hooks
Unknwon 0128036514 some fixes for builtin SSH server on Windows
Unknwon b2fb7e3fd2 more HTTP clone word fix
Unknwon efaf60ba5a fix
Unknwon 52c8f69163 fix
Unknwon b80e848d02 upgrade libs
Unknwon 8966750fd4 add some log
Unknwon eea2e05da6 minor fix on
Antoine GIRARD 63cdee84d1 Fix admin configuration new ui
Unknwon 987dcc5372 fix
Unknwon 2158e6fc43 fix
Unknwon 915bf1d2e3 Merge pull request from arthuroy/develop
Fix  - the hyperlink and the display name of the branch
Unknwon f455125d4d fix
Unknwon 2c653141a8 Update default branch in git repository while change in web view
Arthur Ouyang e04c97b9fa Fix - the hyperlink and the display name of the branch
The hyperlink and the display name of the branch if the branch is in a folder or the branch name has '#'
Unknwon f04d773f4f UI: long organization name in create repository owner list
Unknwon 4325b01a58 minor fix for
Gibheer 56006da34b fix - disable version display
This allows the admin to disable the version information about gogs and
go in use in the footer.
Unknwon efea642d6c add admin op: delete missing repos
Unknwon 81d7359fdd fix
Unknwon d2808e38fe fix
Unknwon 7a9777ae36 fix
Unknwon 62533560ce fix
Unknwon dc7e74ebb1 Merge pull request from sapk/fix-admin-dashboard-new-ui
Fix admin dashboard new ui
Unknwon ff5f14431e fix
Unknwon ec5f881384 fix CSS
Unknwon 9ab96172fc new watchers, stars and forks UI
Unknwon e06558e208 Pull request fail to merge with BIN
Unknwon cceb3364bb CSS fix
Unknwon d370effca5 minor fix for
Unknwon 29ed7872f8 repo sidebar active class
Unknwon 5dc3dd1704 fix
Unknwon 134d8e7681 work on
Unknwon 951037c0ae remove test code
Unknwon 7046df6028 UI fix
Unknwon 1db3ae6601 UI fix
Unknwon 612d0d6d25 minor HTML fix
Unknwon 18de67380c fix
Unknwon 942284648e fix markdown padding
Unknwon 4f03b81ec7 Test patch does not checkout correct base branch
Unknwon b4970b3cc3 fix
Unknwon 7c80eba77f minor UI fix and fix ssh race
Unknwon 7b1c10ea7e new repo ui
- copy link button: , , ,
- synxtax highlight: , , , 
- z-index: 
Unknwon 1d57f0d64f Show custom avatars in commits
Unknwon 6a664e88c7 show issue content
Unknwon 0f438ef0b3 new dashboard ui
Unknwon a6c7716742 minor fix for and fix
Alexey Makhov 1bfebdcdf6 improves
Alexey Makhov 588a0db218 issue title at dashboard
Unknwon 10427b2178 fix
Unknwon 675cd997d8 minor tabindex fix
Unknwon 908f2924ce fix and fix
Alexey Makhov 7835c2212c issue add tabindex
Unknwon 3b62a0fe0e fix fix file histrory paging issue
Unknwon 0d4498429c work on
Unknwon 3ec650b0ef update version
Unknwon b55499d039 go vet and fix
Unknwon 58436b5ea5 prepare 0.7.0
Unknwon 676d774d88 fix
Unknwon 54ca0b2f09 images with links in Markdown
-  minor fix on image link
Unknwon 2bd64621fc last updatede time not update after push
Unknwon f255b1e86d fatal when no needed update task
Unknwon 603c7389b8 Dashboard issues lacks sorting
Unknwon 00eb2b221f fix
Unknwon 1b5e1bebc2 fix
Unknwon 6f0a41b8b2 Allow local import only for admin users
Unknwon 25ec20d525 update merge base before generate new patch
Unknwon 8e262f3ec4 update locales
Unknwon 0af035c37e not show bin when rename a file
Unknwon bc82157216 fix
Unknwon 8eb4c3121a work on
Unknwon 75aab86a8d fix problem with
Unknwon 92535c9df0 update some libs
Unknwon cb100c7781 work
Unknwon 5cad124704 fix
Unknwon fad31ca302 work on
Unknwon 16feb5b655 minor fix on
Nathan Zadoks 4323a89c03 Add go-source directive to repo pages
This makes Gogs repos work with godoc.org: https://github.com/golang/gddo/wiki/Source-Code-Links
Unknwon 0fe6fe663e fix e-mail type
Unknwon 7d72c8333e work on and fix miror JS issue when choose targets on compare and pull
Unknwon 706b0f72e2 fix issue comment mention and autofix count when start
Unknwon b9f5def5dc fix insecure tls when trigger task
Unknwon 022820103d allow forcing all private repos
Unknwon c3ba5590c9 Reopen PR need retest patch
Unknwon 0fbb8c8826 New push to head repo of head branch: regenerate patch and retest apply
Unknwon c6ce6bd4c2 work on
Unknwon 04af4b24fd work on
Unknwon fc7959d3bc New/reopen PR checks if there is any unmerged and open PR
Unknwon 4dc6285715 add new status: checking
Unknwon 6599869f28 fast return for too large diff
Unknwon 932dbccb67 fix import path, fix
Antoine GIRARD 5edc2f6d6c Fix indent tmpl
Antoine GIRARD ae0fadeb0e To quick to copy-paste
Antoine GIRARD e1c04f043b Implement new ui to dashboard
Unknwon aff49b1c9e unified API error response
Unknwon 19c3745488 fix quick guide style
Unknwon db00aa7653 add log for trigger hook when push through SSH
Unknwon 215920772a save PR info as patch and minor fix on PR
Steven Oud 280fde9b7c added links to forks/watchers/stars in new layout header
Unknwon 4465c58f4b new quick start page
kendaru 5c39d3fa7d changed integrated page number to GET
Steven 87d64acc9f fixed HTML indenting
Steven c8aa9c6cb1 implemented : see users who forked/starred/watched a repository
Steven ecd59deb27 implemented : see users who forked/starred/watched a repository
Unknwon d5ad4e1141 prepare release
Unknwon 6dfee30bf0 Wrong commit order on issue page when pushing multiple commits
Unknwon 21e13cb51e Triggere mailer for admin created accounts
Unknwon 986447335d minor fix
无闻 84c727ae66 Merge pull request from sapk/fix-admin-repo-new-ui
Fix admin repos new ui
Antoine GIRARD dfc16d0879 Fix admin repos new ui
Antoine GIRARD c98dad1cf3 New admin organization UI
Antoine GIRARD fefce965f9 Add total next to system notice
Antoine GIRARD 14a1101139 New admin notice UI based on user list example
Unknwon 043ded0896 fix
无闻 befed9c20c Merge pull request from SergioBenitez/develop
Commit messages now rendered with line breaks and prefix spacing.
Unknwon 69b1d65c9b remove unused file and update locale
Sergio Benitez 7acbcf9ddd Commit messages now rendered with line breaks and prefix spacing.
Unknwon d9c5b3bcee fix change label title resets color
Unknwon 86d3c5cbb3 update Docker info
Unknwon 3fb1b6a608 drop oauth2 feature support
Unknwon 562e47f31c finish all new template for current ones
Unknwon 9d36fc6986 finish new auth e-mails
Unknwon 923873db85 fix possible XSS in view issue page