Commit graph

1715 commits

Author SHA1 Message Date
Benjamin Neff
d3632e116a
Merge branch 'next-minor' into develop 2018-01-05 01:50:27 +01:00
Benjamin Neff
c135ace407
Fix notifications when people remove their birthday date
Some people may remove their birthday date after the notification was
sent, which then breaks the notification page for other users. Let's
just display the date when the notification was created, and not display
the users updated birthday date. When users update from date A to B it
always looks weird anyway, when we display the same new date B twice on
different days, or display two different dates for the same user.

We could remove notifications when users change or remove their
birthday, but that would be way more complex and also we usually don't
remove notifications (not even for deleted posts).

Fixes #7689

closes #7691
2018-01-05 01:50:11 +01:00
Benjamin Neff
a2ca74265c
Merge branch 'next-minor' into develop 2017-12-30 15:41:04 +01:00
Janakas
2e3b7dee1e
Check for a running redis in script/server
Fixes #5267

closes #7685
2017-12-30 15:40:30 +01:00
Benjamin Neff
151a169791
Merge branch 'next-minor' into develop 2017-12-25 20:55:27 +01:00
Benjamin Neff
ba85f35ae9
Merge branch 'release/0.7.2.0' into next-minor 2017-12-25 20:55:22 +01:00
Benjamin Neff
e0eb76eb2a
Remove aspect_ids parameter from publisher
closes #7683
2017-12-25 20:54:10 +01:00
Benjamin Neff
c3c0059734
Merge branch 'next-minor' into develop 2017-12-18 04:57:11 +01:00
Benjamin Neff
c5536395c0
Start 0.7.3.0 cycle 2017-12-18 04:55:45 +01:00
Benjamin Neff
d42801a737
Merge branch 'next-minor' into develop 2017-12-18 04:41:49 +01:00
flaburgan
53603917eb
Fix deformed hovercards avatar
closes #7656

fixes #6039
2017-12-18 04:40:13 +01:00
Rete2
fc33a2ac5d
Create birthday notification and mailer
closes #7624

fixes #1649
2017-12-18 04:34:35 +01:00
Benjamin Neff
21980681b1
Merge branch 'next-minor' into develop 2017-11-01 00:50:23 +01:00
Benjamin Neff
89eeec72d3
Merge branch 'master' into next-minor 2017-11-01 00:50:17 +01:00
Benjamin Neff
7c4648030f
Run rake directly without xvfb on travis
closes #7654
2017-11-01 00:46:36 +01:00
Benjamin Neff
6351399197
Merge branch 'next-minor' into develop 2017-10-27 02:27:11 +02:00
Benjamin Neff
70410d1691
Ignore invalid diaspora:// links
Fixes #7651

closes #7652
2017-10-27 02:26:52 +02:00
Benjamin Neff
30a940f483
Merge branch 'next-minor' into develop 2017-10-20 02:56:20 +02:00
Benjamin Neff
4bf0a74382
Merge branch 'release/0.7.1.0' into next-minor 2017-10-20 02:56:16 +02:00
Benjamin Neff
0f688b9d73
Group notifications by updated_at
The notifications need to be grouped by the same date as they are
sorted, otherwise the date used for the group doesn't match all
timestamps in the group and also the groups are sorted by the wrong
date.

This fixes #7647, a regression of #7568.

closes #7648
2017-10-20 02:56:06 +02:00
Benjamin Neff
66095e3f03
Merge branch 'next-minor' into develop 2017-10-18 01:08:48 +02:00
Benjamin Neff
31559ce483
Merge branch 'release/0.7.1.0' into next-minor 2017-10-18 01:08:35 +02:00
Benjamin Neff
9673f45ff9
Cleanup empty signatures
Some relayables from redmatrix and hubzilla have empty signatures. They
are invalid and break therefore the user data export.

closes #7644
2017-10-18 01:08:26 +02:00
Benjamin Neff
d6bec055e7
Merge branch 'next-minor' into develop 2017-10-17 01:39:46 +02:00
Benjamin Neff
1ac0dfbbbc
Merge branch 'release/0.7.1.0' into next-minor 2017-10-17 01:39:39 +02:00
cmrd Senya
2e9c6f46dc
Clean up invalid contacts from the DB
Cleans invalid contacts where the referenced user was deleted from the DB or where
the referenced person owner was deleted from the DB.

