Douwe Maan
0d1c260122
Fix event cache
2015-08-10 12:31:34 +02:00
Douwe Maan
9bd074d4cf
Use display: inline where appropriate
2015-08-06 14:55:03 +02:00
Douwe Maan
c015f96ba4
Cache all events
2015-08-06 13:15:33 +02:00
Valery Sizov
4466f25dd5
revert cache for events
2015-07-23 10:47:39 +03:00
Dmitriy Zaporozhets
3e97051bce
Fix missing avatar in event feed when created project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-07-10 13:33:08 +02:00
Dmitriy Zaporozhets
b76659c537
Re-use event cache with other users unless its personal
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-30 15:34:16 +02:00
Dmitriy Zaporozhets
7a7c6b469b
Fix text align in last push event
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2015-06-15 14:54:41 +02:00
Robert Speicher
e860dedd1c
Push event: Nest link in strong tag, not vice-versa
...
Closes #1022
2015-06-02 15:05:44 -04:00
Douwe Maan
9a60441ce4
Fix Atom feeds.
2015-05-21 11:39:33 +02:00
Douwe Maan
ac3d472ff4
Fix push event.
2015-05-15 12:11:16 +02:00
Douwe Maan
cd52cef1c0
Fix reference links in dashboard activity and ATOM feeds.
2015-05-14 13:05:33 +02:00
Douwe Maan
722e393589
Add Create Merge Request buttons to commits page and push event.
2015-05-09 22:26:52 +02:00
Douwe Maan
0cf76a0b70
Use Projects::CreateService to fork projects so that after-create hooks are run.
2015-04-24 22:58:27 +02:00
Douwe Maan
4740242a67
Change text of project creation event for imports.
2015-04-06 14:51:41 +02:00
Douwe Maan
9d938fd77d
List new commits for newly pushed branch in activity view.
2015-03-18 14:28:50 +01:00
Douwe Maan
e4ac6bbf82
Merge branch 'atom-xhtml-squashed' into 'master'
...
Fix invalid Atom feeds when using emoji, horizontal rules, or images
This is a fix for issues #880 , #723 , #1113 .
Markdown must be rendered to XHTML, not HTML, when generating summary content for Atom feeds. Otherwise, content-less tags like *img* and *hr* are not terminated and make the Atom XML invalid. Such tags are generated when issue descriptions, merge request descriptions, comments, or commit messages use emoji, horizontal rules, or images.
To pass this option through from the relevant Haml templates to the proper place in the `gfm()` method, a new method `gfm_with_options()` is introduced. It reuses the options dictionary passed to `markdown()` and interprets options `xhtml` and `parse_tasks` from it (the latter was a convenient replacement for `gfm_with_tasks()`). `xhtml` is already interpreted by Redcarpet::Render::HTML, but that alone was not sufficient, because the post-processing in `gfm()` would convert its XHTML tags back to HTML.
I found no way of passing additional optional options to the existing `gfm()` method without requiring updates to existing callers and without getting in the way of the existing optional arguments, but maybe someone who knows more about Ruby than I can think of one.
Thorough review appreciated since this is the first time I have used Ruby.
See merge request !344
2015-03-17 08:38:38 +00:00
Christian Walther
90aa870c36
Fix invalid Atom feeds when using emoji, horizontal rules, or images.
...
Fixes issues #880 , #723 , #1113 : Markdown must be rendered to XHTML, not HTML, when generating summary content for Atom feeds. Otherwise, content-less tags like <img> and <hr>, generated when issue descriptions, merge request descriptions, comments, or commit messages use emoji, horizontal rules, or images, are not terminated and make the Atom XML invalid.
2015-03-16 22:05:52 +01:00
Dmitriy Zaporozhets
30ca451fd4
Refactor buttons
2015-03-14 00:29:32 -07:00
Dmitriy Zaporozhets
d36ee3190a
Add starred projects page to dashboard
2015-03-09 14:12:03 -07:00
Douwe Maan
0283fff591
Merge branch 'master' into extend_markdown_upload
...
# Conflicts:
# app/views/projects/issues/_form.html.haml
# app/views/projects/merge_requests/_form.html.haml
# app/views/projects/merge_requests/_new_submit.html.haml
# app/views/projects/milestones/_form.html.haml
# app/views/projects/notes/_form.html.haml
# app/views/projects/wikis/_form.html.haml
# config/routes.rb
# spec/controllers/projects_controller_spec.rb
2015-02-24 14:54:39 +01:00
Douwe Maan
4ef6ffaad3
Split up AttachmentUploader.
2015-02-20 15:19:50 +01:00
Vinnie Okada
9e9ce95d62
Merge branch 'master' into rails-4.1.9
...
Conflicts:
app/views/dashboard/_project.html.haml
app/views/events/event/_common.html.haml
app/views/explore/projects/_project.html.haml
app/views/groups/_projects.html.haml
app/views/projects/_home_panel.html.haml
app/views/projects/_issues_nav.html.haml
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_issues.html.haml
app/views/projects/issues/show.html.haml
app/views/projects/merge_requests/_discussion.html.haml
app/views/projects/merge_requests/_show.html.haml
app/views/projects/milestones/index.html.haml
app/views/projects/notes/_edit_form.html.haml
app/views/shared/_issuable_filter.html.haml
2015-02-19 20:53:05 -07:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Douwe Maan
67afb5b145
Make sure twitter widgets are loaded when rendered through turbolinks.
2015-02-14 13:32:05 +01:00
Douwe Maan
9efb838be2
Change tweet text.
2015-02-14 13:31:46 +01:00
Douwe Maan
ce08f919bf
Add link to share via twitter to "created project" event.
2015-02-13 12:07:59 +01:00
Douwe Maan
522efa43fe
Refactor event title generation for more consistent messages.
...
Example: "User joined project Namespace / Project" rather than "User joined project at Namespace / Project"
2015-02-13 12:02:58 +01:00
Hannes Rosenögger
792ced2f41
Add a commit calendar to the user profile
2015-01-29 01:25:26 +01:00
Dmitriy Zaporozhets
0189be0831
Use short_id instead of [0..N] for short version of commit sha
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-10-10 15:39:48 +03:00
Sullivan SENECHAL
5d8be4438a
Upgrade to Font Awesome v4.2
2014-10-03 12:19:24 +02:00
Dmitriy Zaporozhets
6485570482
Increase atom feed test coverage. Prevent 500 error if description is missing
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-20 11:55:58 +03:00
Matthew McMillion
afc5b7110f
Fix missing links and incorrect display of issue numbers for notes, comments, and merge requests
2014-07-26 12:43:04 -05:00
Dmitriy Zaporozhets
119b02877d
Merge branch 'bugfix/305/dashboard_feed_summaries' into 'master'
...
Incorporate Summaries for Notes and Merge Requests Into Dashboard Feed
This MR fixes #305 by adding summaries for notes and merge requests into the dashboard feed.
2014-07-02 07:00:16 +00:00
Kyle Fazzari
1f976a646d
Updated ATOM feed partials to use markdown instead of simple_format.
2014-07-01 06:29:58 -07:00
Dmitriy Zaporozhets
f881e43677
Merge pull request #7024 from skv-headless/linkto_issues_on_main_dashboard
...
links to issues on main dashboard
2014-06-11 15:02:48 +03:00
Kyle Fazzari
c1b1c32196
Add summaries for notes and merge requests to dashboard feed.
...
This fixes #305 .
2014-05-29 07:55:55 -07:00
Dmitriy Zaporozhets
c456231690
Use css truncation on dashboard
2014-05-26 23:26:41 +03:00
skv and GitLab
9c046fea67
links to issues on main dashboard
2014-05-26 13:24:21 +00:00
Javier Castro
556ae5ae81
Temporary fix for #4305 : Cant preview attached png images on notes; attachment.secure_url returns an url which is accessible
2014-01-14 12:06:53 -03:00
Dmitriy Zaporozhets
9a31844e2a
Remove unnecessary ago keyword
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-30 14:49:22 +02:00
Dmitriy Zaporozhets
9a7e2399dd
Use jquery timeago plugin
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-30 14:38:42 +02:00
Drew Blessing
fa817dffea
Add time ago tooltips to show actual date/time
...
Clean up admin dashboad tooltips
Clean up admin dashboad tooltips
Clean up admin dashboad tooltips
Add helper method
change to use app helper
Modify tooltips to use new helper
Convert remaining times
Adjust one tooltip
2013-12-14 15:24:12 -06:00
Dmitriy Zaporozhets
0cd2ea88b3
Dashboard avatars: No need to load 40px images if we render them in 24px
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-11 16:09:23 +02:00
Dmitriy Zaporozhets
33aea41708
Drop rjs from Infinite scrolling
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-28 11:38:20 +02:00
Dmitriy Zaporozhets
844f8fd213
Show only first line of commit message on dashboard
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-11-01 09:36:59 +02:00
Dmitriy Zaporozhets
e8d1e827d8
Remove unnecessary tag
2013-10-10 12:14:21 +03:00
Steven Thonus
65cad57a35
avatar upload on profile page
2013-10-09 09:05:09 +02:00
Dmitriy Zaporozhets
13fec18ac9
Truncate some text from dashboard events
2013-09-11 22:46:37 +03:00
Dmitriy Zaporozhets
94d364e8cc
UI fixes for commits lists
2013-09-10 13:15:49 +03:00
Dmitriy Zaporozhets
395f3a1d20
Merge branch 'feature/internal_ids' of /home/git/repositories/gitlab/gitlabhq
2013-08-20 19:30:38 +00:00