Commit Graph

48 Commits

Author SHA1 Message Date
Douwe Maan 12c18ee546 Copy diff file path as GFM 2017-04-06 21:10:14 +00:00
victorwu 96cec4fede Text for copy to clipboard: URL, personal access token, commands, reference 2017-01-12 20:04:39 -05:00
Kushal Pandya fb3e365412 HAMLLint: Fix `SpaceInsideHashAttributes` offences 2016-12-31 11:58:36 +05:30
Kushal Pandya 598d8cab32 HAMLLint: Fix `SpaceBeforeScript` offences 2016-12-31 11:43:08 +05:30
Patricio Cano 2e96fcff12 Clone button should not be clickable when there is a disabled protocol 2016-07-05 16:54:22 -05:00
Patricio Cano 512adc21fe Add setting that allows admins to choose which Git access protocols are enabled 2016-07-05 16:54:22 -05:00
Annabel Dunstone 5bb7fa1bd9 Redesign project page header 2016-05-19 13:16:57 -05:00
Stan Hu d5c071419a Use http_clone_button and ssh_clone_button to restore tooltip functionality in clone panel 2016-03-19 22:47:27 -07:00
Stan Hu 68fa4de6e3 Make HTTP(s) label consistent on clone bar
Sites that use http:// for the external_url should always display HTTP on
the clone bar. Similarly, sites that use https:// should show HTTPS.
2016-03-19 22:47:27 -07:00
Dmitriy Zaporozhets f8707e26ad
Fix css mess around git clone panel. Align it properly
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-01-14 17:42:15 +01:00
Jacob Schatz 7ba4482fcf fixes failing test by updating project clone instructions 2015-12-23 19:57:30 -05:00
Jacob Schatz 8bbcbe7854 spacing changed from 4 to 2 in ` _clone_panel.html.haml`. 2015-12-23 12:43:27 -05:00
Jacob Schatz ea5fa54b2d dropdown chooses right default 2015-12-23 12:26:50 -05:00
Jacob Schatz f56783e524 adds dropdown for cloning 2015-12-23 12:26:50 -05:00
Robert Speicher 3723182a88 Move project visibility level off of the clone panel 2015-11-27 16:15:06 -05:00
Robert Speicher 1d80cd315e Add clipboard button to project clone panel
Closes #3585
2015-11-24 19:32:06 -05:00
Robert Speicher af65046c5f Move HTTP/SSH clone button logic to helpers 2015-11-24 16:55:26 -05:00
Douwe Maan 91fdbdcde7 Add tooltips to home panel buttons. 2015-11-18 12:02:09 +01:00
Douwe Maan eeea6ef25f Sentences end in periods. 2015-10-18 12:19:42 +02:00
Andrey 1f78c5d460 UI changes to the project view, empty project and project list new project button 2015-09-24 18:36:15 +02:00
Dmitriy Zaporozhets aeeb31d6b7
Change some base colors in UI
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-03 15:46:13 +02:00
Dmitriy Zaporozhets 5e7f7f8d31
Redesign project home page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-07 15:22:56 +02:00
Robert Speicher 09b4e11d26 Bootlint: Add missing `type` attribute for buttons 2015-06-16 13:33:48 -04:00
Marin Jankovski 15909d6411 Move project visibility from clone bar to repository details block for non empty project. 2015-05-08 18:12:07 +02:00
Sullivan SENECHAL f972a9e34c Fix bootlint issues on git clone holder bar 2015-05-07 18:32:10 +02:00
Dmitriy Zaporozhets 342078a76d
Small UI improvements to make project sidebar more neat
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-05-06 16:38:45 +03:00
Sullivan SENECHAL 5bc5188a06 Fix missing button types 2015-05-05 00:45:06 +02:00
Dmitry Medvinsky 92544df8da Fix auto-selection of URL field with X11 selection
We use `focusin` event instead of `click` because when using the latter,
when the selection is created it isn't put into X11 PRIMARY selection.
And as a Linux user I'm very used to such behaviour that when something
gets selected, it's ready for pasting, which is the primary purpose of
the clone URL field.

When `focusin` is used, the selection is copied to X11 buffer
automatically, so it works as expected (tested in Firefox and Chrome).
2015-04-17 10:16:18 +03:00
Douwe Maan c9829146f8 LDAP users don't need to set a password to Git over HTTP. 2015-02-23 20:04:18 -08:00
Douwe Maan 25e44d0530 Allow users that signed up via OAuth to set their password in order to use Git over HTTP(S). 2015-02-13 14:44:42 +01:00
Dmitriy Zaporozhets 36361f4e45 Prevent 500 error when browse wiki page with repo access
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-29 12:58:47 +03:00
Dmitriy Zaporozhets 8289308933
Restyle project home
* more focus for description and stars/forks
* rename activity -> to project tab
* put activity under tab: prepare place for README tab

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-28 14:19:11 +03:00
Jason Hollingsworth 04baf0b569 Update clone panel to use input group.
Use clone panel in `Git Access` section of wiki.
2014-01-08 10:06:03 -06:00
Dmitriy Zaporozhets 010a770b3f
Migrate forms and inputs pt1
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 02:50:36 +02:00
Dmitriy Zaporozhets 0f72f00ce9
Improve project show page UI
* Fixes overflow with long description
* Fixes overflow for project with long name
* Fixes overflow for non-retina iPad

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-29 12:27:33 +02:00
Jason Hollingsworth 1521f467cb Update default public pull url.
This updates the default pull URL for public projects when the user
is not logged in.
2013-12-17 12:48:59 -06:00
Steven Thonus 5907207e4d showing as default http link for public repo when anonymous 2013-11-29 09:32:34 +01:00
Dmitriy Zaporozhets 43dbd7986e Improve git clone panel 2013-10-21 13:06:26 +03:00
Dmitriy Zaporozhets 09572e40bc use public_icon/private_icon helper 2013-06-11 10:02:17 +03:00
Dmitriy Zaporozhets 7069fac317 Add custom sing-in text & google analytics 2013-05-08 21:03:36 +03:00
Dmitriy Zaporozhets a022fd4164 Restyle clone panel on project show page 2013-04-26 22:12:43 +03:00
Dmitriy Zaporozhets 9ef5573c82 Show project access level right to clone panel 2013-04-26 20:59:29 +03:00
Dmitriy Zaporozhets bf06b3196d Make clone widget read-only 2013-03-04 22:18:53 +02:00
Dmitriy Zaporozhets 23e338852c Dont set @project variable in list. Remove a bit of duplication in dash and group 2013-01-14 10:09:01 +02:00
Riyad Preukschas 19eb637419 Update uses of Gitolite.config.foo settings 2012-12-20 16:54:28 +01:00
Dmitriy Zaporozhets eb3e07a509 Use project owner if no namespace. Restyled team page 2012-11-30 18:26:17 +02:00
Dmitriy Zaporozhets 942c410119 Implemented bootstrap 2.2.1.1. Restyled header panel 2012-11-20 23:05:15 +02:00
Riyad Preukschas 0447ab375a Extract shared/clone_panel partial 2012-10-25 23:39:02 +02:00