Commit Graph
136 Commits
Author SHA1 Message Date
1fb783efb0 Fix scrollable header on dropdowns (#11893)
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-06-18 13:16:26 -04:00
6c81b738f7 Update Fomantic-UI to 2.8.6 and remove old workarounds (#11933)
Co-authored-by: zeripath <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-17 21:20:07 -04:00
6c38f371ea Align show/hide outdated button on code review block (#11932)
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-17 20:10:29 -04:00
492b7d6357 Fix alignment for show/hide outdated link on resolved conversation (#11881)
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-15 15:50:12 -04:00
c8780984f8 Rework blame template and styling (#11885)
* Rework blame template and styling

* cleanup template and add missing NumLines

Co-authored-by: techknowlogick <[email protected]>
2020-06-15 14:39:39 -04:00
26cb7e4b39 Vertically align review icons on repository sidebar (#11880)
* Vertically align review icons on repository sidebar

* Update web_src/less/_repository.less

Co-authored-by: silverwind <[email protected]>

Co-authored-by: silverwind <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-15 13:26:10 -04:00
5f47835f4c Better align items using flex within review request box (#11879)
* Better align items using flex within review request box

* use justify-content

Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-15 03:37:00 -04:00
48842ed108 ui: Show update branch item in merge box when it's necessary (#11761)
* ui: Show update branch item in merge box when it's necessary

As title, should show it without care about whether
this pr can be merged.

fix #10959

Signed-off-by: a1012112796 <[email protected]>

* fix ui

* Fix ui, thanks to @silverwind.

Co-authored-by: silverwind <[email protected]>

* fix lint

* Update templates/repo/issue/view_content/pull.tmpl

Co-authored-by: silverwind <[email protected]>

* Apply review suggestion

Co-authored-by: zeripath <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-13 14:49:59 -04:00
8ffc0ed13f Re-center the cog on the center of the lock (#11844)
Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
2020-06-10 17:01:03 -04:00
628ee1d82e Replace jquery-datetimepicker with native date input (#11684)
This removes the jQuery plugin as well as the associated config options.
Native input[type=date] does not require a language attribute as it is
localized by default, except for the placeholder attribute for which I
currently piggy-back the repo.issues.due_date_form localization option.

Implementation should pretty much match GH. Of note is that Safari does
not provide a UI for this input type, but I don't think providing one is
neccessary and GH did not bother either.

Co-authored-by: techknowlogick <[email protected]>
2020-06-10 14:35:27 -04:00
John OlheiserandGitHub aaff47ad75 Fix reply octicon (#11821)
Signed-off-by: jolheiser <[email protected]>
2020-06-09 10:13:00 -05:00
777015c2c2 Use crispEdges rendering for octicon-internal-repo (#11801)
* Use crispEdges rendering for octicon-internal-repo

* Update _svg.less

Co-authored-by: techknowlogick <[email protected]>
2020-06-09 01:33:09 -04:00
Cirno the StrongestandGitHub 880ae454db Work around fomantic 2.8.5 bugs (#11767)
Work around fomantic 2.8.5 bugs 

Closes #11759

Related fomantic/Fomantic-UI#1372 and fomantic/Fomantic-UI#1473
2020-06-07 19:25:52 +01:00
Cirno the StrongestandGitHub f6315fb477 Fix align issues and decrease avatar size on PR timeline (#11689)
* Fix margin for referenced issue title

* Change avatar size to 20px, align referenced issue title to avatar

* better align
2020-06-06 21:30:10 +01:00
1ee6c13f11 Initialize SimpleMDE when making a code comment (#11749)
Fix #11704

Signed-off-by: Andrew Thornton <[email protected]>
Co-Authored-By: Cirno the Strongest <[email protected]>
2020-06-06 15:15:14 +01:00
8e035f81c0 Fix styling for commiter on diff view (#11715)
* Fix styling for commiter on diff view

* Update options/locale/locale_en-US.ini

* Update templates/repo/commit_page.tmpl

Co-authored-by: silverwind <[email protected]>

* Update templates/repo/commit_page.tmpl

Co-authored-by: silverwind <[email protected]>

* Apply suggestions from code review

Co-authored-by: silverwind <[email protected]>

Co-authored-by: silverwind <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-06-02 22:40:08 -04:00
d0a18a1270 Show full GPG commit status on PR commit history (#11702)
* Show full GPG commit status on PR commit history

* move shabox badge to separate template

* unnecessary $

Co-authored-by: zeripath <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
2020-06-02 20:22:26 -04:00
fe2cacf5ea Properly truncate system notices (#11714)
* Properly truncate system notices

As noted in #11658 the system notifications list will always suffix
system notices with ... even when the notice is longer than 120
characters.

Instead we should use .text.truncate to auto truncate and make the
notices clickable to view their details.

Signed-off-by: Andrew Thornton <[email protected]>

* As per @CirnoT make table cell clickable

* ensure that pre wraps

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: techknowlogick <[email protected]>
2020-06-02 16:24:18 -04:00
4395c607ed Make tabular menu styling consistent for arc-green (#11570)
* Make tabular menu styling consistent for arc-green

* rework completely

* transparent borders

* use darker color for active item; override only colors for borders

* Update web_src/less/themes/theme-arc-green.less

Co-authored-by: silverwind <[email protected]>

Co-authored-by: silverwind <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-05-30 00:15:25 +01:00
Cirno the StrongestandGitHub f36104e410 Normalize avatar radius (#11589)
We already made avatars square for .ui avatar.img class but this is not enough, and in some place Fomantic default styling still applied.

This PR updates our override of radius to match all Fomantic classes.
2020-05-29 18:00:39 +01:00
mrsdizzieandGitHub 5d78792385 Fix alignment for commits on dashboard (#11595)
Fix alignment issue between commit SHA and commit message
2020-05-27 21:31:12 +01:00
b97917a6e7 Apply padding to approval icons on PR list (#11622)
Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-05-26 00:48:23 -04:00
Cirno the StrongestandGitHub 793719a50d Fix missing styling for shabox on PR commit history (#11625) 2020-05-26 04:49:53 +01:00
Cirno the StrongestandGitHub 75739d00cb Fix styling for PR merge section when no checks (#11609)
Makes styling consistent between two cases. Also removed unnecessary double border.
2020-05-25 20:08:06 +01:00
0a7c5623d7 Style code review comment for arc-green (#11572)
* Style code review comment for arc-green

* change border around review for light; update border around textarea to match #11570

Co-authored-by: zeripath <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-05-25 12:12:49 -04:00
Cirno the StrongestandGitHub f2a0be1683 Fix margin on PR form (#11566) 2020-05-25 11:04:02 +01:00
Cirno the StrongestandGitHub e682a92295 Fix margin for attached top header on code review (#11571)
Introduced naively by #11463

The margin was being applied too widely.
2020-05-25 09:18:48 +01:00
Cirno the StrongestandGitHub 04afd9d1e2 Fix inconsistent font size for markdown preview on new PR view (#11565)
We use same method for new issue form and issue view, but was missing from new PR view making it one place where markdown preview is inconsistent in font size.
2020-05-24 18:53:37 +01:00
Cirno the StrongestandGitHub 8d9f9c3237 Add missing padding for multi-commit list on PR view (#11593) 2020-05-24 06:54:18 +01:00
Cirno the StrongestandGitHub ac3c467770 Fix styling and padding for commit list on PR view (#11588)
* Fix styling and padding for commit list on PR view

* fix bold on author
2020-05-24 01:05:20 +03:00
38c773d8a5 Enforce transparent background on editor toolbar elements (#11569)
Co-authored-by: Lauris BH <[email protected]>
2020-05-23 14:59:40 +03:00
silverwindandGitHub 035db78018 Ensure emoji render with regular font-weight (#11541)
Emoji characters don't support bold attributes and may do weird things
like rendering monochrome when bolded.
2020-05-21 21:01:58 -03:00
b02d2c3772 Move tributejs to npm/webpack (#11497)
* Move tributejs to npm/webpack

- Move vendored bundle to npm and webpack
- Rewrote initialization to single function
- Restyled it (made it a bit smaller)
- Fixed it for arc-green

* fix mention

* also include emoji on #content

* Update web_src/less/_tribute.less

Co-authored-by: mrsdizzie <[email protected]>

* rewrite to only use one instance of Tribute

* refactor

* fix copy/paste error

Co-authored-by: mrsdizzie <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-05-20 22:00:43 -04:00
c7c61778bc Fix text-transform on wiki revisions page (#11486)
* Fix text-transform on wiki revisions page

* apply global

Co-authored-by: techknowlogick <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-05-20 16:27:14 -04:00
ee4e8542c7 Fix margin for branch-update grid on PR view when update button is not present (#11521)
* Fix margin for branch-update grid on PR view when update button is not present

* Move padding to row element

Co-authored-by: techknowlogick <[email protected]>
2020-05-20 13:12:08 -04:00
0903b1ac8c Add push commits history comment on PR time-line (#11167)
* Add push commits history comment on PR time-line
* Add notify by email and ui of this comment type also

Signed-off-by: a1012112796 <[email protected]>

* Add migrations for IsForcePush
* fix wrong force-push judgement
* Apply suggestions from code review
* Remove commit number check
* add own notify fun
* fix some typo

Co-authored-by: guillep2k <[email protected]>

* fix lint

* fix style again, I forgot something before

* Change email notify way

* fix api

* add number check if It's force-push

* Add repo commit link fuction
remove unnecessary check
skip show push commits comment which not have commits alive

* Update issue_comment.go

* Apply suggestions from code review

Co-authored-by: mrsdizzie <[email protected]>

* Apply suggestions from code review

* fix ui view

Co-authored-by: silverwind <[email protected]>

* fix height

* remove unnecessary style define

* simplify GetBranchName

* Apply suggestions from code review

* save commit ids and isForce push by json
* simplify GetBranchName

* fix bug

Co-authored-by: guillep2k <[email protected]>
Co-authored-by: mrsdizzie <[email protected]>
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: silverwind <[email protected]>
2020-05-20 09:47:24 -03:00
9e0e2a9fcf Enable stylelint's shorthand-property-no-redundant-values (#11436)
Enabled the rule and --fix'ed issues.

Co-authored-by: techknowlogick <[email protected]>
2020-05-20 00:06:04 -04:00
34e6a4e057 Remove IE11 support (#11470)
* Remove IE11 support

With master now on 1.13, it's time to drop IE11 for good. The woff
variants are also in use by Opera Mini but it has even less market share
and I can only imagine how broken the UI is in it.

Fixes: https://github.com/go-gitea/gitea/issues/6147

* update docs

Co-authored-by: techknowlogick <[email protected]>
2020-05-19 23:28:59 -04:00
6da87eda8b Fix selected line color in arc-green (#11492)
Co-authored-by: techknowlogick <[email protected]>
2020-05-19 22:49:48 -04:00
c572ee2b61 Fix dropzone color on arc-green (#11514)
* Fix dropzone color on arc-green

* fix missing ;

* use same color as textarea and fix border

Co-authored-by: techknowlogick <[email protected]>
2020-05-19 18:54:20 -04:00
50a97272b9 Tweak reaction buttons (#11496)
- Vertical centering using flexbox
- Very slightly decreased size of the boxes

Co-authored-by: zeripath <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-05-19 03:17:37 -04:00
7b66400f55 Use more toned colors for selected line (#11493)
Co-authored-by: zeripath <[email protected]>
2020-05-19 01:58:45 -04:00
Cirno the StrongestandGitHub 6b798feaf6 Fix top margin for bottom attached header (#11480) 2020-05-18 11:27:09 +01:00
Cirno the StrongestandGitHub e7e0097148 Fix footer padding for comment code reply form on issue event view (#11469) 2020-05-18 06:33:47 +01:00
7fd60c6d8d Fix styling of resolved code comment box (#11463)
Co-authored-by: Lauris BH <[email protected]>
2020-05-17 23:43:04 +03:00
L0veSunshineandGitHub 9cc9e47158 [UI] Adjust CSS details for adding emoticons (#11435)
* Adjust CSS details for added emoticons

* fix lint

* avoid git conflict
2020-05-17 00:06:34 +03:00
c86bc8e061 Add paging and archive/private repository filtering to dashboard list (#11321)
* Add archived options to SearchRepository

Signed-off-by: Andrew Thornton <[email protected]>

* Add only-private search

Signed-off-by: Andrew Thornton <[email protected]>

* Add filter options and paging to dashboard repository page

Signed-off-by: Andrew Thornton <[email protected]>

* swagger generate

Signed-off-by: Andrew Thornton <[email protected]>

* fix-swagger-again

Signed-off-by: Andrew Thornton <[email protected]>

* as per @mrsdizzie also remember state

Signed-off-by: Andrew Thornton <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
2020-05-16 23:07:01 +03:00
4744e1e0f7 Fix buttons left-margin (#11427)
Co-authored-by: Lauris BH <[email protected]>
2020-05-16 20:45:44 +03:00
Cirno the StrongestandGitHub 6603045476 Better styling for code review comment textarea (#11428)
* Better styling for code review comment textarea

* align tabular menu with textarea

* border around active tab instead of textarea

* border radius

* use .28571429rem
2020-05-16 23:50:36 +08:00
1d54479585 Fix margin on attached segment headers when they are separated by other element (#11425)
Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: techknowlogick <[email protected]>
2020-05-15 21:35:22 -04:00