386 Commits (5a44be627c055d3e9eb406ec4a91579de78b6910)

Author SHA1 Message Date
modmew8 ffd0062438 Fix checklist padding (#3460)
* Changed style of checklist in issuelist.

* Adjusted padding for progressbar, updated index.css.

* Fixed another wrong tab to spaces.

Signed-off-by: modmew8 <modmew8@gmail.com>
7 years ago
modmew8 e08b3a592e Emoji Autocomplete (#3433)
* Implemented emoji autocomplete.

* Changed emoji access url.

* Reverted vendor css to default, moved all style changes to _tribute.less

* Made no-results overwriteable, added missing autocomplete to edit issue field.

Signed-off-by: modmew8 <modmew8@gmail.com>
7 years ago
modmew8 d996da6bab Added progressbar for issues (#1146). (#3171)
* Added progressbar for issues (#1146).

* Updated the generated index.css.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Removed stored progress percentage and changed it to css calc. Also added the issue task progress to the user/dashboard/issues.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Removed unnecessary blanks.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Formatted the files correctly, fmt-check terminates now without errors.

Signed-off-by: modmew8 <modmew8@gmail.com>

* Removed variables, made computing the tasks on demand with precompiled regexp.

Signed-off-by: modmew8 <modmew8@gmail.com>
7 years ago
Morgan Bazalgette 3d3faa2624 Responsive view (#2750)
* Viewport meta tag

* responsive: dashboard

* responsive: issues page

* responsive: Explore page

* responsive: navbar, and some navbar css refactoring

* responsive: button for collapsing navbar in mobile view

* Mark the hamburger button as active when pressed

* better homepage for responsive views

* Bring back jump class in navbar

The class was necessary, because this way the
dropdown doesn't assume the contents of the
selected item.

* make repository homes responsive

* Make file view page responsive

* Make forms look good on responsive views

* make commits and commit diff view responsive

* issues and PRs

* responsive wiki

* Don't place auto-init far off the page

* Minor changes to amend broken stuff

minor improvements

- make login/sign up in navbar stackable
- make navbar in explore and sign in not stackable

Change selected class in TestPullCompare

Fix typo that happened when rebasing

fix dashboard on org view

improve profile UI

Use clearing on file diff to fix broken UI caused by floating elements

remove unresolved merge conflict, and | Sanitize

Fix repo home not loading
7 years ago
silverwind 1687aa59e6 Improve suppressed diff boxes (#3193) 7 years ago
silverwind 1ed7f18815 Rework button styles on repo and commit page (#3104) 7 years ago
silverwind 3b89ee5501 fix button heights on commits page (#3091) 7 years ago
Lauris BH 5dc37b187c
Add reactions to issues/PR and comments (#2856) 7 years ago
silverwind 4947cfb7b0 Remove box-shadow from UI, fix dashboard issue (#3065) 7 years ago
silverwind d44aa831f3 Convert tabs to spaces in .less files (#3064) 7 years ago
silverwind 8cd616e977 Fix misalignment issue in repo header (#3062) 7 years ago
silverwind d8d38ed059 Dashboard: Fix line height problem in issue titles (#3054) 7 years ago
Sondre Nilsen 86ee41ec03 Expandable commit bodies (#2980)
* Initial working state of expandable commit bodies

* Fix all commits having showing button for multiline commits

* Refactor checking multiline messages method

* Force newlines with <br> in commit body

* Show multiple lines in the list view of repositories

* Fixed proper newlines and minor refactor

Use <pre> instead of <p>, this is so we can use \n instead of having to manually place <br> into the HTML. Makes it easier to display commit bodies.

* Fix commit list messages jumping around

* Fix indentation in view_list.tmpl

* Use vertical-align: baseline instead of top

* Refactor commit button toggle function

* Remove RenderCommitBodyLink function

* Add comments

* Add newline at the end of _repository.less

* Fix long commit bodies not properly wrapping inside <pre>

* Don't split on double newlines

* Show the commit body in commit view

* Update stylesheets

* Add/fix comments and run make fmt

* Fix spaces not being tabs
7 years ago
Jakub 80a4643359 Fix attachments icon size on zoom in/out (#2853)
* fix attachments icon size on zoom in/out

* make public/css/index.css
7 years ago
Ethan Koenig 5866eb2321 Code/repo search (#2582)
Indexed search of repository contents (for default branch only)
7 years ago
Lauris BH 762f1d7237 Add wrapping to long diff lines (#2789)
* Add wrapping to long diff lines to fix #1827

* Fix  css class and make changes to source (less) files

* Fix wrong space indentation

* Fix indentation inconsistencies and remove very old WebKit workaround
7 years ago
Bwko 3ab580c8d6 Add branch overiew page (#2108)
* Add branch overiew page

* fix changed method name on sub menu

* remove unused code
7 years ago
Lauris BH 0e9e48bd5c Fix activity css conflit with semantic ui (#2758) 7 years ago
Jonas Franz f4190f8df8 Render plain text README.txt monospaced (#2721)
Signed-off-by: Jonas Franz <info@jonasfranz.software>
7 years ago
Lauris BH f3833b7ce4 Create new branch from branch selection dropdown (#2130)
* Create new branch from branch selection dropdown and rewrite it to VueJS

* Make updateLocalCopyToCommit as not exported

* Move branch name validation to model

* Fix possible race condition
7 years ago
Lauris BH f42dbdbae5 Add Activity page to repository (#2674)
* Add Activity page to repository

* Add request data for activity

* Add issue data for activity

* Add user unit right checks

* Add releases to activity

* Log repository unit loading error
7 years ago
harry b3cfa5a77e Use Semantic UI's Search component for user and repo search (#2636)
* Use search component on org invitation user input.

* Search component for collaboration and members.

* Search component for repo search.

* minCharacters for search input

* Display full_name for user search.

* Fixed missing uid query parameter for repo search.

* Removed unused comment.
7 years ago
Rémy Boulanouar e5d80b7090 Implementation of all repositories of a user from user->settings (#1740)
* Implementation of all repositories of a user from user->settings

* Update message when no repository found

* Update according to comments

* Change UI to have a better look

* improved user repositories UI
7 years ago
Lunny Xiao 1739e84ac0 improve protected branch to add whitelist support (#2451)
* improve protected branch to add whitelist support

* fix lint

* fix style check

* fix tests

* fix description on UI and import

* fix test

* bug fixed

* fix tests and languages

* move isSliceInt64Eq to util pkg; improve function names & typo
7 years ago
David Schneiderbauer a89692d158 fix wrong rendering of commit detail page (#2503)
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Albert 250f1236dc * Fix fileview rendering bug #2470 (#2477) 7 years ago
Morlinest 951fb572a7 Fix and improve dashboard repo UI (#2285)
* Fix and improve dashboard repo UI

* Change order of scripts loading

* Remove "mirror" tab

* Remove single tab panel for "org user"

* Add localization strings

* Create vue component and change event for search

* Add "mirrors" filter
7 years ago
silverwind fc29a405e8 More tweaks to repo top panel (#2267)
* More tweaks to repo top panel

* undo hiding of compare button on master

* attempt to fix ci issue

* another ci attempt
7 years ago
silverwind 54381f438b File path tweaks in UI (#2264) 7 years ago
silverwind 31411a9462 Prevent selection of diff line numbers (#2240) 7 years ago
Lauris BH f33e6ae09e Remove unit types commits and settings (#2161)
* Remove unit types commits and settings

* Can not limit units in administrator teams

* Limit changing units only to teams with read and write access mode

* Small code optimization
7 years ago
Lauris BH a739991b36 Fix repository settings collobration list display (#2151) 7 years ago
silverwind 0168b7073d Use monospace font in githook editor (#1958) 7 years ago
silverwind f2fcd9dcd8 Support CRLF when splitting code lines for display (#1862)
* Support CRLF when splitting code lines for display

* refactor, fix mixed match

* fmt

* split on both LF and CRLF, use raw literals in regexes

* simplify
7 years ago
silverwind ae922afa2d Prevent accidential selection of line numbers in code view (#1860) 7 years ago
Hussain Khalil 009a073990 Remove annoying difference in button heights. (#1853)
* Remove annoying difference in button heights.

Why was that even there?

See before & after: http://imgur.com/a/yKdUR

* (2/2) Remove annoying difference in button heights
7 years ago
Patrick G 98ae013e90 Make navbar scroll on overflow (#1777)
* Scrollbars on overflow of horizontal nav

* Update _base.less

* Add fade out on right side of overflowing nav

* Update _base.less
7 years ago
Lauris BH 51d0becb42 Add configuration option for default permission to create Organizations (#1686) 7 years ago
Lauris BH 2e17dda8bb Remove sha1 hash display in repository table and add latest commit GPG check (#1678) 7 years ago
Jonas Östanbäck 59f5bbab0d Fix CSS for wiki markdown (#1660) 7 years ago
Willem van Dreumel 950f2e2074 Additional OAuth2 providers (#1010)
* add google+

* sort signin oauth2 providers based on the name so order is always the same

* update auth tip for google+

* add gitlab provider

* add bitbucket provider (and some go fmt)

* add twitter provider

* add facebook provider

* add dropbox provider

* add openid connect provider incl. new format of tips section in "Add New Source"

* lower the amount of disk storage for each session to prevent issues while building cross platform (and disk overflow)

* imports according to goimport and code style

* make it possible to set custom urls to gitlab and github provider (only these could have a different host)

* split up oauth2 into multiple files

* small typo in comment

* fix indention

* fix indentation

* fix new line before external import

* fix layout of signin part

* update "broken" dependency
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
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
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 d4b752def9 Fix table headers (#980)
Signed-off-by: Andrew Boyarshin <andrew.boyarshin@gmail.com>
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
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
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
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
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
Andrey Nering 6069abe5fd Notifications - Step 2 8 years ago
Sl@ny c22f9114c7 Implementation of Folder Jumping 8 years ago
Andrey Nering 96c9fef35f Update home page to Gitea (#138) 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
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 7f7216be6e Code quality improvement on JS 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 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
silverwind b1133c9934 Lighter icon colors for repo files (#3351)
* Lighter icon colors for repo files

* also color submodule icon
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
Unknwon 971e2c3bd6 Upgrade octicon to 4.3.0 8 years ago
Laica Lunasys 528ec9bffd Apply font for Japanese / Chinese (more) (#3266) 8 years ago
chriswatt 24caccccdd Fix empty space surrounding hidden issue labels (#3200) 8 years ago
Unknwon 7049cb9d97 Add new language support
- Update language choose dropdown to fit more languages
8 years ago
Kim Carlbäcker ce36fd7a49 Fixed #2909 (#2979) 8 years ago
Matthias Niess 3decc0b3d6 use monospace font for wiki and issue textareas (fix #2869) 8 years ago
Unknwon 9a5a27ea8d Improve repository lable style
- add border-radius to filter list items
- use color as background of label for issue/pull view page
8 years ago
Unknwon db4da7beec Add APIContext 8 years ago
MATTENN 13e1fa6789 Add Japanese Fonts
By adding a Japanese font in the less file, easier to see the display in
Japanese.
8 years ago
Unknwon 2bf8494332 #13 finish user and repository search
Both are possible on explore and admin panel
8 years ago
Unknwon c2ca103d30 #2623 fix wrong font for webhook history 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
Unknwon d320915ad2 Minor fix for #2710 8 years ago
ChubbyNinja ab4bc653ab Image attachments keep aspect ratio 8 years ago
Unknwon baaf6046a1 Minor fix for #2660 8 years ago
Unknwon f38d5e57dd Remove border-bottom for tabs header divider 8 years ago
Florian Kaiser eb009923f4 Fix chmod for several files in conf/locale/ and public/ 8 years ago
chriswatt c47866b34a Add grey bg to tabs on repo page 9 years ago
Florian Kaiser 662482d366 Make issue title smaller 9 years ago
Unknwon f15a2f9b25 Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
9 years ago
chriswatt 133397ee0d Rename #avatararrow to #avatar-arrow 9 years ago
chriswatt 16270ee9a4 Add avatar arrow to pull request form 9 years ago
chriswatt 1dfead1eef Add avatar arrows to new both new issue comment forms 9 years ago
chriswatt 9fe9cd8b5c Add small user arrows on issue comments pointing to users avatar 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 8436d69eaf Update and reorganize front-end resources 9 years ago
Kim "BKC" Carlbäcker 96dee1c354 Split view fixed 9 years ago
Unknwon e33ddac9bf Minor fix for #2396 9 years ago
Unknwon c631a4a9b9 URL fix for #2287 9 years ago
Unknwon f43cc90841 #2287 Truncate repository name if too long 9 years ago
l2dy efa0e7b27a Minor fix 9 years ago
Unknwon 86bce4a2ae minor fix to #2335 9 years ago
Andrey Nering 73474c043b Highlighting differences of lines in the diff view. 9 years ago
Unknwon 2481fe2f56 Merge pull request #2296 from bkcsoft/feature/split-diff
Implement Split Diff-View
9 years ago
Kim "BKC" Carlbäcker 8fe5d887ae Changed name from inline to unified 9 years ago
Kim "BKC" Carlbäcker 0df39b33eb Implement Split Diff-View
- Unified/Inline Diff-View Selectable
9 years ago
Andrey Nering cb8134da52 Making scroll always visible. 9 years ago
Unknwon 93f03707a7 #2283 set text/plain for non-binary files in raw mode 9 years ago
Unknwon 13fe733037 #2264 use monospaced font for commit IDs in news feeds 9 years ago
Unknwon a49af93faf #1692 APIs: Users Followers
- User profile un/follow
- List user's followers/following
9 years ago
Unknwon 168c69273f fix #1720 9 years ago
Unknwon 4df378b892 fix markdown header margin-top 9 years ago
Unknwon 351dfc95a9 prepare release 9 years ago
Unknwon 837155577a #2159 use icon+tooltip to replace text 9 years ago
Unknwon 59c965a5ec #2156 admin able to edit organization max repo creation 9 years ago
Unknwon 477b4d3b50 #2154 fix form submit error 9 years ago
Unknwon ddcc8d998c fix markdown table header CSS 9 years ago
Adam Strzelecki dd8a06a397 LESS: Use tabs for indent in all files
This does not change any content and generated gogs.css is still the same.
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 f41360d864 #2052 advanced select ops for system notices 9 years ago
Unknwon e538ff2770 fix #1829 and fix #890 9 years ago
Unknwon 98e989d52c minor JS and UI fix 9 years ago
Unknwon 1802d52362 Merge pull request #2094 from nanoant/patch/less-pronounced-sha-labels
UI: Use more subtle grey SHA1 labels
9 years ago
Adam Strzelecki cab2911f23 UI: More subtle strips on commits list
With grey SHA1 labels, we should consider having also more subtle strips on
commits list. As current strips blend too much with grey SHA1 labels and top
bar, making hard to distinguish headers from content.
9 years ago
Adam Strzelecki c5e249c0be UI: Remove CSS rule making last-commit SHA bold
This removes remains from old design, that was not cleaned by previous #2068 PR.
9 years ago
Unknwon 4a6016f5af fix #2087 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 0068b8106b CSS: Octicons 16px fix outside of _octicons.less
Otherwise the fix will be overwritten by next _octicons.less update.

This is follow-up for 22b0dfbb35.
9 years ago
Unknwon 29375059e1 minor CSS fix 9 years ago
Unknwon 85449b2f11 minor CSS fix for #2068 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