theworldbright
bb3849e4b1
Fix API privilege scope escalation
2016-03-11 17:18:21 -08: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
df1c1ab24e
Merge pull request #6744 from SuperTux88/refactor-services
...
Refactor services
2016-03-08 23:35:43 +01:00
Dennis Schubert
485f7c5263
Merge pull request #6742 from svbergerem/fix-tooltips-in-media
...
Fix tooltips inside of .media elements
2016-03-07 18:47:15 +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
Steffen van Bergerem
11b659864f
Fix typeahead suggestions with nonlatin chars
2016-03-07 14:54:45 +01:00
Benjamin Neff
0c8588eec8
PostService: create find!
...
* find returns nil if nothing found
* find! raises errors if not found or not visible
2016-03-07 05:52:54 +01:00
Benjamin Neff
e6b72b526f
remove "not public" error page
...
this is not used anymore:
* not logged in users are redirected to the login page
* logged in users see the normal 404 page
2016-03-07 05:52:54 +01:00
Benjamin Neff
017842cc01
don't update updated_at date when read the notifications.
...
updated_at is displayed in the frontend and should only be updated when
another notification_actor gets added
Also improved the sql-queries: update directly and not select first and
update then.
2016-03-07 05:52:54 +01:00
Benjamin Neff
d94eae0d45
refactoring PostService
...
* move presenters back to controllers, this is view-logic
* use PostService in CommentService
* remove iframe route, this is not used anymore
* id/guid limit at 16 chars, hex(8) is 16 chars long
2016-03-07 05:52:54 +01:00
Benjamin Neff
b398b115bc
refactoring CommentService
2016-03-07 05:52:54 +01:00
Benjamin Neff
5a46da47c3
refactoring StatusMessageCreationService
...
* move parameter normalization back to controller, because this is
frontend-specific.
* if the StatusMessage is public, save also public photos
2016-03-07 00:00:27 +01:00
Benjamin Neff
10af3a8b11
fix pod table migration if someone deleted a user (owner) manually
2016-03-06 23:55:28 +01:00
Steffen van Bergerem
665015859a
Fix tooltips inside of .media elements
2016-03-06 00:42:29 +01: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
Steffen van Bergerem
f556a5210e
Refactor js search views
2016-03-04 22:55:39 +01:00
Benjamin Neff
f913128967
don't add public shareables to aspect_visibilities
2016-03-04 20:13:52 +01:00
Steffen van Bergerem
bf17205c17
Fix some publisher.scss scss-lint errors
2016-03-04 18:02:22 +01:00
Steffen van Bergerem
f06ff01c9e
Remove jquery.hotkeys
2016-03-04 18:02:22 +01:00
Steffen van Bergerem
bee08daca6
Remove jquery-elastic
2016-03-04 18:02:22 +01:00
Steffen van Bergerem
f948120ba6
Refactor keycodes
2016-03-04 18:02:22 +01:00
Augier
e34960392c
Code simplifications and typo
2016-03-04 18:02:22 +01:00
Augier
8f021be20b
Do not instanciate publisher if not publisher element is present
2016-03-04 18:02:22 +01:00
augier
b1d60d7c9a
Jasmine tests
2016-03-04 18:02:22 +01:00
augier
f1e8c57c26
CSS guidestyle
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
75c3e6068c
Merge branch 'stable' into develop
2016-03-03 17:58:05 +01:00
Steffen van Bergerem
b98af83c9d
Sort tag search result by name
...
closes #6734
2016-03-03 17:57:58 +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
b69361838b
Merge pull request #6621 from Fensterbank/6610-improved-gallery
...
add a card footer in gallery containing meta data and link to single post view
2016-03-02 21:47:53 +01:00
Frédéric Bolvin
e8bddcc7a7
add a card footer in gallery containing meta data and link to single post view
2016-03-02 19:50:32 +01:00
Dennis Schubert
51366e287c
Merge pull request #6719 from cmrd-senya/pkey_archive
...
Include a private key to the user data export archive
2016-02-26 11:41:04 +01:00
Steffen van Bergerem
70a67e1824
Fix reshare icon style regression from #6709
2016-02-25 17:42:42 +01:00
cmrd Senya
6d9fa06e32
Include a private key to the user data export archive
...
In order to allow a user to notify his contacts of his migration
with a trustworthy signature the old private key must be available
to the new pod where we import data.
2016-02-25 13:38:24 +03:00
Dennis Schubert
51eb3a79fc
Merge pull request #6718 from svbergerem/fix-contacts-page-notification-count
...
Fix notification count change on contacts page
2016-02-25 09:26:34 +01:00
Dennis Schubert
477e2572ac
Merge pull request #6717 from svbergerem/fix-contacts-page-style-regression
...
Fix style regression on contacts page from #6697
2016-02-25 09:24:42 +01:00
Dennis Schubert
de37bbbed0
Merge pull request #6712 from svbergerem/spv-avatar-alignment
...
Improve interaction avatar alignment for SPV
2016-02-25 09:24:28 +01:00
Steffen van Bergerem
dafafcd680
Fix notification count change on contacts page
2016-02-24 23:56:01 +01:00
Steffen van Bergerem
5692190f09
Fix style regression on contacts page from #6697 for notification dropdown and no contacts well
2016-02-24 22:46:47 +01:00
cmrd Senya
8683067ace
Remove #publisher_photo_upload from haml
...
It seems like #publisher_photo_upload is relict of blueprint.
It was removed from CSS in 0c7d319fdc and
probably was unused even before. So remove it from publishers.
2016-02-24 13:47:45 +03:00
Steffen van Bergerem
f9fe64da23
Improve interaction avatar alignment for SPV
2016-02-23 22:15:43 +01:00
Dennis Schubert
5e02dd0864
Merge pull request #6709 from svbergerem/unify-spv-ui
...
Adjust the SPV design
2016-02-23 11:47:09 +01:00
Steffen van Bergerem
d9e3f3a734
Merge branch 'stable' into develop
2016-02-23 09:38:53 +01:00