Benjamin Neff
fe071aa2a2
Deliver to each recipient only once
...
closes #7071
2016-09-20 04:25:04 +02:00
Benjamin Neff
4fea926057
Only update interacted_at on new comments
...
I got feedback from many users, that they don't understand how the "my
activity" stream is sorted, because they have posts on the top, but
don't see why. The user doesn't see if a like was added, and it is also
not imported for the user to see the post again then. And we have
notifications if someone likes a users own posts, so no need to move it on
top of the "my activity" stream here too.
closes #7030
2016-09-04 03:29:59 +02:00
Dennis Schubert
003672f0b1
Merge pull request #7011 from SuperTux88/fix-author-not-lowercase
...
Use Person.by_account_identifier to find the author
2016-08-21 14:26:20 +02:00
Benjamin Neff
1d5080888f
Use Person.by_account_identifier to find the author
2016-08-21 04:01:42 +02:00
Benjamin Neff
8d725160f9
Use https for the pod_uri if require_ssl is true
2016-08-21 01:48:52 +02:00
Jonne Haß
fedd378dcf
Merge pull request #6992 from SuperTux88/4491-fetch-mentioned-people
...
fetch mentioned people if they don't exist locally yet
2016-08-16 10:41:02 +02:00
CSammy
1d793fcc49
Reused tag stream query for tag pages.
2016-08-15 04:39:11 +02:00
Benjamin Neff
80d1352ba4
Cleanup old rake tasks
...
* accounts:run_deletions: was added with 0.4.0.0 two years ago for one-time usage.
* db:rebuild: db:reset does basically the same
* db:integration:preprare: the integration environments are not used.
* db:reset: there is a default db:reset, no need to write our own.
* db:drop_integration: the integration environments are not used.
* db:fix_diaspora_handle: really old migration from 2010
* db:move_private_key: also old migration from 2010
* maintenance:clear_carrierwave_temp_uploads: tmp/uploads doesn't exist anymore. And we have CleanCachedFiles as cronjob.
* maintenance:install_logrotate_config: diaspora has built-in logrotate support now, and people who want to use logrotate instead can write their own configs with the values they want.
* migrations:copy_hidden_share_visibilities_to_users: old migration from 2012
* migrations:invitations: legacy invitations were removed with #6976
* migrations:absolutify_image_references: old migration from 2010
* migrations:rewire_uppercase_hashtags: old migration from 2012
* migrations:remove_uppercase_hashtags: old migration from 2012
2016-08-14 19:42:30 +02:00
cmrd Senya
9546fddb9e
[API] don't store ID tokens in DB
...
fix #6857
2016-08-13 20:09:43 +03:00
Dennis Schubert
3942dca08f
Merge pull request #6972 from jhass/queue_migration
...
Add rake task to move jobs from any legacy queue to the default queue
2016-08-13 17:31:14 +02:00
Jonne Haß
b2fa3357eb
Merge pull request #6976 from SuperTux88/cleanup-invitations
...
Cleanup invitations
2016-08-13 14:16:41 +02:00
Steffen van Bergerem
da5aef2b75
Fix charcounter position in publisher
2016-08-13 03:21:40 +02:00
Benjamin Neff
66b7b7e27a
Cleanup legacy invitations from code
...
Fixes #5116
2016-08-13 01:47:27 +02:00
Jonne Haß
5afe582057
Add rake task to move jobs from any legacy queue to the default queue
2016-08-11 22:40:49 +02:00
Jonne Haß
e70ffebc49
Merge pull request #6805 from cmrd-senya/mention-name-fixup
...
Fix up the meaning of the name parameter in mention
2016-08-11 13:28:02 +02:00
cmrd Senya
d200e92aeb
Fix up the meaning of the name parameter in mentions
...
The desktop frontend now treats the "name" parameter of mention as
a string to display unconditionally. But the Diaspora::Mentionable
renders mentions the different way: "name" is treated as a fallback
string which is rendered only if the person's name is unavailable.
This reflects on the mobile version ATM. This patch makes it behave
the same way as the current desktop version does.
2016-08-11 13:19:48 +03:00
cmrd Senya
89b12345bb
Rake task for legacy sidekiq queues
2016-08-10 08:51:22 +00:00
Benjamin Neff
d3edbfd829
remove pending flag from posts
2016-08-08 19:37:10 +02:00
Benjamin Neff
ecd13fc713
cleanup old attributes from code
2016-08-08 19:37:09 +02:00
Benjamin Neff
1d8ce00bef
save signature data on receive
2016-08-08 18:56:37 +02:00
Benjamin Neff
2a6ca1b831
use signature data for federation
2016-08-08 18:56:37 +02:00
Benjamin Neff
081d0167b7
add models for signature data
2016-08-08 18:56:37 +02:00
Steffen van Bergerem
ba26175421
Fix duplicate activity stream posts
2016-08-07 02:07:05 +02:00
Sam Davarnia
2a2b604a60
move photo extraction to a class
...
style improvements
new line
applied changes
applied changes
2016-07-18 15:05:44 +03:00
Benjamin Neff
2cd831f94e
also validate remote posts
...
all data is included in the federated status_message, so we can validate
on receive. add the photos to the status_message before save.
2016-07-17 01:40:00 +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
Benjamin Neff
32cc0951bb
bump diaspora_federation
2016-07-15 02:02:55 +02:00
Steffen van Bergerem
58c7478133
Remove messagebus_ruby_api gem
...
Messagebus closed in 2015. See https://web.archive.org/web/20150623093956/https://www.messagebus.com/ for more information.
2016-07-07 18:48:31 +02:00
Benjamin Neff
824201fedc
fetch mentioned people if they don't exist locally yet
...
fixes #4491
2016-06-27 17:04:22 +02:00
Benjamin Neff
c0ab42fecc
check if links is an array in the JRD
2016-06-27 04:04:09 +02:00
Benjamin Neff
2a0e87957f
validate NodeInfo json against schema in ConnectionTester
2016-06-27 04:04:09 +02:00
Benjamin Neff
da1a02892d
log backtrace for unexpected errors in ConnectionTester
2016-06-27 04:04:09 +02:00
Jonne Haß
5d318400c9
Diaspora::Federation::Receive::ignore_existing_guid returns nil when
...
ignoring the error message
Previously it returned the return value of Logging::Logger#warn, which
is true for loggers that log the warn level. However
Diaspora::Federation::Receive::receive_relayable checks the return value
for truthiness in order to decide whether to attempt to relay it,
resulting in a NoMethodError: undefined method `parent' for
true:TrueClass in Diaspora::Federation::Receive::relay_relayable
This change is cosmetic as the exception raised prevented any action
that shouldn't happen anyway, so there's no actual logic change.
2016-06-26 17:01:33 +02:00
Benjamin Neff
9fda255add
use the parent author of the target as sender for relayable retractions
2016-06-26 11:05:23 +02:00
Benjamin Neff
7241b1c054
use the parent author as salmon sender, if the parent author is local
2016-06-26 10:28:32 +02:00
Benjamin Neff
3b1d113a9a
add own posts to activity-stream again
2016-06-26 06:21:03 +02:00
Benjamin Neff
e08306dab4
remove participation parent author check
...
the check that the participation parent author is local is now done in
the diaspora_federation gem
2016-06-26 06:21:03 +02:00
Benjamin Neff
65f03b2d08
extract mappings between diaspora and the federation gem
2016-06-26 06:21:02 +02:00
Benjamin Neff
7bdf4921fd
use private_class_method with returned symbol of def
2016-06-26 06:21:02 +02:00
Benjamin Neff
bb0d7e46dc
add #object_to_receive to Diaspora::Federated::Base
2016-06-26 06:21:02 +02:00
Benjamin Neff
1cf11db634
remove diaspora_handle setter to set author
2016-06-26 06:21:02 +02:00
Benjamin Neff
5e16b9c7cd
add author to subscribers of public shareables to ensure local delivery
2016-06-26 06:21:02 +02:00
Benjamin Neff
a81bdac38c
don't send relayables back to sender pod
...
send retraction for relayable to target author if retracted by parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
9dfa8e1442
send retractions for public relayables privately if the parent is remote
2016-06-26 06:21:02 +02:00
Benjamin Neff
f58167c154
disconnect when receiving a Contact with sharing=false
2016-06-26 06:21:02 +02:00
Benjamin Neff
2367be3f66
move Federated::Generator to Diaspora::Federated::Generator
2016-06-26 06:21:02 +02:00
Benjamin Neff
709ad6e909
Participation is not relayable anymore
...
only deliver to parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
1c291260a2
create module for target association
2016-06-26 06:21:02 +02:00
Benjamin Neff
c8d43a893d
move Guid module to fields
2016-06-26 06:21:02 +02:00
Benjamin Neff
67688a6022
create module for author association
2016-06-26 06:21:02 +02:00
Benjamin Neff
b39f3ccc74
relay relayables after receive
...
also refactored relayable specs to use `let`
2016-06-26 06:21:02 +02:00
Benjamin Neff
91c6c74ca0
retract relayables if the author is ignored by the parent author
2016-06-26 06:21:02 +02:00
Benjamin Neff
c15babdc9f
allow to dispatch to specific subscribers
2016-06-26 06:21:02 +02:00
Benjamin Neff
57dbcc0e67
add root author to reshare subscribers
2016-06-26 06:21:02 +02:00
Benjamin Neff
03123f1c4d
remove more unused code and cleanup
2016-06-26 06:21:01 +02:00
Benjamin Neff
2476b74dbe
refactoring delete from services
2016-06-26 06:21:01 +02:00
Benjamin Neff
dee8bc6f0e
write specs for dispatcher
2016-06-26 06:21:01 +02:00
Benjamin Neff
f95e0faa37
delete old postzord dispatcher
2016-06-26 06:21:01 +02:00
Benjamin Neff
bb66b973a6
only posts do have reshares
2016-06-26 06:21:01 +02:00
Benjamin Neff
0e6446d05f
create ShareVisibilities with batch import
...
and delete old batch worker and receiver
2016-06-26 06:21:01 +02:00
Benjamin Neff
4d8211b641
remove old SignedRetraction and RelayableRetraction
2016-06-26 06:21:01 +02:00
Benjamin Neff
c8c489eafd
remove post fetcher
2016-06-26 06:21:01 +02:00
Benjamin Neff
51aca4506f
remove HttpMulti and HydraWrapper
2016-06-26 06:21:01 +02:00
Benjamin Neff
ae05d4e928
use Diaspora::Federation::Dispatcher everywhere
2016-06-26 06:21:01 +02:00
Benjamin Neff
b0942bc219
remove salmon code
2016-06-26 06:21:01 +02:00
Benjamin Neff
21fd9f23da
remove roxml
2016-06-26 06:21:01 +02:00
Benjamin Neff
566f4890a2
merge Federated::Shareable to Shareable
...
also drop xml-code for Shareable
2016-06-26 06:21:01 +02:00
Benjamin Neff
645034800d
deliver public posts to relay
2016-06-26 06:21:01 +02:00
Benjamin Neff
902d7faca4
relay retractions for relayables
2016-06-26 06:21:01 +02:00
Benjamin Neff
42995cacc0
deliver retractions to services
2016-06-26 06:21:01 +02:00
Benjamin Neff
3df70bb205
send retractions for public targets publicly
2016-06-26 06:21:01 +02:00
Benjamin Neff
793f45ef2c
send retractions only to remote subscribers
2016-06-26 06:21:01 +02:00
Benjamin Neff
65ba573a3b
Contact retraction
2016-06-26 06:21:00 +02:00
Benjamin Neff
89fbcf7c56
federate retractions
2016-06-26 06:21:00 +02:00
Benjamin Neff
86b37466d5
add DeferredRetraction worker
2016-06-26 06:21:00 +02:00
Benjamin Neff
7db9d7733c
deliver to pubsubhubbub
2016-06-26 06:21:00 +02:00
Benjamin Neff
b89c1d0cd7
send private message
2016-06-26 06:21:00 +02:00
Benjamin Neff
5f25135848
send public messages
2016-06-26 06:21:00 +02:00
Benjamin Neff
05bd61d4ff
create Diaspora::Federation::Entities.build
2016-06-26 06:21:00 +02:00
Benjamin Neff
f53b5ffe6b
create public and private dispatcher
2016-06-26 06:21:00 +02:00
Benjamin Neff
7184d4334e
remove after_dispatch hook
...
handle photos in StatusMessageCreationService
2016-06-26 06:21:00 +02:00
Benjamin Neff
20dabbd15f
remove user parameter from subscribers method
2016-06-26 06:21:00 +02:00
Benjamin Neff
f9f91a0e9e
create new contact for local receive
2016-06-26 06:21:00 +02:00
Benjamin Neff
970e8bb3ec
handle user services
2016-06-26 06:21:00 +02:00
Benjamin Neff
596659a78f
first structure of Diaspora::Federation::Dispatcher
2016-06-26 06:21:00 +02:00
Benjamin Neff
83f5662d62
remove NotifyLocalUsers worker
2016-06-26 06:21:00 +02:00
Benjamin Neff
7bb172cefb
remove old Private and Public Receiver
2016-06-26 06:21:00 +02:00
Benjamin Neff
102e2a0834
remove Request class and refactor Connecting
2016-06-26 06:20:59 +02:00
Benjamin Neff
6fbfc2bf96
write receive specs and delete old unused specs
...
also refactored receive methods
2016-06-26 06:20:59 +02:00
Benjamin Neff
59bb46eeb6
handle retractions
2016-06-26 06:20:59 +02:00
Benjamin Neff
58a5a881cf
receive local
...
* Contact: auto-follow-back
* Shareable: create share visibilities
2016-06-26 06:20:59 +02:00
Benjamin Neff
ae96b4bf55
refactor message notifications
...
all visibilities are already in the conversation, so we can send
all notifications at once.
2016-06-26 06:20:59 +02:00
Benjamin Neff
b067c33779
handle photo updates
2016-06-26 06:20:59 +02:00
Benjamin Neff
d55be67df1
handle existing guids on receive
2016-06-26 06:20:59 +02:00
Benjamin Neff
f3466bcfd6
update profile
2016-06-26 06:20:59 +02:00
Benjamin Neff
4fb34139b0
cleanup notifications and fix tests
2016-06-26 06:20:59 +02:00
Benjamin Neff
97f4b0c2e4
handle ignored author on receive
2016-06-26 06:20:59 +02:00
Benjamin Neff
53e14dd2d6
add ReceiveLocal worker
2016-06-26 06:20:59 +02:00
Benjamin Neff
481431ea0a
handle nested entities
2016-06-26 06:20:59 +02:00
Benjamin Neff
87666eeb35
handle receive contact
2016-06-26 06:20:59 +02:00
Benjamin Neff
e0da6708f4
save entities on receive
...
first implementation of receive_entity callback
2016-06-26 06:20:59 +02:00
Benjamin Neff
9021268e7a
add related entity to relayables and retractions
2016-06-26 06:20:59 +02:00
Benjamin Neff
3a5990c552
create fetch_related_entity callback and cleanup unused callbacks
2016-06-26 06:20:58 +02:00
Benjamin Neff
b1d30aa9cc
add more "diaspora to federation entity" methods
...
move it to Diaspora::Federation::Entities and use it in some tests, but most of the tests can be removed later.
2016-06-26 06:20:58 +02:00
Dennis Schubert
652050a87e
Add rel="noopener noreferrer" to autolinks
2016-06-19 13:43:43 +02:00
Dennis Schubert
49395c0a11
Merge pull request #6812 from cmrd-senya/6811-visibilities-id-overlap
...
Don't include wrong shareable types in scopes
2016-06-19 01:40:01 +02:00
Benjamin Neff
30ea6ef72f
fix spec for ApplicationHelper#changelog_url
2016-06-18 23:12:29 +02:00
Dennis Schubert
0db7252630
Merge pull request #6863 from SuperTux88/remove-REDISTOGO_URL-deprecation
...
remove REDISTOGO_URL deprecation
2016-06-16 02:52:54 +02:00
Benjamin Neff
d68c1ad974
remove REDISTOGO_URL deprecation
2016-06-14 06:40:34 +02:00
Steffen van Bergerem
e7227891e7
Use eslint instead of jshint
2016-06-12 10:03:59 +02:00
cmrd Senya
204f58e6a7
Remove repetion of shareable initialization code
2016-05-31 21:16:13 +03:00
cmrd Senya
2737280fa4
Don't include wrong shareable types in scopes
2016-05-31 18:20:07 +03:00
Dennis Schubert
209cd783c8
Merge pull request #6816 from cmrd-senya/publisher-refactor
...
A minor refactor of the Publisher
2016-05-06 02:23:54 +02:00
Dennis Schubert
2131e3425a
Merge pull request #6792 from Zauberstuhl/unicorn_killer
...
Move unicorn_killer to Gemfile
2016-05-06 02:13:07 +02:00
cmrd Senya
ab718dbbc6
A minor refactor of the Publisher
...
There was a minor copy-paste issue with publisher_public and
publisher_explain methods. Fix it and do a little refactoring
of the publisher's code.
2016-04-28 21:45:49 +03:00
Senya
0c177aaddf
the special case is not required anymore
...
fix #5678
2016-04-19 08:28:47 +03:00
Lukas Matt
56c7af940d
Move unicorn_killer to Gemfile
2016-04-13 14:41:02 +02:00
Dennis Schubert
e95c742aa1
Merge branch 'stable' into develop
2016-03-30 10:18:09 +02:00
Benjamin Neff
625eedf05d
add "diaspora to federation entity" methods for posts
2016-03-30 09:45:46 +02:00
Jonne Haß
6bec0dbbb9
Merge branch 'stable' into develop
2016-03-21 14:04:33 +01:00
Benjamin Neff
d97448e552
remove ChromeFrame
...
Google Chrome Frame was a plugin for Internet Explorer, but is no longer
supported. And it was included with http and not https which triggered a
warning on most pods.
Also set the minimum version to 9 to support #6557
closes #6751
2016-03-21 14:04:24 +01:00
Dennis Schubert
69ac153fe9
Merge pull request #6745 from cmrd-senya/remove_diaspora_handle_shareables
...
Remove diaspora_handle from shareables
2016-03-08 23:45:16 +01:00
Dennis Schubert
aa873199f8
Merge branch 'stable' into develop
2016-03-08 22:56:02 +01:00
Dennis Schubert
352d732a37
Disable fetching of root posts for relayables
...
since that could allow fetching spoofed/altered posts
thanks @supertux88
2016-03-08 22:41:26 +01:00
cmrd Senya
2986aa8b24
Remove diaspora_handle from shareables
...
We can determine diaspora_handle from a relation with people for the
shareables (posts, photos). So we don't need to store diaspora_handle in
the DB. Also remove tmp_old_id from photos which is not refenrenced anywhere.
2016-03-07 18:47:21 +03:00
Jonne Haß
39ae5e741e
Merge pull request #6732 from SuperTux88/cleanup-aspect_visibilities
...
Cleanup aspect visibilities
2016-03-05 11:05:55 +01:00
Dennis Schubert
91d636b9f6
Merge pull request #6727 from SuperTux88/improve-pod-check
...
Improve pod check
2016-03-05 06:03:20 +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
Benjamin Neff
b1a6516474
add migration for pods-table
...
* add port to pods
* remove url from person and link people with pod-table
2016-03-05 00:12:54 +01:00
Benjamin Neff
0c8d9e1907
delete aspect_visibilities when deleting the shareable
2016-03-04 20:13:52 +01:00
Benjamin Neff
f913128967
don't add public shareables to aspect_visibilities
2016-03-04 20:13:52 +01:00
Steffen van Bergerem
f948120ba6
Refactor keycodes
2016-03-04 18:02:22 +01:00
augier
c9f87796cc
Using Typeahead for mentionning box
2016-03-04 18:02:22 +01:00
Benjamin Neff
7011f2961d
Revert "Back out #6723 due to Postgres breakage"
...
This reverts commit 84cfbd22fc .
2016-03-04 14:01:31 +01:00
Dennis Schubert
84cfbd22fc
Back out #6723 due to Postgres breakage
...
This reverts commit 832a56134b , reversing
changes made to 75c3e6068c .
2016-03-04 13:33:32 +01:00
Benjamin Neff
e3d1f0fd16
fix order with two posts with the same timestamp for all streams
2016-03-03 21:43:11 +01:00
Benjamin Neff
7583568be8
update queries for new ShareVisibility
...
Also:
* remove ShareablesFromPerson evil-query
* improve multi-stream and aspect-stream queries
* fix logging for recieve
* don't add last 100 public posts to users streams after sharing
* delete share visibility when shareable is deleted
2016-03-03 21:43:11 +01:00
Dennis Schubert
7c88fb7936
Merge pull request #6586 from cmrd-senya/drop-signatures
...
Remove parent author signature for relayables from the DB
2016-03-03 17:39:28 +01:00
Steffen van Bergerem
6e685194e9
Increase keysize for OpenID
2016-02-14 23:35:48 +01:00
Dennis Schubert
677bddc3d3
Merge branch 'stable' into develop
2016-02-09 12:42:26 +01:00
Steffen van Bergerem
ac5a7746e2
Remove contacts_title method and translations
...
closes #6687
2016-02-09 12:42:21 +01:00
Jonne Haß
32bda8fe20
Merge branch 'stable' into develop
2016-01-28 18:47:18 +01:00
Faldrian
8e3816e64e
let mention-regex only match usable strings
...
closes #6658
2016-01-28 18:47:13 +01:00
Dennis Schubert
5f986464da
Drop Redis namespace support
2016-01-24 07:29:28 +01:00
Jonne Haß
baeff22451
Merge pull request #6095 from AugierLe42e/openid
...
OpenID Connect
2016-01-06 12:30:15 +01:00
Dennis Schubert
439ea693a0
Merge pull request #6617 from manuelVo/ignored-user-show-posts-on-profile
...
Show posts of ignored users on their profile page
2016-01-06 10:48:50 +01:00
Dennis Schubert
40e780abcf
Merge branch 'stable' into develop
2016-01-06 00:49:15 +01:00
cmrd Senya
b6c7f004e4
Further receive tests development
2016-01-06 00:47:42 +01:00
cmrd Senya
56f022f28c
Fix a few issues with public receiver which include:
...
* Make Retraction be allowed to be received publicly (probably just never used before anywhere)
* Since public receiver bypasses @object.receive in some cases add the author signature verification for relayables to protect from relayables forgery
* xml_author was wrong in some cases for RelayableRetraction
2016-01-06 00:46:14 +01:00
Manuel Vögele
4f34ecafa4
Show posts of ignored users on their profile page
2016-01-04 18:29:30 +01:00
theworldbright
38439277d6
Add licenses where appropriate
2016-01-04 17:22:44 +09:00
theworldbright
f1b394de0f
Fix remaining remarks
2016-01-04 16:49:57 +09:00
augier
d028b5672e
Fix remarks
2016-01-04 16:49:57 +09:00
theworldbright
2f8c391ac6
Fix pronto and travis errors
2016-01-04 16:49:57 +09:00
theworldbright
0fbcb71255
Add support for request_uri and claims
2016-01-04 16:49:56 +09:00
theworldbright
1dcefdb998
Validate sector identifier uri and redirect uri
2016-01-04 16:49:55 +09:00
theworldbright
a76f51a6a5
Use redirect_uri if no sector identifier for ppid
...
As according to http://openid.net/specs/openid-connect-core-1_0.html#PairwiseAlg :
"If the Client has not provided a value for
sector_identifier_uri in Dynamic Client Registration
[OpenID.Registration], the Sector Identifier used
for pairwise identifier calculation is the host
component of the registered redirect_uri."
2016-01-04 16:49:55 +09:00
augier
8c2af74447
Fixing last remarks
2016-01-04 16:49:54 +09:00
augier
c33cce0953
Styling user consent form
2016-01-04 16:49:54 +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
858e8c2503
Prevent duplicate scopes in authorization
2016-01-04 16:49:54 +09:00
theworldbright
724f32604b
Add nonce to auth code flow
2016-01-04 16:49:53 +09:00
theworldbright
bb8fe6aa83
Adjust id token config to save private key to file
2016-01-04 16:49:53 +09:00
theworldbright
3734e074a6
Fix pronto errors
2016-01-04 16:49:52 +09:00
theworldbright
98fd18077a
Add test for expired access token
2016-01-04 16:49:52 +09:00
theworldbright
65c40f236e
Load scopes from seeds
...
Signed-off-by: theworldbright <kent@kentshikama.com>
2016-01-04 16:49:51 +09:00
theworldbright
99d6d7b3e7
Add pairwise pseudonymous identifier support
...
Squashed commits:
[a182de7] Fix pronto/travis errors
2016-01-04 16:49:51 +09:00
theworldbright
2be932ceff
Delete password flow
2016-01-04 16:49:51 +09:00
theworldbright
e5932968fd
Add support for authorization code flow
2016-01-04 16:49:51 +09:00
theworldbright
bc5e5c7420
Fix pronto errors
2016-01-04 16:49:51 +09:00
theworldbright
3cbe75469b
Add support for scopes
...
Remove scopes from tokens
Squashed commits:
[83db38f] Add redirect uris to supported metadata
2016-01-04 16:49:51 +09:00
theworldbright
979adca1e7
Fix account deleter specs
...
Squashed commits:
[7ff4276] Adjust discovery controller
2016-01-04 16:49:50 +09:00
augier
b173283692
Test for refresh token flow
2016-01-04 16:49:50 +09:00
augier
cc28199555
Fixing hounds remarks
2016-01-04 16:49:50 +09:00
theworldbright
7b80a7408d
Add integration tests for implicit flow
...
Squashed commits:
[d5001fe] Refactor
[8d8a23f] Add test for when authorization is denied
[659fc56] Adjust password flow integration test
2016-01-04 16:49:50 +09:00
theworldbright
ee9ac06e1a
Add support for access tokens in implicit flow
...
Squashed commits:
[7dbf618] Use Rail's find_or_create_by method
2016-01-04 16:49:50 +09:00
theworldbright
2d762da072
Adjust tokens to fit revised Authorization
2016-01-04 16:49:50 +09:00
theworldbright
17fde49d61
Implement ID Token for the implicit flow
2016-01-04 16:49:50 +09:00
theworldbright
1475672d72
Fix authorization and related models
...
Squashed commits:
[a844d37] Remove unnecessary class_name's from models
[529a30c] Further adjust authorization and related models
2016-01-04 16:49:50 +09:00
augier
031679762a
Redesign the models
2016-01-04 16:49:49 +09:00
Augier
9140c8244b
Support for refresh tokens w/ no tests
2016-01-04 16:49:49 +09:00
Augier
73cc55940d
Fix travis errors and refactor
2016-01-04 16:49:49 +09:00
theworldbright
3d26cbf657
Allow POST requests at authentication endpoint
2016-01-04 16:49:49 +09:00
theworldbright
3cfbcbce8f
Implement authorization endpoint (part 1)
...
The user can now authenticate with the authorization
server's authorization endpoint and receive a fake
id token.
2016-01-04 16:49:49 +09:00
theworldbright
88d02ea35b
Add client registration
...
Client must now be registered prior to imitating a
call to the token endpoint with the password flow.
Squashed commits:
[fdcef62] Rename authorization endpoint to protected resource endpoint
2016-01-04 16:49:48 +09:00
theworldbright
beae77102d
Allow current user to be obtained from access token
2016-01-04 16:49:16 +09:00
theworldbright
efdfe318fd
Add ability to get user info from access tokens
2016-01-04 16:48:42 +09:00
Augier
a1f3d5f5f9
Getting token from user credential flow
2016-01-04 16:45:21 +09:00
augier
8d8faf684c
OpenID Connect debut work
2016-01-04 16:45:21 +09:00
cmrd Senya
a2ce47fae5
Remove parent author signature for relayables from the DB
...
since it is considered redundant
2015-12-16 22:00:35 +03:00
Jonne Haß
13029235d0
Merge branch 'stable' into develop
2015-12-13 12:28:04 +01:00
cmrd Senya
f0fc62e94d
Fix a security issue that author_signature is not checked on the to-downstream receive of a federated relayable entity, allowing to forge relayables if you are an owner of the pod where a parent object is stored.
...
closes #6539
2015-12-13 12:26:59 +01:00
cmrd Senya
4e41b8dc86
Allow Retraction to deal with Relayables
2015-12-13 12:23:51 +01:00
Steffen van Bergerem
75e3085ca9
Merge branch 'stable' into develop
2015-11-27 12:46:46 +01:00
Manoj Mishra
ab21e6b134
Fix: Adding mention through paste user name from clipboard is not successfull
...
Input buffer wasn't getting updated with the user input when user did a
paste from clipboard, it caused search for the available contacts
to not trigger
closes #6510
2015-11-27 12:46:02 +01:00
Dennis Schubert
5081d69847
Merge branch 'stable' into develop
2015-11-22 02:52:37 +01:00
Jason Robinson
66925918b1
Send comment to reshare author when commenting on reshare
...
As posts are always delivered also to reshare root, comments should also be delivered to reshare root, for concistency.
2015-11-22 02:45:27 +01:00
Jonne Haß
c815ed4d7c
Cache bookmarklet code in public/assets/bookmarklet.js
...
tmp/cache is not something you would include in a packaging situation.
2015-11-03 18:06:55 +01:00
Jonne Haß
99d4e0b332
Merge branch 'stable' into develop
2015-10-14 22:33:14 +02:00