Commit Graph
427 Commits
Author SHA1 Message Date
Sean McGivern c7941acd1e Don't try to count a relation with aliases
98f147e84d2bd8f2278452ac0852118452c76d4a fixed this for issues in HTML,
but not MRs or Atom feeds.
2016-06-10 14:29:08 +01:00
Dmitriy Zaporozhets bf9e482695 Remove unnecessary icons from buttons
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-06-08 17:32:49 +03:00
Douwe Maan f96127bc2c Merge branch 'rs-remove-issue_to_atom' into 'master'
Remove `issue_to_atom` helper



See merge request !4265
2016-05-25 20:51:53 +00:00
Douwe Maan fb11004d5e Merge branch 'rs-event-atom-partial' into 'master'
Remove `event_to_atom` helper



See merge request !4234
2016-05-25 20:49:26 +00:00
Alfredo SumaranandJacob Schatz 0f63d34447 Remove conditional 2016-05-25 08:15:20 -04:00
Alfredo SumaranandJacob Schatz fd0c40fc80 Address feedback
Signed-off-by: Alfredo Sumaran <alfredo@gitlab.com>
2016-05-25 08:15:20 -04:00
Alfredo SumaranandJacob Schatz 2c8000e302 Move conditional to a method 2016-05-25 08:15:20 -04:00
Alfredo SumaranandJacob Schatz 2d810b61ad Move todo target state to the top and fix styles on mobile 2016-05-25 08:15:20 -04:00
Alfredo SumaranandJacob Schatz 33be8181ac Add target status 2016-05-25 08:15:20 -04:00
Robert Speicher 7001842dc4 Remove issue_to_atom helper 2016-05-23 17:06:26 -04:00
Robert Speicher 66cebb6f61 Remove event_to_atom helper 2016-05-23 12:37:40 -04:00
Sean McGivernandSean McGivern 6b834f2cbc Create a todo on failing MR build
When a build fails for a commit, create a todo for the author of the
merge request that commit is the HEAD of. If the commit isn't the HEAD
commit of any MR, don't do anything. If there already is a todo for that
user and MR, don't do anything.

Current limitations:
- This isn't configurable by project.
- The author of a merge request might not be the person who pushed the
  breaking commit.
2016-05-17 10:17:45 +01:00
Annabel Dunstone 8d19955c05 Revert counter parentheses back to badges 2016-05-04 17:07:47 -05:00
Annabel Dunstone fc20639c8d Builds page redesign 2016-05-04 16:45:37 -05:00
Annabel Dunstone 7878eb9fa6 Start builds redesign 2016-05-04 16:45:37 -05:00
Alfredo Sumaran 6ae6f29a2e Merge branch 'master' into issue_14678 2016-04-07 15:44:36 -05:00
Alfredo Sumaran 8c0aba9458 Get pagination options form the view 2016-04-01 12:55:45 -05:00
Rémy Coutable 95c7aa62de Merge branch 'fix-todos' into 'master'
Destroy related todos when an Issue/MR is deleted

Closes #14550 

Closes #14598

See merge request !3376
2016-03-31 16:43:12 +00:00
Annabel Dunstone 51031a68f7 Make entire todo row clickable 2016-03-30 12:28:57 -05:00
Douglas Barbosa Alexandre 07e1ec5dc1 Fix error 500 when target is nil on todo list 2016-03-30 12:09:34 -03:00
Alfredo Sumaran 9c42c197ce Fixes inputs width inside .nav-controls 2016-03-18 14:45:43 -05:00
Dmitriy Zaporozhets daeed3fdf3 Refactor colors and lists
* Introduce 2 color links: black and blue
* Use black color link for UI elements like lists
* Refactor lists to use .title nested under li
* Make all lists (events, todos, activity, projects etc) use style
* List colorschema is now 333 for links and 555 for text

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-18 19:02:08 +01:00
Jacob Schatz 4cd87d31bd Merge branch 'optimistic-todos' into 'master'
Adds small AJAX optimistic functionality to todos.

Fixes #13656 <br/>
A good first step and boring solution. <br/>
Will make ajax call to remove each issue.  <br/>
If issue is last in group of issues will refresh page.  <br/>
If issues remain in group will remove row with JS.  <br/>
Adds loading spinner to button and disables. <br/>

![todos-optimistic](/uploads/c6aec4a688e5125d4df55a2a3a55d4d7/todos-optimistic.gif) <br/>

