Steffen van Bergerem
3298373a7f
Add missing http:// to urls
2015-03-09 01:42:40 +01:00
Steffen van Bergerem
2a52f65160
Bump markdown-it
2015-03-06 20:40:06 +01:00
Steffen van Bergerem
7112cb112b
Add hovercards for mentions
2015-02-11 00:46:00 +01:00
Steffen van Bergerem
3312f97981
Fix timeago for notifications, add 'no notifications yet' message
2015-02-09 03:56:37 +01:00
Steffen van Bergerem
ab6732cac1
JSHint eqeqeq
2015-02-08 23:41:32 +01:00
Steffen van Bergerem
a9a480da0a
JSHint semicolon errors
2015-02-08 23:41:31 +01:00
Steffen van Bergerem
6b0a5823e3
Add JSHint javascript linter
2015-02-08 23:41:31 +01:00
Steffen van Bergerem
b63d8fc679
Fix markdown-it linkify blocking Firefox
2015-01-19 02:09:10 +01:00
Steffen van Bergerem
61c17c7896
Add more markdown-it plugins
...
activate sanitizer, sub and sup
2015-01-13 03:41:06 +01:00
Steffen van Bergerem
026773194a
Replace pagedown by markdown-it
2015-01-10 18:56:20 +01:00
Steffen van Bergerem
9de6a26a22
Port contacts page to backbonejs
2015-01-04 17:13:18 +01:00
Jonne Haß
9d5e1f604d
Make app.helpers.truncate tolerant to null and undefined
2014-12-04 16:45:00 +01:00
Faldrian
29f55f42b6
truncate long opengraph description to 250 chars in mobile and stream view
2014-11-29 17:18:01 +01:00
Paul Hill
ac4607d75c
LibreJS should work with most of the site
2014-10-21 02:48:18 +01:00
Jonne Haß
4e6eacbeb1
Update _.template calls to undscore.js 1.7
2014-10-14 15:04:01 +02:00
Steffen van Bergerem
976ff0fcda
Redesign profile page and port to Bootstrap
2014-10-01 12:28:56 +02:00
Florian Staudacher
10609c3692
fix jasmine and add some specs for direction detection
2014-09-15 01:37:23 +02:00
Florian Staudacher
1f724dd123
* add a (hash)tag helper for handlebars
...
* re-add stream on profile page
* more controller refactoring
2014-09-15 01:37:23 +02:00
Florian Staudacher
2572fb77fc
* refactored text direction detector into helper (also for handlebars)
...
* added handlebars helper for markdown formatting
* finished port of profile sidebar view to handlebars template
* people_controller refactoring
2014-09-15 01:37:23 +02:00
Florian Staudacher
9a16560d8d
* rename profile header view to make name more accurate
...
* include 'js-routes' for rails routes in javascript
(TODO: config options?)
* add handlebars helper for rails routes
2014-09-15 01:37:23 +02:00
Florian Staudacher
fba3092c61
* cleanup people_controller#show, add people_controller#stream for json
...
* introduce new presenters and extend the functionality of the BasePresenter
* add a handlebars template for the profile sidebar, render it everytime we need to update
* introduce a 'aspect_membership:update' global event
2014-09-15 01:37:23 +02:00
Jonne Haß
5da86def06
bump handlebars_assets
2014-09-01 11:44:34 +02:00
Jonne Haß
462198799b
Dynamic asset paths everywhere
...
* Use asset pipeline aware helpers in CSS files
* Add js_image_paths to push image asset names to the client side JS
2014-08-28 21:04:29 +02:00
Hincu Petru
552310796c
Catch error from decodeURI for prevent crash in posts parsing
2014-03-31 20:24:47 +00:00
Hincu Petru
694dc7d80b
Check if the hashtag is a link in function .hashtagify
2014-03-16 11:59:49 +00:00
Florian Staudacher
39810e6196
decode URLs before processing them ( fixes #4507 )
2013-09-21 15:23:30 +02:00
Fábián Tamás László
176c6826e0
opengraph POC
...
Fixed small-frame opengraph view
Fixed incompletely saved OpenGraphCache bug
2013-08-04 15:42:29 +02:00
Braulio Martinez
c651cbab78
Always redirect user to downcase version of tags on UTF-8 encoding
2013-04-10 00:08:58 -03:00
Asphyxia
b91ed859a1
Hovering a Timeago-String should show the Timestamp
2013-01-31 13:43:37 -03:00
Jonne Haß
beb32ce91f
hovercards everywhere (comments, likes, top left sidebar stream summary thingy...)
...
Say a word if you think it's getting too much...
2013-01-01 22:59:12 +01:00
Florian Staudacher
0092acd492
re-add hovercards
...
* added a presenter for hovercard json
* added new backbone view for handling hovercard JS
* refactoring of PeopleController
* finished the backbone js version of hovercards
* don't try to make people_controller more restfull, out of scope
just add a new route and use that for hovercard json
* added spec for people_controller#hovercard
* add new exception for "AccountClosed" to be able to raise from anywhere
* removed legacy code, since everything got ported to backbone
(except the "cache" stuff, but that's not strictly necessary)
2012-12-28 22:37:13 +01:00
Florian Staudacher
ded69477ba
replace the monstrous link regex with a slightly less complicated one,
...
based on the one from the markdown parser, fixes #3553
adding a list of urls for testing the regex in the specs
2012-10-11 23:39:44 +02:00
Jonne Haß
3dbbbbe979
bump jasmine and handlebars_assets, postfix all handlebars templates with _tpl to avoid name clashes
2012-09-12 21:22:34 +02:00
Florian Staudacher
1a94a24fde
fix autolinking links that start with just www... and not a complete http://...
...
(fixes #3468 )
2012-08-09 13:09:06 +02:00
Florian Staudacher
6613522097
implement "special symbols" (switch certain strings for utf-8 symbols), fixes #3140
2012-08-08 00:26:20 +02:00
Florian Staudacher
8d512c22ac
fix markdown linking of images, also improve tests grammatically
...
+ 1 js syntax error
2012-08-07 23:53:24 +02:00
Maxwell Salzberg
d3487c8b7d
fix sa mall possible xss in personImage handlebar helpers if the attacker had access to your root domain. fixes #3392
2012-06-16 14:59:51 -07:00
danielgrippi
777c037e16
kill rich-media type with fire
2012-05-21 12:33:28 -07:00
Dennis Collinson
efa79a4ad7
Refactor Post Presenter
...
and comment presenter
2012-05-10 12:24:21 -07:00
Florian Staudacher
4385027443
small js fixes
...
closes #3106 - hardening url handling,
fixes #2725 - backport from upstream
2012-04-18 19:59:34 +02:00
Florian Staudacher
fe130caf10
moved non-ascii url markdown tests to text_formatter_spec, added test case + fix
2012-04-16 23:41:05 +02:00
Dennis Collinson
d767410e6d
mentions are clickable in framer
2012-04-11 18:34:12 -07:00
Maxwell Salzberg
9c9562d0fd
fix http urls with 3 slashes
2012-04-04 19:08:36 -07:00
danielgrippi
39d688044d
DG DC; visual fixups
2012-04-04 18:59:19 -07:00
Raven24
5ad38a5372
damn my brain!
2012-03-30 01:50:21 +03:00
Florian Staudacher
ae3e225e28
finally (hopefully) fix non-ascii urls + new & old tests
2012-03-30 00:29:34 +02:00
Steven Hancock
1aa0b15c8c
Move Javascript to the asset pipeline
...
* Move all Diaspora-specific javascripts to app/assets/javascripts
* Move all vendored javascripts to vendor/assets/javascripts
* Add the appropriate Sprockets require directives to make sure
everything gets included in the right order
* Remove Jammit dependencies
* Fix all templates that were using Jammit's include_javascripts helper
* Add handlebars_assets gem for compiling Handlebars templates
* Move all Handlebars templates to app/assets/templates and rename
from .handlebars to .jst.hbs (this is to keep them in the same
global JST namespace that they were in under Jammit)
* Add public/assets to .gitignore since these files can and should
be re-generated by Heroku or Capistrano during each deploy
* Fix a few Handlebars templates that were looking for images in the
wrong location (I'm sure there are others, but it's late)
* Configure application.rb to precompile all javascript and css assets
that were compiled by Jammit in the Rails 3.0 code
2012-03-27 18:07:44 -07:00