Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Rete2
b556ad5211
show users vote in poll
...
closes #7550
2017-08-26 03:16:05 +02:00
Steffen van Bergerem
5808b84e83
Only include at most 30 likes and reshares on pageload in the SPV
2017-08-12 18:09:14 +02:00
Steffen van Bergerem
05d19e69ee
Move ExtremePostPresenter methods into PostPresenter, add #with_initial_interactions method
2017-08-12 18:09:12 +02:00
Dennis Schubert
1e06fd786c
Merge branch 'next-minor' into develop
2017-05-21 12:06:41 +02:00
Benjamin Neff
e177706769
Add admin account username to NodeInfo metadata
...
Fixes #7421
closes #7447
2017-05-21 12:06:35 +02:00
Benjamin Neff
7934c1e969
Add NodeInfo 2.0 support
2017-05-21 12:05:54 +02:00
Steffen van Bergerem
e8ee74ef87
Remove statistics.json
2017-03-27 15:54:34 +02:00
Benjamin Neff
06b61b6480
Merge branch 'next-minor' into develop
2017-03-25 20:38:00 +01:00
Steffen van Bergerem
05e9798027
Fix sharing indicator on profile page for blocked users
...
closes #7382
2017-03-25 20:35:45 +01:00
Steffen van Bergerem
ef3faff8f1
Render mentions as links in comments
2017-02-13 21:47:57 +01:00
cmrd Senya
33ad411bbd
Mentions in comments backend changes
2016-11-28 15:56:56 +02:00
Steffen van Bergerem
951149dd24
Properly format JSON for reshares to hide 'reshare' button on already reshared posts
...
closes #7169
fixes #4816 and #6594
2016-11-03 22:44:12 +01:00
Benjamin Neff
4b020b8d61
Fix regressions from #6998
...
* fixed old reshares of reshares
* fixed deleted root of a reshare
2016-08-22 00:43:43 +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
Benjamin Neff
ecd13fc713
cleanup old attributes from code
2016-08-08 19:37:09 +02: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
Jonne Haß
48e5db8235
Stabilize social_relay_presenter_spec.rb
2016-08-01 13:19:07 +02:00
Benjamin Neff
df9874b73a
remove raw_message
...
This was only an alias for "text", and "raw_message" is also not used
for federation anymore, so we can drop it.
2016-07-17 01:40:00 +02:00
Dennis Schubert
446201b584
Merge branch 'stable' into develop
2016-03-18 07:24:44 +01:00
Benjamin Neff
67fbd02ae0
use AppConfig.url_to for generated urls for oembed
...
_url doesn't with generate https if the pod uses https
2016-03-18 07:24:25 +01:00
Benjamin Neff
acb91c79d2
improve pod connection check
...
* use port for check
* respect entries in /etc/hosts
* test /.well-known/host-meta
* don't allow redirects to other domains
2016-03-05 02:57:11 +01:00
Dennis Schubert
7c197756dd
Merge branch 'stable' into develop
2016-01-26 15:19:55 +01:00
Dennis Schubert
ad20bb052c
Fix include_root_in_json misuse
...
since it is no longer exposed for instances, our post_presenter failed
hard.
2016-01-26 15:18:02 +01:00
augier
73c1f0bc70
Fix pronto remarks
2016-01-04 16:49:57 +09:00
augier
d028b5672e
Fix remarks
2016-01-04 16:49:57 +09:00
augier
7b2be0d3c6
Support displaying TOS and policy
2016-01-04 16:49:56 +09:00
augier
6fcb9a9d3a
Add XSS spec for application's name
2016-01-04 16:49:56 +09:00
augier
2c7d102019
Design for authorization page when client_name not providen + XSS spec
2016-01-04 16:49:55 +09:00
theworldbright
1a7f2edc01
Perform major refactoring
...
- Add foreign_keys
- Remove unused classes/methods
- Fix pronto errors
- Add method to retrieve client id from name
- Remove TODO comments
- Fix unnecessary private key generation
2016-01-04 16:49:54 +09:00
theworldbright
e55a0b0d0b
Replace scopes with constants in Authorization
2016-01-04 16:49:54 +09:00
theworldbright
25f51c606a
Add support for prompt parameter
2016-01-04 16:49:53 +09:00
augier
07c12ba057
Using Camo for the application logo
2016-01-04 16:49:53 +09:00
augier
3fb2d262b8
Using entypo icon as default application image
2016-01-04 16:49:52 +09:00
augier
469521c572
Addin scopes translation and description
2016-01-04 16:49:52 +09:00
theworldbright
3734e074a6
Fix pronto errors
2016-01-04 16:49:52 +09:00
augier
b9da104b28
Revoke button on applications page
2016-01-04 16:49:52 +09:00
augier
308170f691
Add applications information page
2016-01-04 16:49:52 +09:00
theworldbright
9de2837a63
Move new API from /api/v2 to /api/v0
2016-01-04 16:49:16 +09:00
theworldbright
68d96a3189
Add versionist gem
2016-01-04 16:49:16 +09:00
Steffen van Bergerem
b40d5362cf
Merge pull request #6256 from TeamDeltaQuadrant/5813-show-geolocation-on-osm
...
5813 show geolocation on osm
2015-09-23 01:43:49 +02:00
Jonne Haß
0f1295718f
Merge branch 'stable' into develop
2015-09-13 12:25:18 +02:00
Jonne Haß
6fb5e88ead
Merge branch 'master' into stable
2015-09-13 12:23:41 +02:00
Steffen van Bergerem
ebad0961a9
Show private profile info if contact is sharing
2015-09-13 12:16:25 +02:00
realtin
57b7c05c4f
set maptile default to OpenMapSurfer
...
- refactor code for toggle map function
- adjust jasmine tests for maps and add tests for SPV
- change name of access token in defaults.yml according to naming conventions
- add explanation of map use for podmins
- add location to post_presenter
- fix opening multiple maps inside the stream when clicking on a reshare location
(#5813 )
2015-09-09 12:26:47 +02:00
zaziemo
298e195a8f
add a map subview
...
- add coordinates in post_presenter
- add map to the SPV if location is provided
- add leaflet.js to render map and marker of position
- make coordinates available in frontend
- add map scss
- make stream post location clickable and redirect to the SPV
- prevent render map if no location data is provided
- add tests for coordinates
- use the leaflet gem instead of the JS assets
(#5813 )
2015-09-09 12:19:38 +02:00
Jonne Haß
176b32c815
Merge branch 'stable' into develop
2015-09-07 12:41:36 +02:00
realtin
15b186518c
add moderators to report email recievers
...
and refactor coding style according to pull request comments
(#5324 )
2015-09-07 12:31:25 +02:00
realtin
0b420d0308
adapt templates to allow moderator to view reports
...
(#5324 )
2015-09-07 12:29:46 +02:00
Florian Staudacher
ea397ffdfb
Add connection test for pods in the network
...
* add a class for checking pod connectivity
* extend pod model to handle new functionality
* add an admin frontend to list pods and re-trigger checks manually
* add a daily worker to run through all the pods
* add unit tests for most of the new code
2015-08-24 22:04:53 +02:00
Jonne Haß
2bf6c87964
Merge branch 'stable' into develop
2015-08-23 22:49:51 +02:00
theworldbright
6e74ee7d21
Make PostPresenter inherit from BasePresenter
...
closes #6315
2015-08-23 22:49:45 +02:00
theworldbright
335b1c32aa
Refactor post presenter
2015-08-23 22:49:12 +02:00
Steffen van Bergerem
89a3ea6d20
Merge branch 'stable' into develop
2015-08-23 14:45:33 +02:00
Jonne Haß
a1ca45b201
Update NodeInfo to final 1.0 schema
...
closes #6340
2015-08-23 14:45:20 +02:00
Jason Robinson
cb909c0d70
Strip leading/trailing whitespace from pod tags list in social relay well known
...
Closes #6303
2015-08-09 00:33:35 +03:00
Jonne Haß
6ee3843449
Merge branch 'stable' into develop
2015-07-26 13:11:49 +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
Dennis Schubert
e8297f8d6b
Merge pull request #6207 from jaywink/social-relay
...
Implement social relay requirements
2015-07-25 23:01:45 +02:00
Jonne Haß
c76cf90b62
Readd legacy services to statistics.json
2015-07-24 10:57:37 +02:00
Jonne Haß
d68b3f02bd
Expose whether chat is enabled as NodeInfo metadata
...
related to #6211
2015-07-24 04:16:54 +02:00
Dennis Schubert
be8f920c29
Merge branch 'stable' into develop
2015-07-24 04:05:32 +02:00
Jonne Haß
c928d6c117
Expose whether chat is enabled as NodeInfo metadata
...
related to #6211
2015-07-24 03:51:31 +02:00
Jonne Haß
487b0d90ca
Implement NodeInfo
2015-07-24 03:50:02 +02:00
Jason Robinson
bdf6c71772
Implement social relay functionality
...
* .well-known/social-relay - to serve subscription preferences to relays
* Workers.deferred_dispatch relay carbon copy functionality for outbound sending
See discussion here: https://www.loomio.org/d/9vpoe0UR/public-post-federation#comment-730911 and spec here: https://wiki.diasporafoundation.org/Relay_servers_for_public_posts
2015-07-18 21:29:31 +03: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
Jonne Haß
1cd2562572
Merge branch 'stable' into develop
2015-07-02 11:12:16 +02:00
Dennis Schubert
e92c8000ba
Do not leak private profile fields in JSON format
...
Signed-off-by: Dennis Schubert <mail@dennis-schubert.de>
2015-07-02 10:07:59 +02:00
fla
7f6609d17b
Remove old service keys in statistics.json
2015-06-13 11:03:47 +02:00
Jonne Haß
ac52cef546
Only return the current_users participation for post interactions
...
closes #6007
2015-05-30 03:08:25 +02:00
Jason Robinson
7c0e50c2c2
Introduce 'authorized' configuration option for services
...
Since the Facebook API has changed and additional permissions are required for all users on a pod to cross-post, an additional 'authorized' flag is needed to be set for the Facebook service.
This flag allows either all users, one user or no users to use the cross-posting service.
Clarifies the situation for #5923 , #5260 and #5085 .
closes #5985
2015-05-25 04:18:38 +02:00
Steffen van Bergerem
05ec235ea3
Pass along current_user in ContactPresenter#full_hash_with_person
...
closes #5936
2015-05-09 23:48:59 +02:00
Benjamin Neff
344b198900
use camo for medium and small avatars
2015-04-24 03:10:48 +02:00
Jonne Haß
73b6c75278
On reshare insert the reshare built from the response
...
Also make sure comments_count and the like is always set in the
response.
2015-03-23 23:02:23 +01:00
Jonne Haß
99ea156e1c
Refactor User.total_users into a scope
2015-02-27 16:30:51 +01:00
Jonne Haß
95053ccbf2
Merge pull request #5351 from MarcBurt/5041-Total-user-statistic-shouldnt-include-closed-accounts
...
5041 total user statistic shouldnt include closed accounts
2015-02-27 16:02:35 +01:00
Jonne Haß
be1ab6c6a3
Merge branch 'collimarco-issue5350' into develop
2015-02-27 15:33:55 +01:00
Marc Burt
9f5131b6ec
Fixed #5041 with new User method to find total accounts excluding closed and invitations
2015-02-08 13:49:12 +00:00
Augier
55d258c5ac
Fix registrations displaying
2015-01-30 18:00:22 +01:00
Flaburgan
69b881f34b
Fix monthly and halfyear active users count
2015-01-26 10:03:37 +01:00
Marco Colli
eccab62e32
Allow user to enable / disable notifications for a post from stream #5350
2015-01-25 18:40:47 +01:00
SansPseudoFix
dc44485230
Feature : Statistics design
2015-01-24 22:34:41 +01:00
Steffen van Bergerem
9de6a26a22
Port contacts page to backbonejs
2015-01-04 17:13:18 +01:00
Dennis Schubert
4c98445f1c
Fix presenters instead of modifying the getters
2014-11-09 07:47:40 -08:00
Dennis Schubert
6808150920
Method calling convention and doc improvements
...
... and a stealth-commit of an already introduced bug prevention system.
;)
2014-11-09 07:20:30 -08:00
Dennis Schubert
92cd4e6b78
Use camo for Markdown images
...
just a quick proof of concept
2014-11-08 05:14:18 +01:00
Jonne Haß
a7c702d631
Merge pull request #5308 from Flaburgan/add-network-key-to-statistics
...
Add network key to statistics.json
Conflicts:
Changelog.md
2014-10-14 13:25:16 +02:00
flaburgan
adc839d620
Add network key to statistics.json, close #5042
2014-10-08 01:16:54 +02:00
Alex Nordlund
acc7377e5f
Removed setting for statistics, showing both instead.
2014-10-05 01:45:48 +02:00
Alex Nordlund
03f3c74cee
Moved services to a JSON list.
...
Added AppConfig.privacy.statistics.deprecated_format to toggle showing the old style format.
2014-10-05 01:07:30 +02:00
Jonne Haß
66c2f7f869
Fix statistics_presenter_spec
2014-10-04 01:01:19 +03:00
Jason Robinson
309e690a66
Fix services in statistics.json.
...
Currently there is a bug in configurate that reports incorrectly the services settings if they are set as ENV variables, instead of diaspora.yml settings.
This commit works around that issue by changing the way the setting is fetched.
2014-10-03 23:54:42 +03:00
Florian Staudacher
be86014540
rspec should now be running a green build
2014-09-15 01:37:23 +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
0092c9c483
* create a handlebars view for the profile header
...
* unblock the user via ajax
2014-09-15 01:37:23 +02:00