cc @dzaporozhets @JobV @dbalexandre 

See merge request !2946
2016-03-18 11:23:16 +00:00
Phil Hughes 41c107becc Mark all as done through AJAX 2016-03-17 13:08:59 +00:00
Phil Hughes 421215e338 Removed the flash success message
Removes the group if empty
2016-03-17 12:54:02 +00:00
Jacob SchatzandPhil Hughes fa570525db Adds small AJAX optimistic functionality to todos.
Fixes #13656
A good first step and boring solution.
2016-03-17 12:20:14 +00:00
Zeger-Jan van de Weg ab418e27a9 Improve external users feature 2016-03-14 22:06:23 +01:00
Zeger-Jan van de Weg fc8d64b3a0 Remove Project#publicish 2016-03-13 19:08:04 +01:00
Douglas Barbosa Alexandre 7500a12aae Avoid error 500 when todo author was removed 2016-03-09 14:47:04 -03:00
Dmitriy Zaporozhets c674ffe0e0 Merge branch 'improve-archived-projects' 2016-03-09 09:51:59 +01:00
Rubén Dávila 95b06a62c0 Updates from last code review. 2016-03-06 23:07:19 -05:00
Rubén Dávila 96058605c3 Show some stats about Milestone according to the new UI. 2016-03-04 22:37:03 -05:00
Rubén Dávila e0a18829ee Show project name for Issues tab in Group and Dashboard context. 2016-03-04 22:37:03 -05:00
Rubén Dávila 32f8fc1f9a Refactor Milestone view for Dashboard. 2016-03-04 22:37:03 -05:00
Rubén Dávila a056dfa9a0 Refactor GlobalMilestone queries.
Make methods return ActiveRecord Relations instead of Arrays.
2016-03-04 22:37:03 -05:00
Dmitriy Zaporozhets bebf34aa47 Make projects sort dropdown shared so it can be reused for other pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-04 19:26:10 +01:00
Phil Hughes 144f8eff89 Added tabindex to filter field
Based on however I changed the tabindex of the search field so that it goes search field -> filter field & then back to browser default. I dont think we should override the default tabindex of the page too much
Closes #3706
2016-03-04 12:39:18 +00:00
Dmitriy Zaporozhets 7455d950bc Refactor projects list
1. Fix double bottom border if pagination
2. Fix broken search on forks page
4. Remove duplicate js logic
4. Remove unused show all link
5. Remove duplicate “no project” message in different views

After this merge request you can easily render shared projects template
with all necessary html/js included to make searchable list with
pagination. All you need to provide is controller that returns
projects list with seach nad pagination and render html form with
project-filter-form id and text field with filter_projects name.

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-03 13:09:58 +01:00
Rémy Coutable a3f0a176ff Don't show "Welcome to GitLab" when the search didn't return any projects 2016-03-02 11:41:35 +01:00
Dmitriy Zaporozhets 72d02821dd Small css cleanup for todos feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-02-27 11:39:33 +01:00
Douwe Maan 42cbcb2347 "X assigned you Y" instead of "X assigned Y" 2016-02-20 12:01:55 -08:00
Douwe Maan d53ae7f14d Add "Mark all as done" button 2016-02-20 11:59:19 -08:00
Douwe Maan 57d16552ff Include 'issue'/'merge request' in link 2016-02-20 11:53:15 -08:00
Douwe Maan 0e9775816a Rename tab from 'Todos' to 'To do' 2016-02-20 11:52:57 -08:00
Douglas Barbosa Alexandre 3d52e139b1 Rename Tasks to Todos 2016-02-20 12:39:27 -02:00
Douglas Barbosa Alexandre a7dee0ab01 Refactoring TasksHelper 2016-02-20 12:12:05 -02:00
Douglas Barbosa Alexandre d80678c0da Improve tasks page list UI 2016-02-20 12:12:05 -02:00
Douglas Barbosa Alexandre a57bf9bd39 Rename menu item and page 'Task queue' to 'Tasks' 2016-02-20 12:12:05 -02:00
Douglas Barbosa Alexandre 7200989675 Refactoring task queue partials 2016-02-20 12:12:05 -02:00
Douglas Barbosa Alexandre 07eb334c25 Add filters by project, author, type, and action to task queue page list 2016-02-20 12:12:05 -02:00