Steffen van Bergerem
b84eff62ea
Improve status message creation service spec
2016-06-12 11:48:11 +02:00
Dennis Schubert
520d80cc1a
Merge branch 'stable' into develop
2016-06-09 03:19:35 +02:00
Steffen van Bergerem
a14c61300e
Remove the publisher from the photos page
...
closes #6851
2016-06-09 03:17:52 +02:00
Dennis Schubert
53808847a2
Merge branch 'stable' into develop
2016-05-07 18:52:34 +02:00
Ralin Chimev
1773e3e35d
Do not change notification timestamp when making it read or unread.
...
Marking a notification as unread resets the timeago stamp causing
the times to look wrong. It can be reproduced by marking an old
notification as unread. Using the update_column instead of
update_attribute will not touch the updated_at attribute, and
thus will not affect the updated time ago in the view.
Fixes #6798 .
closes #6821
2016-05-07 18:52:27 +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
Dennis Schubert
a414fb2381
Merge pull request #6747 from cmrd-senya/rspec-fixup
...
Fix usage of hard-coded pod URI in rspec testsuite
2016-04-05 17:52:50 +02:00
Steffen van Bergerem
c8a8110cf1
Merge branch 'stable' into develop
2016-03-30 11:13:47 +02:00
Dennis Schubert
4617629098
Add spec for PeopleHelper#birthday_format
...
closes #6738
2016-03-30 11:13:35 +02:00
Dennis Schubert
e95c742aa1
Merge branch 'stable' into develop
2016-03-30 10:18:09 +02:00
Benjamin Neff
69f08a4a7e
add fetch callbacks
2016-03-30 10:01:54 +02:00
Benjamin Neff
a3ed9da210
changes for new federation-gem version
2016-03-30 09:45:46 +02:00
cmrd Senya
0f04414a4f
Fix usage of hard-coded pod URI in rspec testsuite
2016-03-22 15:06:30 +03: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
Jonne Haß
7c5d6886ba
Merge pull request #6729 from theworldbright/6696-api-scope-escalation-fix
...
#6696 - Fix API scope escalation
2016-03-21 13:45:18 +01:00
Dennis Schubert
3bb28ec016
Merge pull request #6757 from svbergerem/fix-mentions-input-box-submitting
...
Fix publisher overflow on submit
2016-03-18 07:28:36 +01:00
Dennis Schubert
446201b584
Merge branch 'stable' into develop
2016-03-18 07:24:44 +01:00
Benjamin Neff
6ea8cd546e
don't change AppConfig.environment.url in jsxc_helper_spec
...
closes #6748
2016-03-18 07:24:40 +01:00
Steffen van Bergerem
3210d0d260
Fix publisher overflow on submit
2016-03-18 05:04:22 +01:00
theworldbright
bb3849e4b1
Fix API privilege scope escalation
2016-03-11 17:18:21 -08:00
Benjamin Neff
80201d452e
fix randomly failing specs for public posts
2016-03-09 03:00:47 +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
df1c1ab24e
Merge pull request #6744 from SuperTux88/refactor-services
...
Refactor services
2016-03-08 23:35:43 +01:00
Dennis Schubert
d5560430ce
Merge pull request #6740 from svbergerem/refactor-cukes
...
Refactor invitations and public stream cukes
2016-03-07 18:47:52 +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
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
d872c64369
write specs for CommentService
2016-03-07 05:52:54 +01:00
Benjamin Neff
b398b115bc
refactoring CommentService
2016-03-07 05:52:54 +01:00
Benjamin Neff
b67b7cf8c6
write specs for StatusMessageCreationService
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
e4f8023b91
Add rspec test for public stream
2016-03-05 21:07:00 +01:00
Steffen van Bergerem
9d591c6433
Move some multi stream and person stream cukes to rspec
2016-03-05 11:18:55 +01:00
Steffen van Bergerem
6e6a5c1e29
Move multiple participations test to rspec
2016-03-05 11:18:55 +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
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