Commit graph

2111 commits

Author SHA1 Message Date
Steffen van Bergerem
b4e3f84607
Replace main_stream with main-stream 2017-08-31 02:44:47 +02:00
Steffen van Bergerem
d130697ce2
Use Bootstrap 3 progress-bar for polls
closes #7600
2017-08-29 02:17:32 +02:00
Steffen van Bergerem
02d9d350d9
Move person extension for prefills to conversations form view
closes #7599
2017-08-29 02:13:57 +02:00
Steffen van Bergerem
48630b3a04
Fix conversation recipient prefill on contacts page
Use the already available contacts data for the prefill
2017-08-29 02:13:27 +02:00
Steffen van Bergerem
666ada44f1
Fix conversation recipient prefill on profile page
Fixes #7586

Use the already available data about the recipient for the prefill
2017-08-29 02:13:27 +02:00
flaburgan
a358bf7b66
Move the notification to be the first icon on the left
closes #7592
2017-08-29 02:09:51 +02:00
Steffen van Bergerem
98cccda6ea
Remove auto detection of languages with highlightjs
Fixes #7476

closes #7591
2017-08-29 02:07:57 +02:00
Steffen van Bergerem
2bb7d4e067
Use language- prefix for codeblocks as defined in the CommonMark spec 2017-08-29 02:07:10 +02:00
goobertron
51152e140d
Add ignore feature to help section
Fixes #7572
2017-08-29 01:59:51 +02:00
Rete2
b556ad5211
show users vote in poll
closes #7550
2017-08-26 03:16:05 +02:00
Manuel Vögele
0f771dbb10
Remove tiff support from photos
closes #7576
2017-08-26 03:02:51 +02:00
Steffen van Bergerem
ce40ec128f
Fix mixed username and timestamp with LTR/RTL scripts
Fixes #7424

closes #7575
2017-08-26 02:59:24 +02:00
Frédéric Bolvin
398235ee6f
use asset manifest instead of entries in config.assets.precompile
closes #7565
2017-08-26 02:44:41 +02:00
Deus Figendi
e547a89246
fixes #7573 long poll answers
closes #7579
2017-08-25 01:51:31 +02:00
Benjamin Neff
b8149a1fa1
Remove ie.js
Was needed for IE8
2017-08-24 14:56:37 +02:00
Batyr Nuryyev
951a258a3d
no title upon hover on button
closes #7551
2017-08-19 12:39:35 +02:00
ivan sebastian
3016280ef1
add jquery are you sure to comment form
closes #7530
2017-08-19 12:31:24 +02:00
Benjamin Neff
a01cc4dfcb
Merge branch 'release/0.7.0.0' into next-minor 2017-08-17 11:42:11 +02:00
Steffen van Bergerem
fdff13e542
Enable tooltips for comment timeagos
closes #7547
2017-08-17 11:40:56 +02:00
Steffen van Bergerem
6ae2df2f9e
Fix missing timeagos for comments in the single post view 2017-08-17 11:40:49 +02:00
Benjamin Neff
685135474b
Merge branch 'release/0.7.0.0' into next-minor 2017-08-17 03:36:38 +02:00
Steffen van Bergerem
4cb365a6f4
Fix missing photos in the single post view
closes #7545
2017-08-17 03:25:31 +02:00
Steffen van Bergerem
ff9591aee0
Use gender-neutral forms in comments and specs
closes #7544
2017-08-17 00:50:55 +02:00
Benjamin Neff
dd6cbbbb8e
Remove avatar, name, timestamp and interactions from publisher preview
This doesn't add any value in the post preview:
* Avatar is already at the left-hand side of the publisher
* Timestamp is always "less than a minute ago"
* Interactions are disabled in the preview anyway

We don't display these things in the comment preview either, they only
need space and don't add any value to the preview.
2017-08-14 02:21:28 +02:00
Steffen van Bergerem
54d70a87ed
Render mentions in comment previews correctly 2017-08-13 13:50:02 +02:00
flaburgan
21cdc6041d
Private profile 2017-08-13 04:53:53 +02:00
flaburgan
0671a3a60c
Insert an image 2017-08-13 04:53:52 +02:00
flaburgan
b968732941
Make pronto happy (double quote, spacing...) 2017-08-13 04:53:52 +02:00
flaburgan
1e591b041f
Report only spam or illegal content 2017-08-13 04:53:51 +02:00
flaburgan
330e0f1fa1
Add link to discourse 2017-08-13 04:53:47 +02:00
Steffen van Bergerem
04735ce9b0
Remove unused interactions method in post controller 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
ad53a43f88
Remove unused post interactions parse method 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
55349162bd
Fix comment highlightning in the SPV 2017-08-12 18:09:14 +02:00
Steffen van Bergerem
6b162110ce
Add 'show all' links to the SPV to fetch missing likes and reshares 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
6bab65e603
Stop underlining interaction avatars on hover or on focus 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
7bd6825c2a
Fix timeago in the single post view 2017-08-12 18:09:13 +02:00
Steffen van Bergerem
0bfc2fdd77
Load likes and reshares in the SPV via gon 2017-08-12 18:09:13 +02:00
Benjamin Neff
dc92633dab
Merge pull request #7514 from SuperTux88/rails5
Upgrade to rails 5.1
2017-08-12 15:43:15 +02:00
Benjamin Neff
605e292589
Wait for image to be uploaded 2017-08-12 15:39:27 +02:00
Benjamin Neff
b203862ca3
Workaround for bootstrap-sass
The change in assets.rb should be enough, but it doesn't work, because
sprockets `after_initialize` runs before it and initializes sprockets
with unfiltered paths.

