631 Commits (dad5c155202a79514e60e73ac019191218167d35)

Author SHA1 Message Date
Odin Ugedal c9321550e0 Add prorper escaping of url in issue form 8 years ago
Odin Ugedal ac390d28b8 Fix problems with '#' in branchname
Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822.
8 years ago
Unknwon c6277cce51 Minor fixes for #2761 8 years ago
Unknwon 6530375dbf Merge pull request #2761 from soudy/grey-out-merge-commit
Grey out merge commits
8 years ago
Unknwon 0e9bc2d410 Fix pull request availability check 8 years ago
Unknwon a5b0400be7 #1146 finish new access rights for collaborators 8 years ago
Unknwon 045f14fbd0 #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.
8 years ago
Steven Oud 1d3ec27cb7 Put if statement of grey merge commits on one line 8 years ago
Steven Oud a0cd59bd0e Grey out merge commits 8 years ago
Unknwon dfd6f8f7ab Merge pull request #2757 from joshfng/fix-fork-relative-url
Use relative url when showing forked from
8 years ago
Josh Frye 275464e7fb Use relative url when showing forked from 8 years ago
Unknwon 2d2d85bba4 #1597 support pull requests in same repository 8 years ago
Josh Frye 2f228ddf31 Update delete wiki page route 8 years ago
Josh Frye 1ca171dbe9 Add ability to delete single wiki pages. 8 years ago
Unknwon dfbda48afc Merge pull request #2738 from andreynering/emogify
Render emojis in more places.
8 years ago
Unknwon 260723e2cc Minor fixes for #2745 8 years ago
Josh Frye f3358f5927 Repo setting to delete and disable wiki 8 years ago
Andrey Nering 13e71acadf Render emojis in more places. 8 years ago
Unknwon 42a556a082 Merge pull request #2722 from chriswatt/hidewikidlbutton
Hide the download archive button when viewing wiki pages
8 years ago
chriswatt a71a5bfeb4 Remove download archive button on wiki pages 8 years ago
chriswatt 548440b48f Change colour of numbers on pull request tabs if greater than zero 8 years ago
Lukas Dietrich c0eaae200e Add ForegroundColor for labels 8 years ago
Andrey Nering d160c7e565 Little refactoring of diff highlight.
Moving cache variable to template instead of in the struct.
8 years ago
Unknwon 7140dbac95 Fix #857 8 years ago
Unknwon a703f7d7b4 Merge pull request #2647 from andreynering/issue-template
Implement issue and pull request templates
8 years ago
Download-Fritz a467184e13 #2505 Allow to fork and disallow to create PRs for mirrors. 8 years ago
Andrey Nering 658bfc2704 Implement issue and pull request templates.
Similar to GitHub:
https://github.com/blog/2111-issue-and-pull-request-templates

