Benjamin Neff
7d6623d069
Remove contacts page on profiles
...
closes #7769
2018-04-12 01:40:49 +02:00
Benjamin Neff
3fafcd9307
The diaspora ID validator now validates if it is lowercase
...
Relaying relayables will fail with non-lowercase authors.
closes #7625
2017-09-28 23:08:41 +02:00
Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Benjamin Neff
150fea6edb
Replace render nothing: true with head
2017-08-12 15:39:22 +02:00
Benjamin Neff
80c241bc7a
Replace redirect_to :back with redirect_back
...
Also remove some unused html responses
2017-08-12 15:39:22 +02:00
Benjamin Neff
459ebffa6e
Start background search with gon
2016-09-28 21:59:08 +02:00
Steffen van Bergerem
806de7e9d8
Exclude closed accounts from search
...
closes #7042
2016-09-04 03:22:58 +02:00
Denis Hovart
bcace2def2
6840 : meta tags update ( #6998 )
...
* Adds a new metadata helper and methods to PostPresenter to have metas on post pages.
* Adds tests to post controller to check correctness of metas
* Add methods to PersonPresenter to have metas on profile pages
* Correct meta data helper test
* Update PersonPresenter, add test to PeopleController
* Creates TagPresenter. Display tag metas on tag index page
* Updata meta data helper spec
* Not displaying bio as the description meta on profile page for now. Privacy concerns to be cleared.
* Set meta info as hashes in presenters
* Move original hardcoded metas info to config/defaults.yml
* metas_tags include by default the general metas, update views
* Update code style, clean views
* Renames TagPresenter StreamTagPresenter, updates TagController spec
* Add a default_metas entry to diaspora.yml.example
* Align metas hash in presenters, refactor meta data helper
* Use bio as description meta if user has a public profile
* Rename StreamTagPresenter to TagStreamPresenter
2016-08-18 21:52:39 +02:00
Steffen van Bergerem
34e3fb2e14
Merge pull request #6991 from cmrd-senya/dropdown-regression
...
Fix aspect dropdown when person is being fetched
2016-08-18 10:07:35 +02:00
cmrd Senya
6fba0e498e
Use diaspora_id validation from the federation gem
...
DRY
2016-08-16 12:08:06 +03:00
cmrd Senya
4b3f36e92a
Fix aspect dropdown when person is being fetched
...
fix #6989
2016-08-15 23:43:24 +03:00
Benjamin Neff
23541546e9
Allow hovercards of remote people when not logged in
...
In #6603 hovercards were activated for logged out users, but they only
worked for local people. Hovercards on remote-people are important to
get the diaspora-id to search the person on the local pod, if you don't
know who it is.
2016-08-15 01:33:26 +02:00
cmrd Senya
a3f208c380
Notifications and search page backend updates
...
Updates introduce support for preloading contacts to Gon in order
to support client-side rendering of aspect membership dropdown box.
2016-08-08 17:21:38 +03:00
cmrd Senya
82ac611396
Client-side rendering of aspect dropdown for hovercards
2016-08-08 17:21:30 +03:00
cmrd Senya
923fb8a763
Refactor app.views.AspectMembership
...
in order to support adding new aspect to a dropdown without full
page reload
2016-08-08 17:21:14 +03:00
cmrd Senya
15e0f88758
Rename photos[:count] to photos_count in gon
2016-08-08 17:19:26 +03:00
cmrd Senya
d8687ccb3a
Rename contacts[:count] to contacts_count in gon
2016-08-08 17:19:19 +03:00
Steffen van Bergerem
89f21e87f8
Remove unused code
2016-02-14 02:48:51 +01:00
Jonne Haß
434deaa75a
Merge branch 'stable' into develop
2015-12-29 13:07:08 +01:00
Steffen van Bergerem
f3e897ab43
Activate hovercards for logged out users
...
closes #6603
2015-12-29 13:07:03 +01:00
Jonne Haß
0508c1b8d4
Merge branch 'stable' into develop
2015-09-14 22:06:52 +02:00
Steffen van Bergerem
05a6d95811
Always show public photos
...
closes #6398
2015-09-14 22:04:53 +02:00
Jonne Haß
d396d5555f
Merge branch 'stable' into develop
2015-08-21 14:23:46 +02:00
Benjamin Neff
d28e03f053
use discovery from diaspora_federation gem
2015-08-21 14:21:43 +02:00
cmrd Senya
7a5a0a909a
Allow extended profile fields (previously private profile) to be set public ( #5684 ).
...
This adds a new boolean field "public_details" to person model.
By default it is false and represents old behaviour. When it is
set to true, extended profile (bio,location,gender,birthday)
get available to people who didn't log into diaspora and to
people you don't share with (i.e. it is made public).
In UI, a bootstrap-switch added on the profile-edit page in order to
change the setting.
This also changes wording from public/private profile to basic/extended.
The latter could be public and limited.
2015-07-11 04:36:45 +03:00
Steffen van Bergerem
a6b9c6c057
Return 406 on people/guid/contacts, format json
2015-04-04 03:48:44 +02:00
Steffen van Bergerem
176938c486
Fix layout regression: missing header on search page
2015-03-28 13:54:52 +01:00
Steffen van Bergerem
3a202d8fa9
Remove footer from stream and profile pages
2015-03-26 16:28:01 +01:00
Steffen van Bergerem
d9bf4a2fa6
Remove layout 'centered_with_header_with_footer'
2015-03-18 21:59:56 +01:00
Steffen van Bergerem
d2222a97e5
Fix photo count in the profile view
2015-03-10 11:38:49 +01:00
Steffen van Bergerem
e188782a9a
Remove blueprint code
2015-03-02 00:04:57 +01:00
Jonne Haß
f326b58d31
Merge pull request #5664 from svbergerem/remove-people-last_post
...
Remove last_post from PeopleController
2015-02-15 15:58:02 +01:00
Lukas Matt
a475d5fb62
Add the ability to link to remote user profile
...
related to diaspora/jsxc#77
2015-02-13 19:23:26 +01:00
Steffen van Bergerem
2193ff2b58
Remove last_post from PeopleController
2015-02-13 12:25:50 +01:00
Faldrian
43fd6e7ed6
Set refresh_search async searchresults load to use bootstrap
2014-12-20 03:58:20 +01:00
Steffen van Bergerem
d04cf7046b
Fix pagination for people/guid/contacts
2014-10-07 10:55:58 +02:00
Steffen van Bergerem
976ff0fcda
Redesign profile page and port to Bootstrap
2014-10-01 12:28:56 +02:00
Florian Staudacher
6e1bd7216d
fix /u/[username] route
2014-09-18 00:23:43 +02:00
Florian Staudacher
89d468cdcc
first round of specs and code cleanups/fixes
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ß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
Niall Paterson
f33038f105
updated before_filters to before_actions as recommended for rails 4
2014-08-23 16:34:01 +02:00
Steffen van Bergerem
f615ad3115
Port people search to Bootstrap
2014-07-20 18:21:13 +02:00
Erwan Guyader
f92dd85748
Set sharing notification as read
...
Fix issue #4951
If the displayed user (on her profile) started sharing with the
current user, mark the notification as read
2014-06-20 10:55:17 +02:00
Steffen van Bergerem
eabdc7390c
Port aspect membership dropdown and hovercards
2014-03-19 17:54:22 +01:00
Jonne Haß
554d0a93d0
Do not leak photos in the profile sidebar
2013-08-20 20:56:37 +02:00
Steffen van Bergerem
f22b4d7da7
Change contact list on profile page
2013-08-19 14:02:08 +02:00