But the trick with the underscore works, because bootstrap-sass has
named the file `_bootstrap.scss`, and rails-assets-bootstrap has
`bootstrap.scss`, so with `_bootstrap` it uses the correct bootstrap.
2017-08-12 15:39:26 +02:00
Steffen van Bergerem
7624854495
Merge pull request #7235 from AugierLe42e/md-editor-mobile-view
Markdown editor final chapter: add editor on publisher, comments and conversation of mobile view
2017-08-12 11:56:57 +02:00
Steffen van Bergerem
f4cdec03c7
Remove obsolete conversation and new status message CSS 2017-08-12 11:02:47 +02:00
Steffen van Bergerem
d4ed3bce4d
Remove unnecessary markdown editor CSS 2017-08-12 11:02:46 +02:00
ivan sebastian
b154e9d7f9 support cmd+enter for post submission 2017-08-11 23:33:37 +07:00
Augier
008b899422
Markdown editor on publisher, conversations and mobile comments 2017-08-11 10:51:14 +02:00
Benjamin Neff
280a9e2023
Merge pull request #7523 from svbergerem/improve-adding-posts-to-stream
Improve adding posts to stream
2017-08-11 03:21:48 +02:00
Steffen van Bergerem
ba9a2cbeba
Remove no posts info after rendering with available posts 2017-08-11 02:24:52 +02:00
Steffen van Bergerem
4c7948c7f7
Use id in stream comparator as fallback 2017-08-11 02:24:51 +02:00
Benjamin Neff
43bdebca74
Merge pull request #7522 from svbergerem/fix-autosize-comments-conversations
Call autosize when changing input via markdown editor
2017-08-10 22:31:12 +02:00
Steffen van Bergerem
39110c6b1b Use full width for notification dropdown on small devices 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
8ce76882e3 Replace deprecated visible-* classes 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
635a5c0564 Remove unused check for visible notification badge in notification dropdown view 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
6995ca1fe3 Fix vertical alignment of search bar in the header 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
9c40009ee1 Avoid using fixed vertical margins and paddings in the header 2017-08-10 17:51:01 +02:00
flaburgan
91e0e131a5 Improve colors management 2017-08-10 17:51:01 +02:00
flaburgan
047bb607f3 Do not hardcode image path 2017-08-10 17:51:01 +02:00
flaburgan
0798bfbc8c Refactor ids to classes, reorder css properties, css selectors depth 2017-08-10 17:51:01 +02:00
flaburgan
b995dfd179 Avoid search result dropdown to be hidden 2017-08-10 17:51:01 +02:00
flaburgan
99570c9c07 Responsive header for not connected pages too 2017-08-10 17:51:01 +02:00
flaburgan
569411acb8 Change global menu content on small screen 2017-08-10 17:51:01 +02:00
flaburgan
ae73294f41 Improved responsive header 2017-08-10 17:51:01 +02:00
Steffen van Bergerem
d4bdb2fcb4
Call autosize when changing input via markdown editor
Fixes #7521
2017-08-10 16:42:19 +02:00
Benjamin Neff
eefa6701a8
Merge pull request #7520 from svbergerem/increase-mobile-post-action-size
Include count in mobile post action link and increase reshare counter after reshare
2017-08-10 01:30:39 +02:00
Benjamin Neff
05a4bf262a
Merge pull request #7518 from svbergerem/fix-7245
Prevent publisher from closing in preview mode
2017-08-10 01:27:55 +02:00
Benjamin Neff
c06af05e19
Merge pull request #7516 from Flaburgan/back-to-top-position
Move back to top to the right to avoid misclicks
2017-08-10 01:26:28 +02:00
Steffen van Bergerem
bc0088eb47
Increase mobile reshare counter after reshare 2017-08-10 01:16:53 +02:00
Steffen van Bergerem
18256f3709
Include count in mobile post action link (reshare, comment and like) 2017-08-10 01:16:53 +02:00
Steffen van Bergerem
dc828e0e5a
Prevent publisher from closing in preview mode
Fixes #7245
2017-08-09 22:12:00 +02:00
cmrd Senya
621d269760
MD editor coversations&comments: refactorings
Javascript refactorings for better maintainability:
* simplePreview function to avoid code duplication
* Preloaded conversation is processed in a slightly different way
* Split isPreviewOrTexareaNotEmpty function since it has more than one responsibility
2017-08-09 21:49:25 +02:00
cmrd Senya
8f4498506d
Fix autosize for the textarea in conversations
We need to reinit autosize when we navigate in conversations with the backbone router.
2017-08-09 20:35:23 +03:00
Augier
7b711254a5
Fix CSS and blur on commant submission 2017-08-09 20:35:23 +03:00
Augier
fd39a48bea
Add markdown editor on conversations and comments 2017-08-09 20:35:23 +03:00
flaburgan
62fa43b222 Move back to top to the right to avoid misclicks 2017-08-08 13:01:58 +02:00
Benjamin Neff
1360dd4207
Fix require favico.js
See rails/sprockets#169
2017-07-30 04:47:16 +02:00
Benjamin Neff
7e9935c8b2
Replace jquery-ui-rails with rails-assets-jquery.ui 2017-07-23 00:31:05 +02:00
Benjamin Neff
3817dc9a5b
Merge pull request #7480 from Flaburgan/7402-space-comment-mobile-spv
Fix height too high on mobile SPV, closes #7402
2017-07-13 02:31:07 +02:00
Benjamin Neff
bc663253d2
Merge branch 'next-minor' into develop 2017-07-07 09:02:19 +02:00
Dennis Schubert
e47895f3e1
Center .excellence-box contents
closes #7481
2017-07-07 09:01:34 +02:00
flaburgan
9146c8d80f Fix height too high on mobile SPV, closes #7402 2017-07-05 17:19:20 +02:00
Benjamin Neff
58609e42d7
Merge branch 'next-minor' into develop 2017-07-05 02:10:24 +02:00
flaburgan
ddda28102c
Clean up the footer links a bit
closes #7446
2017-07-05 01:59:18 +02:00
flaburgan
07d0ed916d
Fix design issues + pronto
closes #7295
2017-07-05 01:51:07 +02:00
flaburgan
2782edc780
Refactor partials + pronto 2017-07-05 01:50:16 +02:00
flaburgan
a7d97b7fd3
Add mobile message confirmation on user invit action, Refactor admin responsive code to use bootstrap grid
Hide pod version alert only in the mobile version, not depending on screen size
2017-07-05 01:50:16 +02:00
SansPseudoFix
5cb4c6e5df
Refactor, more partials + No version check for mobile 2017-07-05 01:50:16 +02:00
SansPseudoFix
276b640418
Add admin views to mobile, use partials for common code with desktop 2017-07-05 01:50:10 +02:00
Benjamin Neff
d71aa6a54a
Merge branch 'next-minor' into develop 2017-07-03 03:46:54 +02:00
atulonruby
df1139234f
Warn user if he leaves profile editing page #6520
closes #7473

