Jonne Haß
5068be90e8
reduce cuke failures
...
* Bump sass-rails (without effect)
* Bump mobile-fu (without effect)
* Cosmetically fix two cukes
* Refactor Taggable#tag_strings
* Rename default.css to default.css.scss (without effect)
* Fix receiving a conversation
* Pass aspect_ids instead of a relation to User#aspects_from_ids
2014-08-23 16:47:57 +02:00
Jonne Haß
dc12479070
Filter :id in User.build for now
...
Rails 4 seem to allow setting the id through supplied parameters
The controllers ported to strong_parameters should guard against
attacks over this vector, but I didn't want to remove the specs
that test this here
2014-08-23 16:34:01 +02:00
Jonne Haß
09f0665225
replace deprecated usages for all
2014-08-23 16:34:01 +02:00
Jonne Haß
a9e107364a
make status message controller spec pass and deprecation free
2014-08-23 16:34:00 +02:00
Jonne Haß
2f54d4f17d
remove conditions on association deprecation warnings
2014-08-23 16:34:00 +02:00
Jonne Haß
89afb616cf
replace deprecated scope syntax and unify it
2014-08-23 16:34:00 +02:00
Jonne Haß
33c3b38f2f
replace deprecated finder and finder_options syntax
2014-08-23 16:34:00 +02:00
Lukas Matt
2e36f8d375
Diaspora review part 1
...
* join the conditions of the inner ifs
* add a uniqueness constraint to the model
* differentiate between author is a local or a remote user
* simplify controller/mailer functions
2014-05-15 07:23:43 -04:00
Fabian Rodriguez
9fc70a03a9
remove unused variable
2014-02-23 16:48:47 +01:00
Fabian Rodriguez
8d8d3c649a
remove aspect sorting logic
2014-02-23 16:48:47 +01:00
Jason Robinson
5fe5507128
Add devise_lastseenable for user last seen tracking.
...
Adds a timestamp to user model which is touched when user comes back. Statistics active users counts now use these more reliable timestamps. Fixes #4734
2014-02-22 23:22:46 +02:00
Jonne Haß
15b1dae362
update devise to 3.2
2014-01-15 12:59:59 +01:00
Jason Robinson
db71c9c50b
Add mobile signup page captcha. Add test for user.sign_up method. Rewrite simple_captcha views to haml. Revert .rvmrc, fix indentation in config examp$
2014-01-06 22:00:53 +02:00
maruf
c17a474142
Simple captcha for signup page
2014-01-06 22:00:37 +02:00
Jason Robinson
2c83d0e846
Statistics route with general info, some user and total posts stats. By default statistics off, enabled in settings.
2013-12-02 22:35:18 +02:00
Florian Staudacher
260d86d501
refactor ConversationsController, move query builing to User model
2013-09-30 01:44:57 +02:00
Jonne Haß
efbd3c8605
Merge pull request #4344 from oliverbarnes/4124-check-twitter-write-access-before-auth
...
Issue #4124 Check write access before authorizing Twitter
2013-08-06 21:21:56 +02:00
Oliver Azevedo Barnes
55a58713a5
Issue #4124 Check write access before authorizing Twitter
2013-08-05 13:52:19 -05:00
James Fleming
9ca9a6f310
Remove duplicates and bad code habits.
...
Remove some blank line.
Do not chain bang methods.
2013-08-02 11:39:24 +02:00
James Fleming
66a07bd938
Remove attributes protection.
...
Use a blacklist approach instead of a blacklist approach in Profile#receive.
Remove attr_accessible from models and make specs pass.
2013-08-02 11:39:06 +02:00
mokus
3ba63197e8
Fixes failing tests by changing user model
2013-08-02 11:39:05 +02:00
James Fleming
0e26a496b8
Strong parameters for User
...
Fetch user params instead of require.
2013-08-02 11:39:04 +02:00
Ruxton
dce1531ba6
Changed follow_diasporahq to be configurable to auto follow any user on join.
...
Fixing example config file
Updated changelog
2013-07-06 13:02:27 +02:00
Jonne Haß
ac147cc9f4
Refactor config/ directory
...
* Get rid of early pathname requirement
* Use require_relative where approciate
* Drop unused files
* Imported new application.rb, environment.rb and environments/* from fresh Rails app
* Cleaned up boot.rb
* Load config in boot.rb
* Deduplicate environments/integration*.rb
* Move username blacklist into defaults.yml
* Ruby 1.9 Hash syntax everywhere
* Reorganize lib/diaspora/markdownify to match conventions
* Get rid of full path requires where possible
* Add dummy content to production section diaspora.yml.example to prevent warning
* Drop sqlite? method
* Move postgres? method into ConfigurationMethods
* Drop token authentication from User
2013-05-19 18:54:54 +02:00
Dennis Schubert
f3b7d57b3a
Merge pull request #3993 from MrZYX/sidekiq
...
Sidekiq (+ some cleanup)
2013-04-03 15:19:15 -07:00
Jonne Haß
704113f896
replace remaining Postzord::Dispatcher.build(self, profile).post with call to the new method
2013-03-31 16:52:18 +02:00
Jonne Haß
79a79d65d6
Bye Resque. Ohai Sidekiq.
...
* Dropped all references to Resque
* Moved all jobs under app/workers since that's the Sidekiq convention
* Renamed Jobs module to Worker to match new location
* Adapted all jobs to Sidekiq
* Replaced all enqueue calls with perform_async
* Dropped Resque hacks from specs and features, replaced with
sidekig/testing in RSpec and sidekig/testing/inline in Cucumber
* Updated scripts to start a Sidekiq server
* Inline Sidekiq sinatra app
* Let Sidekiq create the actual Redis instance
* Workaround already initialized constant warnings in service models
* Resolved ToDo in one job definition by creating proper exception clases
for some errors in receiving posts
* Added sidekiq section to configuration to make it completly
configurable to the user
* Add Sidekiq middleware for clean backtraces
* Delay HttpMulti retry to give offline pods a chance to come back up
* Do not retry on GUID already taken and alike errors
* Be graceful about deleted posts in GatherOEmbedData
2013-03-21 23:39:07 +01:00
Jonne Haß
3fc3b249e7
End the require mess
...
* Rename and reorganize post fetcher to fix autoloading, also let it use
Faradays default connection so we get nice redirects
* Add initializer to load libs at a central place
* added lib dir to autoload_once paths to increase thread safety
* Moved lib/exceptions.rb to lib/diaspora/ to conform namespacing
2013-03-21 23:37:53 +01:00
Jonne Haß
1f4787aa6d
Merge pull request #3980 from L3MNcakes/feature/facebook_delete
...
Feature/facebook delete
2013-02-18 11:17:51 -08:00
L3MNcakes
1120cba5f0
Issue #3939 : Posts to Facebook do not delete
2013-02-18 18:21:59 +00:00
Florian Staudacher
4cbae601e8
[WIP] aspect membership dropdown Backbone.js rework
...
* initial backbone port
* changed AspectMembershipsController#destroy to use aspect_membership_id
* included rudimentary jasmine specs
* more specs, updating the list elements after de-/selection
* update selected aspect count on button
* don't even try to render html in AspectMembershipsController
* more specs for button summary text
* adapt aspect management on contacts page and in the popup boxes
* adapt inline creation of aspects + memberships
TODO
* more tests
2013-02-17 13:40:10 +01:00
Jonne Haß
c59bb35087
Merge pull request #3754 from marpo60/housekeeping
...
Housekeeping2
2012-11-22 01:06:30 -08:00
Jonne Haß
5f6e03cfe5
Merge pull request #3714 from marpo60/refactor
...
Housekeeping
2012-11-22 01:06:05 -08:00
Fabián Rodríguez
99abc22403
remove unused methods
2012-11-21 18:26:17 -02:00
Dennis Schubert
ae53254259
Really remove Devises timeoutable...
...
... and force it to really remember the session by a hidden field.
2012-11-14 20:32:15 +01:00
Fabián Rodríguez
4056c0da9e
remove unused method #can_add?
2012-11-06 21:39:36 -02:00
Dennis Schubert
5ea998a382
Change 'unless' to 'if' again because 'unless' is wrong here.
...
Also, add some specs and add it to the changelog.
2012-10-24 00:27:45 +02:00
Jonne Haß
4b5b7fc77f
Revert "Merge pull request #3655 from denschub/feature/fix-followhq-setting"
...
This reverts commit b0fc95764d , reversing
changes made to 0057e9ed46 .
2012-10-21 22:12:36 +02:00
Dennis Schubert
7dc629179b
Change 'unless' to 'if' because 'unless' is wrong here.
2012-10-12 00:59:42 +02:00
Jonne Haß
89c1fd5f7f
query the set url only through #pod_uri in the app
2012-09-26 20:19:37 +02:00
Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Devendra
a2fa083c3e
added rspec tests and refactored user model to use scope, for daily, monthly, and yearly actives
2012-09-22 01:56:34 +05:30
Jonne Haß
142e38e78b
update devise
2012-09-12 13:29:57 +02:00
Jonne Haß
ab0ad630df
strip last beta leftovers and fix syntax errors, travis is kinda down, lets hope nothing breaks while I sleep
2012-09-12 05:48:12 +02:00
Steven Hancock
a2f208b013
User model - mass-assignable attributes fix
...
`:username`, `:email` and `:remember_me` should be mass-assignable.
fixes #3377
2012-06-18 16:58:36 -07:00
Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Maxwell Salzberg
471ce309ea
kill your darlings; remove diaspora_client with fire
2012-05-17 14:55:53 -07:00
Maxwell Salzberg
eaedfc9827
create a new publisher using the new composer. only for beta users
2012-05-09 16:55:33 -07:00
Maxwell Salzberg
e79d78302e
when a user is invited from a beta user, they are also beta
2012-05-04 17:38:08 -07:00
danielgrippi
b3a5b8a369
only segment by beta / non-beta [ci skip]
2012-04-29 13:19:07 -07:00
danielgrippi
c06e8b3329
track anonomous user segments via analytics (let's see how successful the beta channel features are)
2012-04-29 11:37:05 -07:00
Maxwell Salzberg
592a3f99b5
Role system to replace the yml admins and community spotlight. we can
...
also now add a beta role
2012-04-27 16:14:43 -07:00
Dennis Collinson
062de4c269
MDC DC New Profile shows users info
...
Profile show json
Profile backbone model
2012-04-21 13:12:56 -07:00
Maxwell Salzberg
8ef49586c3
update foreman
2012-04-03 23:02:16 -07:00
danielgrippi
9c0ed946a7
no more rspec failures; and suppress a warning with a backported
...
monkeypatch
2012-03-21 13:50:24 -07:00
Maxwell Salzberg
a2aabeb599
remove ActiveSupport::SecureRandom
2012-03-21 13:49:34 -07:00
Maxwell Salzberg
11505a386c
adding a test for decremented invites, as, and check the invite is valid in the controller
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
319b3c4d3b
fixed rspec tests, more fit and finish around how the invite code works,
...
and improving admin functionality
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
7bac633987
invite_link functionailty mostly works
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
ab727fc846
federation logger now in place.
2012-02-16 17:58:15 -08:00
Maxwell Salzberg
063912287c
use the user presenter, luke
2012-02-16 13:19:14 -08:00
Maxwell Salzberg
7a565b051d
added some methods to make it easier to figure out how many active users a pod has
2012-02-13 16:56:25 -08:00
Dennis Collinson
14b9f5dc5b
move user modules into user namespace.
2012-02-09 19:01:01 -08:00
Dennis Collinson
f3c1eff3e9
Refactor Relayable Creation
2012-02-09 19:01:00 -08:00
Dennis Collinson
9e1816dc12
Participations are a federated, relayable model :)
2012-02-09 19:01:00 -08:00
danielgrippi
a3e13e3c0e
User#like! method.
2012-02-03 14:42:03 -08:00
Sarah Mei
085d6552b3
Drop comments, likes, and PMs from people who the (post/conversation) owner is ignoring.
2012-02-01 17:52:11 -08:00
danielgrippi
02021584a7
EvilQuery for Participation, refactor comment creation
...
you can now create a comment with User#comment!(post, text)
2012-02-01 15:09:31 -08:00
Maxwell Salzberg
718c4fd38c
refactor status_message_controller#create to suck less. it still sucks
2012-01-27 02:23:37 -08:00
danielgrippi
c133c16dc2
DG MS; don't fetch people or contact objects (you don't need) on multi stream.
2012-01-26 14:52:31 -08:00
danielgrippi
005b165e87
defer dispatching to help app processes not bloat in memory
2012-01-26 13:24:53 -08:00
Maxwell Salzberg
c23e6d9afd
dispatcher#post should not take opts
2012-01-26 13:24:53 -08:00
danielgrippi
5721c9e512
remove depricated methods
2012-01-18 13:29:43 -08:00
Maxwell Salzberg
254860bddc
SM MS; Read email sent to diaspora-dev for more information about this
...
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08:00
Maxwell Salzberg
b09e76a0ce
introduce base_pod_uri, so we can support domains that use www and [bare] with webfinger
2012-01-17 17:34:42 -08:00
danielgrippi
aed413b463
remove unused method and controller action (move_contact)
2012-01-13 12:15:32 -08:00
danielgrippi
0e5bb81d66
remove all references to the websocket. bang bang.
2012-01-10 12:28:19 -08:00
Jonne Haß
52c75a7ad4
Revert "Revert "auto follow back feature""
...
This reverts commit 6408105917 .
Conflicts:
db/schema.rb
2012-01-04 13:49:56 +01:00
Maxwell Salzberg
63cdd93afc
the websocket has been completely removed, and replaced for a stub until
...
we find a better way to reimpliment it in a more sane way
2012-01-03 18:39:54 -08:00
Jonne Hass
fe82cd6609
lets not set NOT NULL fields to null…
2011-12-11 04:12:58 +01:00
Ilya Zhitomirskiy
1552b5bcc2
keep the pivate key, required for retries
2011-12-08 16:32:19 -08:00
Maxwell Salzberg
f800d50a2b
i think this works
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
0bd101dca9
change close account to clear profile, still need to dispatch account deletion xml
2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
03ca34767a
ms iz rendering nothing for hcard and webfinger if account is closed, not showing aspect dropdown if the user account is closed
2011-12-08 16:32:18 -08:00
danielgrippi
e6ed2d397a
added close account to user
2011-12-08 16:32:18 -08:00
danielgrippi
644e382cfd
DG IZ; remove more stuff associated with user; removed dependant destroys
2011-12-08 16:32:18 -08:00
Ilya Zhitomirskiy
05612ef733
ms iz wip
2011-12-08 16:32:18 -08:00
danielgrippi
6408105917
Revert "auto follow back feature"
...
This reverts commit 226554becf .
Conflicts:
config/locales/diaspora/en.yml
2011-11-14 17:18:43 -08:00
Kevin Fitzpatrick & Tim Frazer
84e4866e6b
Merge branch 'master' of github.com:diaspora/diaspora
2011-11-14 12:33:10 -08:00
Kevin Fitzpatrick & Tim Frazer
96f2aaa57a
Background sending password reset instructions.
2011-11-14 12:30:47 -08:00
Jonne Hass
226554becf
auto follow back feature
2011-11-14 20:25:11 +01:00
Jonne Hass
9ffeef9d20
Merge branch 'new_user_language' of https://github.com/alda519/diaspora
2011-11-06 15:17:05 +01:00
danielgrippi
ae7944418c
DH DG; made privacy page; can now unblock a user; users are actually being blockocked in ajaxed streams
2011-11-03 12:31:24 -07:00
Dan Hansen
16e76886d9
wip
2011-11-03 12:31:24 -07:00
danielgrippi
79ec50a16c
DG MS; added setting for displaying spotlight members in soup stream
2011-10-21 14:44:02 -07:00
Maxwell Salzberg
484f46d70f
add validation which prevent user for signing up with dead username. fix cucumber features
2011-10-20 16:32:09 -07:00
Maxwell Salzberg
cb89772a6a
when connected, external services fill in profile info that you have not yet filled out
2011-10-18 10:02:24 -07:00
Manuel Schölling
bdeae54c6c
Make Photos not inherit from Posts
2011-10-16 13:58:35 +02:00
Dan Hansen
f6845c360f
Revert "change namespace from Mail to Mailers"
...
This reverts commit f859904c76 .
2011-10-09 23:34:03 -05:00