Jonne Haß
f257658e46
Revert "Revert "Merge pull request #5852 from margori/3393-activity-stream-keeping-retracted-participations""
...
This reverts commit 2c7848e3cb .
2015-05-04 00:43:41 +02:00
Jonne Haß
2c7848e3cb
Revert "Merge pull request #5852 from margori/3393-activity-stream-keeping-retracted-participations"
...
This reverts commit 096fa2ddbb , reversing
changes made to f7d1105148 .
2015-05-04 00:36:27 +02:00
Benjamin Neff
28c9cfdfd4
write cucumber test and add order_id on create
2015-04-28 02:38:28 +02:00
Marcelo Briones
6636a89118
Add participation counter
2015-04-11 14:41:17 -03:00
Jonne Haß
65a738e604
bump rspec-rails
2015-03-25 02:33:56 +01:00
Martha
d4f1a5dbe8
added specs and validations for Role model
...
- added shoulda-matchers gem for one-line specs
- added FactoryGirl syntax methods
2015-03-18 09:16:15 -07:00
Jonne Haß
256d7862b9
Merge pull request #5782 from svbergerem/reshared-poll
...
Display reshared poll
2015-03-15 20:45:51 +01:00
Steffen van Bergerem
81cd1753e4
Improve link to original post in reshared polls
2015-03-15 17:07:16 +01:00
Hincu Petru
9589cb2e0f
disable poll voting for reshared post
2015-03-15 16:46:48 +01:00
Sayed
18a1958ef8
fix too long tag name #5737
2015-03-15 16:15:33 +02:00
Marcelo Briones
b154d87070
Exports user photos as zip file
2015-03-03 19:45:57 -03:00
Jonne Haß
99ea156e1c
Refactor User.total_users into a scope
2015-02-27 16:30:51 +01:00
Jonne Haß
95053ccbf2
Merge pull request #5351 from MarcBurt/5041-Total-user-statistic-shouldnt-include-closed-accounts
...
5041 total user statistic shouldnt include closed accounts
2015-02-27 16:02:35 +01:00
Jonne Haß
be1ab6c6a3
Merge branch 'collimarco-issue5350' into develop
2015-02-27 15:33:55 +01:00
zachrab
f695b5d3e7
Set disable_mail to true
...
Add #clear_account! disable mail spec
Add migration for disabling mail for all closed accounts
Change migration to use #update_all for disable_mail attribute
Add #clear_account! false fields spec
2015-02-19 16:45:39 -08:00
Steffen van Bergerem
8962d75eb7
Conversations: fix badge count and automatic scrolling
2015-02-10 19:11:20 +01:00
Marc Burt
9f5131b6ec
Fixed #5041 with new User method to find total accounts excluding closed and invitations
2015-02-08 13:49:12 +00:00
Sam Radhakrishnan
a12c0d83c0
Fixed Bug #5593 . Added length validation to location in profile model with maximum length 255.
2015-02-02 19:42:53 +05:30
Marco Colli
eccab62e32
Allow user to enable / disable notifications for a post from stream #5350
2015-01-25 18:40:47 +01:00
Marcelo Briones
63eca447d0
Strip EXIF data as user preference
2015-01-18 10:28:28 -03:00
James Kiesel
1c69dd7752
Add contacts/posts, and GZipping JSON exporter output
2015-01-15 00:20:19 +13:00
margori
e6c605d92b
Destroy conversation when all participants leave it
2014-12-17 11:33:23 -03:00
Marcelo Briones
4e83e4c7ed
BUG: new messages to person that is not sharing
...
Conversation recipient validated
- Conversation foreign recipient not required to be validated.
- Added 'peter' as spec_helper user.
- New fixture, new statistic values.
- Clearer identifier names
2014-12-10 17:02:20 -03:00
Jonne Haß
f4c756cd34
use URI.join in the specs too
2014-12-09 17:27:27 +01:00
Jonne Haß
5af0b1cbdd
don't use 666 as non-existant ID in report model spec
2014-11-30 21:56:27 +01:00
Jonne Haß
f361a0f885
Merge pull request #5288 from jaywink/remove-old-users
...
Maintenance feature to remove old users, scheduled in settings
2014-10-17 01:00:51 +02:00
Augier
2ce98b49d7
Fix issue #4416
...
Conflicts:
spec/helpers/notifier_helper_spec.rb
2014-10-16 23:27:48 +02:00
Jason Robinson
69c3566958
Maintenance feature to remove old users
...
Add Sidetiq webview to the Sidekiq monitoring panel
Add rake task maintenance:queue_users_for_removal
This basically just triggers an immediate run of the normal maintenance remove old users functionality that is normally (if enabled) scheduled to run once a day via sidetiq
Add extra safety when checking for user removal due to inactivity.
Now also user.last_seen will also be checked to make sure a user will not be removed in the event that the Devise rememember me login functionality has stopped the users remove_after timestamp from being removed.
Add initializer for maintenance job.
Add warning about mail being disabled if remove_old_users maintenance is enabled.
2014-10-16 22:53:08 +03:00
Jonne Haß
eac3f042a4
Reset dynamic configuration after each example in the testsuite
2014-10-04 00:59:03 +02:00
Florian Staudacher
c7b4b77ce8
Merge pull request #5209 from jhass/federation_improvements
...
Federation improvements
2014-09-27 16:18:37 +02:00
Florian Staudacher
be86014540
rspec should now be running a green build
2014-09-15 01:37:23 +02:00
Jonne Haß
619bc3f537
A reshares root may be already gone when generating the notification
2014-09-07 10:47:47 +02:00
Jonne Haß
777e3123d6
Try fetching missing parent of relayables
...
* Extract post fetching logic from Reshare into
its own module
* raise proper error message when fetching fails
* raise proper error message when parent is still missing
We can't skip fetch failures or missing parents and
still need to retry them in case we're sent the parent
later on
2014-09-07 10:47:47 +02:00
Jonne Haß
01e0127287
Ignore embedded photos if invalid
...
For example if they're already present
Also refactor StatusMessage XML specs
2014-09-06 04:52:18 +02:00
Jonne Haß
ccd7c670b3
Merge pull request #5170 from khall/issue_5149a
...
Issue 5149a
Conflicts:
spec/controllers/aspects_controller_spec.rb
spec/controllers/contacts_controller_spec.rb
2014-08-27 18:20:56 +02:00
khall
fe492c6fb8
Fixing a .should test to expect(), adding suggested line to spec_helper to prevent the use of .should in the future
2014-08-26 17:39:13 -07:00
khall
b7c68031fa
Last rspec fix brought to you by jhass
2014-08-26 17:12:58 -07:00
khall
4edd824d3c
No deprecation warnings, but one spec still fails (but only when I run all the specs, not when I run just the one spec)
2014-08-26 17:10:29 -07:00
khall
c42916df27
Two tests failing after rspec 2.99 => 3.0.0
2014-08-26 17:10:26 -07:00
khall
027bb9fcb0
Rspec version bump to 2.99
2014-08-26 17:00:21 -07:00
Jonne Haß
f772af86a6
Merge pull request #5156 from khall/issue_5040
...
Fix for issue 5040
2014-08-26 01:16:41 +02:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
khall
6d3528c539
Fix for issue 5040: Adds completed_at column to account_deletions and sets timestamp upon successful completion. Depends on uniqueness of diaspora_handle when combined with person_id
2014-08-24 17:06:33 -07:00
Jonne Haß
09f0665225
replace deprecated usages for all
2014-08-23 16:34:01 +02:00
Jonne Haß
33c3b38f2f
replace deprecated finder and finder_options syntax
2014-08-23 16:34:00 +02:00
Jonne Haß
9537c45d2a
Merge pull request #4916 from hpetru/validate-poll-answer
...
I added the validation to poll question and poll answer
Conflicts:
app/assets/javascripts/app/views/publisher_view.js
2014-05-24 17:42:18 +02:00
Jonne Haß
0c5cc216c6
Replace vaild with valid
...
Thanks to Josias for the hint
2014-05-24 17:24:36 +02:00
Lukas Matt
8170ef8363
Validate on report that post or comment does exist
2014-05-16 09:48:14 -04:00
Jason Robinson
01381ddf25
Merge pull request #4957 from MrZYX/4956_deleted_reshare
...
Use absolute_root more consistently in Reshare
2014-05-16 10:00:31 +03:00
Lukas Matt
218845d5b4
Changed and renamed database columns
...
* changed user_id type to integer
* renamed post_id to item_id
* renamed post_type to item_type
2014-05-15 07:23:44 -04:00