closes #7632
2017-10-17 01:39:22 +02:00
Benjamin Neff
a36d22d72b
Handle duplicate account migrations
closes #7641
2017-10-17 01:36:25 +02:00
Benjamin Neff
2bd9c663c5
Add rake task to rerun failed account deletions
closes #7639
2017-10-17 01:33:43 +02:00
flaburgan
faff140a3f
Avoid page to jump to top after a post deletion, fixes #7628
closes #7638
2017-10-17 01:30:12 +02:00
Benjamin Neff
2711b9dc83
Cleanup relayables where the signature is missing
When we should have the signature but don't have it, the user data
export fails. There are a few comments from back in 2011 where the
signature is missing.

Also some podmins maybe messed with signatures in their database, which
would also break the exports now.

closes #7637
2017-10-17 01:27:00 +02:00
Benjamin Neff
32067246df
Delete people with invalid diaspora IDs (friendica with path)
closes #7630
2017-10-17 01:23:47 +02:00
Benjamin Neff
4bbb25fedf
Merge branch 'next-minor' into develop 2017-09-28 23:39:56 +02:00
Benjamin Neff
1b6ffa2528
Start 0.7.2.0 cycle 2017-09-28 23:38:57 +02:00
Benjamin Neff
0029f2c1da
Merge branch 'next-minor' into develop 2017-09-28 23:11:56 +02:00
Benjamin Neff
fd36517dee
Limit the number of parallel exports that are allowed to run
closes #7629
2017-09-28 23:11:46 +02:00
Benjamin Neff
b8fb4b6251
Delete invalid oEmbed caches with binary titles
There are a few old oEmbed caches which have the title saved in binary
(because they contain Chinese characters). This fails with
`ActionView::Template::Error ("å" from ASCII-8BIT to UTF-8)`. Since I
found only very old OEmbed caches with this problem (newest from 2012),
I think we can just remove these. When I create a new oEmbed cache for
the same URL it creates it without `!binary`.

closes #7620
2017-09-28 23:10:07 +02:00
Benjamin Neff
3fafcd9307
The diaspora ID validator now validates if it is lowercase
Relaying relayables will fail with non-lowercase authors.

closes #7625
2017-09-28 23:08:41 +02:00
Benjamin Neff
829882cf58
Merge branch 'next-minor' into develop 2017-09-28 03:28:30 +02:00
Benjamin Neff
95fbd3fc66
Don't change the filename of the export everytime the user is touched
closes #7622
2017-09-28 03:28:15 +02:00
Benjamin Neff
ac39e920c8
Add camo to NodeInfo
closes #7617
2017-09-28 03:20:31 +02:00
Benjamin Neff
760b928902
Merge branch 'next-minor' into develop 2017-09-26 04:07:43 +02:00
cmrd Senya
c6ed850a85
Memory usage optimization for archive export
- Removed posts and non contacts from other's data
- Collections are exported in batches to lower memory footprint
- In base exporters create User object instead of keeping instance because it caches all associations

closes #7627
2017-09-26 04:07:18 +02:00
cmrd Senya
9ee9dbe969
Fix local migration run without old private key
It was possible to run migration locally without providing old private
key. This way migration was performed but not dispatched, which obviously
leads to desynchronization of the federation state so let's validate sender
before performing any actual actions.

closes #7558
2017-09-26 04:06:16 +02:00
Benjamin Neff
d410b62323
Merge branch 'next-minor' into develop 2017-09-19 20:28:36 +02:00
Benjamin Neff
c8340f7d28
Merge branch 'master' into next-minor 2017-09-19 20:26:57 +02:00
Benjamin Neff
13d6c23713
Bump nokogiri for a security release 2017-09-19 20:20:57 +02:00
Benjamin Neff
9f18d5ba82
Merge branch 'next-minor' into develop 2017-09-18 03:25:02 +02:00
Benjamin Neff
655fe2a912
Cleanup invalid polls without status message
closes #7614
2017-09-18 03:24:52 +02:00
Benjamin Neff
26a9e50ef9
Merge branch 'next-minor' into develop 2017-09-17 19:36:00 +02:00
Benjamin Neff
4c967903fe
Remove rails_admin_histories table
This was a leftover from rails_admin which was removed in #7440.

closes #7597
2017-09-17 19:35:50 +02:00