Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Private pusher channel #138

Merged
merged 24 commits into from
Jul 10, 2017
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d3f5efb
WIP: Private pusher channel [skip ci]
bitamar Jul 7, 2017
a1348fc
Re-adding offline interop [skip ci]
bitamar Jul 7, 2017
ee7995c
Pusher auth [skip ci]
bitamar Jul 7, 2017
0ade019
Subscribing to the private channel [skip ci]
bitamar Jul 8, 2017
4f1c80a
Cleaning up me endpoint [skip ci]
bitamar Jul 8, 2017
b44ccbf
Fetching user's pusher channel from backend [skip ci]
bitamar Jul 8, 2017
5b62d1b
Logging into pusher only after user is fetched [skip ci]
bitamar Jul 8, 2017
d0b4b32
Updating dummyUser
bitamar Jul 8, 2017
54475bf
Sniffer fixes
bitamar Jul 8, 2017
9a79611
Merge branch 'master' into 123-private-pusher-channel
bitamar Jul 9, 2017
0a74252
Cleaning up pusher login call [skip ci]
bitamar Jul 9, 2017
a539ed1
Adding private note on items [skip ci]
bitamar Jul 9, 2017
95384b8
Displaying private note
bitamar Jul 9, 2017
006bb53
Removing unused pusher parts, and wiring pusher logout
bitamar Jul 9, 2017
fde3b02
Fixing pusher test
bitamar Jul 9, 2017
7e77f7c
Updating the pusher model when calling pusherLogin and pusherLogout […
bitamar Jul 10, 2017
3babb2e
Ordering msgs [skip ci]
bitamar Jul 10, 2017
034394c
Cleaning up item view [skip ci]
bitamar Jul 10, 2017
e6d7ef6
cleanup login message creation [skip ci]
bitamar Jul 10, 2017
14507ff
showMaybe privateNote [skip ci]
bitamar Jul 10, 2017
47cc8ff
Fixes
bitamar Jul 10, 2017
73b2f88
Replacing "access private pusher channel" with "access private fields"
bitamar Jul 10, 2017
7dcf9be
Adding information about the private pusher channel to the readme
bitamar Jul 10, 2017
6c49099
Updating pusher description
bitamar Jul 10, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ For the backend, check the [server README.md](https://github.com/Gizra/drupal-el

For the frontend, check the [client README.md](https://github.com/Gizra/drupal-elm-starter/blob/master/client/README.md)

## Pusher
Editing an item produces pusher messages on two different channels: `general`
and `private-general`. The private channel is only accessible by users with
`access private fields` permission, and currently exposes the item's "Private
note" field, which normal users can't access.

Login for example with `admin` / `admin` to see the item private field, and get
Copy link
Member

@amitaibu amitaibu Jul 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe:

Login for example with admin / admin to see the private field on for example /#/item/1 (-- @bitamar
is that correct? --).
Only privileged users can see this note. Also when the item will be updated (e.g. via the backend on node/1/edit), it will be updated in real time through the private channel.

notifications through the private channel.

## Credits

[Gizra](https://gizra.com)
Expand Down