closes #6589
2017-07-03 03:45:57 +02:00
Benjamin Neff
e463397122
Merge branch 'next-minor' into develop 2017-05-16 00:37:06 +02:00
cmrd Senya
6abd0509f9
Use guid instead of id at permalink and in SPV
This changes links from /posts/:id to /posts/:guid where the links are
not clicked very often. ID search is faster than guid search so we can't
change it everywhere, but these links are not very useful for clicking,
but can be used for easier guid look up.

closes #7453
2017-05-16 00:36:43 +02:00
Benjamin Neff
064fc3cc45
Merge branch 'next-minor' into develop 2017-05-05 02:30:56 +02:00
Steffen van Bergerem
fc28d6af35
Fix first comment in mobile view with french locale
Fixes #7438. The regression has possibly been introduced by #7207.

closes #7441
2017-05-05 02:26:22 +02:00
Steffen van Bergerem
7f784cf2b1
Merge branch 'next-minor' into develop 2017-05-03 02:09:07 +02:00
Benjamin Neff
9e36f0201c
Initialize timeago only after language is set
closes #7419
2017-05-03 02:08:57 +02:00
cmrd Senya
87ed561d45
bump rails-timeago
Here we also set autoDispose to false. This is an option that was introduced
sometime after our last bump. Default is true and it disposes timeago object
if it is not in DOM. But that is the way we initialize timeago objects, therefore
if we have autoDispose=true then they will be disposed before they inserted in DOM.
So by using autoDispose=false we enforce previous behavior that worked fine for us.
2017-05-03 02:08:50 +02:00
Benjamin Neff
caaea50cf6
Merge branch 'next-minor' into develop 2017-04-26 22:18:02 +02:00
pskosinski
afef279aff
Fix untranslatable photo upload button's hover text
closes #7429

fixes #7427
2017-04-26 22:17:44 +02:00
Benjamin Neff
e91a0a57a3
Merge branch 'next-minor' into develop 2017-04-08 00:00:56 +02:00
Steffen van Bergerem
3971a24d68
Add avatar fallback for avatar next to publisher
closes #7414
2017-04-08 00:00:45 +02:00
Steffen van Bergerem
bf105db297
Use setupAvatarFallback in tags and notification dropdown view 2017-04-08 00:00:12 +02:00