Steffen van Bergerem
8a02bc6e71
Redesign error pages
2015-09-25 22:24:04 +02:00
theworldbright
2a3dde1ae5
Refactor PostService and extract its tests
...
Squashed commits:
[ada0f09] Remove favorites from Posts table
closes #6208
2015-07-26 13:10:24 +02:00
theworldbright
d724397168
Refactor posts controller
2015-07-26 12:58:42 +02:00
Steffen van Bergerem
d9bf4a2fa6
Remove layout 'centered_with_header_with_footer'
2015-03-18 21:59:56 +01:00
Steffen van Bergerem
e188782a9a
Remove blueprint code
2015-03-02 00:04:57 +01:00
Jonne Haß
da9c1db14f
before_action
2014-08-23 16:38:57 +02:00
Niall Paterson
f33038f105
updated before_filters to before_actions as recommended for rails 4
2014-08-23 16:34:01 +02:00
Erwan Guyader
126252d47a
Add test for mention notifications
2014-06-20 01:23:53 +02:00
Erwan Guyader
48a3909fe0
Set mention notification as read when viewing post
...
- If a mention for the current user and the displayed post exists,
mark it as read
- Use set_read_state instead of manually setting unread as false
2014-06-19 00:15:55 +02:00
Steffen van Bergerem
f217a5bc11
Add filters to notifications controller
2014-03-19 17:54:22 +01:00
Fabian Rodriguez
92db8cb929
remove #next and #previous from posts_controller
2013-12-01 20:55:48 -02:00
Jonne Haß
0012a82f48
add the footer to the SPV
2013-08-22 09:56:36 +02:00
flaburgan
d63dc9f0a5
Add images, fix layout rendering
2013-08-22 09:56:34 +02:00
flaburgan
abba8d8dfc
Add header to the single post view
2013-08-22 09:56:34 +02:00
Jonne Haß
3fc3b249e7
End the require mess
...
* Rename and reorganize post fetcher to fix autoloading, also let it use
Faradays default connection so we get nice redirects
* Add initializer to load libs at a central place
* added lib dir to autoload_once paths to increase thread safety
* Moved lib/exceptions.rb to lib/diaspora/ to conform namespacing
2013-03-21 23:37:53 +01:00
Jonne Haß
ffc6c1102e
dry up and modularize layouts
2013-03-06 19:00:34 +01:00
movilla
c1b858a877
Mark all unread post-related notifications as read, if one of this gets opened
2012-12-24 00:13:32 +01:00
movilla
554fe40235
Web mobile notificacions count dont change to unread-read when click in link post
2012-11-11 14:45:07 +01:00
Braulio Martinez
3260bada38
Remove posts#new action from Rails and related tests
2012-11-07 23:14:35 -02:00
Gonzalo
7e0c8bdf68
Remove unreachable line of code
2012-10-15 20:25:10 -02:00
Jonne Haß
ab0ad630df
strip last beta leftovers and fix syntax errors, travis is kinda down, lets hope nothing breaks while I sleep
2012-09-12 05:48:12 +02:00
Jonne Haß
ffde639f4d
Merge branch 'betastrip' of git://github.com/DeadSuperHero/diaspora
2012-09-12 04:55:10 +02:00
Sean Tilley
49ea8c8563
Strip Beta Features
2012-09-11 21:52:53 -05:00
movilla
c0c568365a
Fix blank page 404 on mobile
2012-09-04 00:09:45 +02:00
Florian Staudacher
8ca39f5936
show a "post is not public" message when visitor is not logged in
...
and tries to access a show page of a non-public post
2012-06-07 22:16:37 +02:00
David Morley
d3b5e330b3
allow interactions to be viewed on public posts when not logged in
2012-06-03 21:49:08 -03:00
Maxwell Salzberg
133c9ee0c3
remove deprecation warnings about the template handler in rails 3.2
2012-05-17 18:23:39 -07:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Dennis Collinson
f6e3c1b88b
seperate interactions from posts
...
Lazily load post interactions on show page
hella refactorz
2012-05-12 17:41:58 -07:00
Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Maxwell Salzberg
eaedfc9827
create a new publisher using the new composer. only for beta users
2012-05-09 16:55:33 -07:00
Benjamin Neff
1bc1dc4334
Fix new publisher if user is beta
2012-05-09 03:33:50 +02:00
Dennis Collinson
bd6a9cfe00
next and previous now return post as json
...
clean up controller
2012-05-05 16:41:16 -07:00
Dennis Collinson
0fc399243b
fix next post and previous post, more efficient
...
make controller actions
make the presenter reflect that it is instance data ;-p
needs tests lol.
2012-05-04 18:25:09 -07:00
Dennis Collinson
4253796f55
preload post on post show
2012-05-04 16:55:09 -07:00
danielgrippi
75d25e9475
users can now favorite posts
2012-04-22 12:06:15 -07:00
Maxwell Salzberg
8b50f80875
be pedantic in posts show as maybe certain crawlers are being greedy as to what formats they can accept
2012-04-19 20:07:14 -07:00
Maxwell Salzberg
ab48ca260b
kinda ugly hack for ports in url with iframes
2012-04-18 16:12:57 -07:00
Maxwell Salzberg
c9e3852de8
oembed mostly works
2012-04-18 16:12:56 -07:00
Maxwell Salzberg
90a2f05515
include an iframe route, for posts, and a magic body padding removal for screens with small widths (for some reason, smaller than 770
2012-04-17 22:28:01 -07:00
danielgrippi
59917e95ab
update feature_flagger to have access to current user
2012-04-04 19:35:53 -07:00
Steven Hancock
6abe718227
Mobile UI fixes
...
This fixes issues with mobile UI rendering
Issues fixed:
* vendor/bootstrap.css and vendor/bootstrap-responsive.css need to
be precompiled for the mobile UI to render properly
* Rails 3.1 is more strict about layout fallbacks, the single-post
view in the mobile UI needs to have the "application" layout
specified to render properly
2012-03-29 05:52:45 -07:00
Dennis Collinson
09f40c8684
Feature Flag new publisher
2012-03-27 15:28:30 -07:00
Dennis Collinson
1ec2b73d59
DG DC remotipartjarvascripts
2012-03-27 14:52:51 -07:00
Dennis Collinson
37bf5c5aee
REMOTIPART WIP
2012-03-27 14:52:51 -07:00
Dennis Collinson
ab35f2bf3d
MS DC posts/new page init
2012-03-27 14:51:40 -07:00
danielgrippi
f31418feb3
pjax clicking on nav arrows; move author header into backbone land; comment out comment form for now
2012-02-21 15:23:29 -08:00
danielgrippi
30de08b340
fix post presenter / arrow ordering
2012-02-21 15:23:28 -08:00
danielgrippi
1c4a689af7
DG MS; added a new layout for post pages.
2012-02-21 15:23:27 -08:00
danielgrippi
ff875a5b3c
DG MS; determine what template to use on the client from the server
2012-02-21 15:23:27 -08:00