Priority:
- root
- .gogs
- .github
8 years ago
Unknwon 632c27802c Minor fix for #2624 8 years ago
Unknwon dc89c51f3e Merge pull request #2624 from mhartkorn/convert-mirror-to-repo
Convert mirrors to regular repositories
8 years ago
chriswatt d710b5e791 Fix when repo is empty 9 years ago
chriswatt c47866b34a Add grey bg to tabs on repo page 9 years ago
Martin Hartkorn 15d37b7a95 Refactored according to suggestions 9 years ago
Martin Hartkorn 3650bd8528 Convert mirrors to regular repositories. 9 years ago
chriswatt af8e323248 Fix tab index on new issue/comment form 9 years ago
Unknwon b09ddc72d2 Merge pull request #2581 from chriswatt/committab
Make commits tab active when on diff page
9 years ago
chriswatt a881f776d0 Make commits tab active when on diff page 9 years ago
Andrey Nering 2bfb8bb5fd Enable sintax highlighting on diff view. Close #733 9 years ago
Unknwon 1c74612b3c Minor fix for #2444 9 years ago
Unknwon d3ba246693 Merge pull request #2444 from bkcsoft/feature/participants
Implemented participant-listing for issue-pages (Fixes #2377)
9 years ago
Florian Kaiser d568019306 Remember last selected clone protocol, and establish uniform order (https, ssh) 9 years ago
Unknwon 566163ab82 Merge pull request #2502 from bkcsoft/fix/split-view-diff
Split view fixed
9 years ago
Kim "BKC" Carlbäcker 96dee1c354 Split view fixed 9 years ago
Andrey Nering 5deb726f3f Refactoring of inline diff computing to prevent empty diff box. Fix #2489 9 years ago
Kim "BKC" Carlbäcker b921161666 Name popup 9 years ago
Kim "BKC" Carlbäcker 2cc1ee3fc0 Implemented participant-listing for issue-pages 9 years ago
Unknwon d1675c2701 fix CSS of branch dropdown when view commits under revision 9 years ago
Adam Strzelecki 41fdaabcf7 commit.RefUrl expects AppUrl argument
This is fixup for ea375c0dcc. The bug was not
visible because commit.RefUrl was always returning empty url due regression
described in https://github.com/gogits/git-module/pull/4
9 years ago
Unknwon bcf6aed452 Merge pull request #2335 from andreynering/highlight-diff
Highlight diff
9 years ago
Unknwon cc8c67ff29 fix markdown autolink error 9 years ago
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.
9 years ago
Andrey Nering 73474c043b Highlighting differences of lines in the diff view. 9 years ago
Kim "BKC" Carlbäcker 2087156119 Removed opticon-fold 9 years ago
Kim "BKC" Carlbäcker 3870a7a3c8 merged split/unified templates 9 years ago
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified 9 years ago
Kim "BKC" Carlbäcker 4e6d048ba1 i18n-fix for split-view 9 years ago
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
9 years ago
Unknwon 93f03707a7 #2283 set text/plain for non-binary files in raw mode 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon c62a6b7a12 #2014 allow switch branches between two orgs in compose PR 9 years ago
Unknwon 5ff6eedf5e #2251 fix button name 9 years ago
Unknwon 3bcdb3855c #2250 Use HTTP/HTTPS as default clone option 9 years ago
Unknwon 6673dcb038 #2103 #2181 improvments of highlight class name 9 years ago
Unknwon eb918c2368 fix only admin can view milestone desc 9 years ago
Unknwon ea375c0dcc new template func 9 years ago
Unknwon 7509fa2c33 improve get commits performance 9 years ago
Unknwon 351dfc95a9 prepare release 9 years ago
Unknwon 40f3142264 #2114 External URL for wiki 9 years ago
Unknwon c3440c4dd3 #2035 Show author e-mail in commit diff 9 years ago
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
9 years ago
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.
9 years ago
Unknwon a576224d0e unified name: IsViewBranch, IsViewCommit and IsViewTag 9 years ago
Unknwon 120cd4e471 #1984 Better mirror repo management 9 years ago
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
9 years ago
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.
9 years ago
Unknwon 404867f206 fix #2105 and fix #1857 9 years ago
Unknwon f0ee33267c fix #2102 9 years ago
Unknwon 1ee7c33e93 template fix 9 years ago
Unknwon e538ff2770 fix #1829 and fix #890 9 years ago
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.
9 years ago
Unknwon ec2423ad7c more UI minor fixes 9 years ago
Unknwon c4bab163cb Merge pull request #2088 from nanoant/patch/further-layout-fixes
Further layout fixes
9 years ago
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.
9 years ago
Unknwon 3d3498bda1 clean test data 9 years ago
Unknwon 29375059e1 minor CSS fix 9 years ago
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.
9 years ago
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.
9 years ago
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.
9 years ago
Adam Strzelecki ec98deeb8c UI: Keep repository settings menu button right 9 years ago
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.
9 years ago
Adam Strzelecki 99b958db43 UI: Mark top menu icons blue only when non-zero 9 years ago
Unknwon 5572884c6b fix #2057 9 years ago
Unknwon 830d000667 finish wiki 9 years ago
Unknwon 5d1f5f32d0 wiki: finish pages 9 years ago
Unknwon e42fcb033d wiki: finish edit 9 years ago
Unknwon 392f3ee210 wiki: finish new 9 years ago
Unknwon c50a3503e6 introduce git-shell 9 years ago
Unknwon 2b10fdc4dc Wiki: UI for page new 9 years ago
Unknwon 144663a3cf allow admin to migrate for any user/org 9 years ago
Unknwon b2fb7e3fd2 more HTTP clone word fix 9 years ago
Unknwon efaf60ba5a fix #2013 9 years ago