Commit Graph

1220 Commits (837155577a18e911dc7b738952d5b4e2a0687c98)

Author SHA1 Message Date
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