Florian Staudacher
89d468cdcc
first round of specs and code cleanups/fixes
2014-09-15 01:37:23 +02:00
Florian Staudacher
1f724dd123
* add a (hash)tag helper for handlebars
...
* re-add stream on profile page
* more controller refactoring
2014-09-15 01:37:23 +02:00
Florian Staudacher
2572fb77fc
* refactored text direction detector into helper (also for handlebars)
...
* added handlebars helper for markdown formatting
* finished port of profile sidebar view to handlebars template
* people_controller refactoring
2014-09-15 01:37:23 +02:00
Florian Staudacher
9a16560d8d
* rename profile header view to make name more accurate
...
* include 'js-routes' for rails routes in javascript
(TODO: config options?)
* add handlebars helper for rails routes
2014-09-15 01:37:23 +02:00
Florian Staudacher
fba3092c61
* cleanup people_controller#show, add people_controller#stream for json
...
* introduce new presenters and extend the functionality of the BasePresenter
* add a handlebars template for the profile sidebar, render it everytime we need to update
* introduce a 'aspect_membership:update' global event
2014-09-15 01:37:23 +02:00
Steffen van Bergerem
ba0bccbef1
Redirect conversations/new to conversations
2014-09-01 17:11:56 +02:00
Steffen van Bergerem
854dcf04db
Display new conversation form on conversations/index
2014-08-31 18:02:37 +02:00
Jonne Haß
1515848120
Merge branch 'release/0.4.1.0' into develop
...
Conflicts:
app/controllers/conversations_controller.rb
spec/controllers/conversations_controller_spec.rb
2014-08-30 20:09:08 +02:00
Jonne Haß
5d549f553b
Escape person name in contacts json
...
jQuery autoSuggest uses .html to insert it into the DOM
2014-08-30 20:06:03 +02:00
Steffen van Bergerem
3f3087c77f
Port tags page to Bootstrap
2014-08-28 18:02:02 +02:00
Steffen van Bergerem
ff84ee0485
Small style changes, add tests
2014-08-26 22:45:43 +02:00
Steffen van Bergerem
f1408a7a09
Add contacts search and port aspect membership save/destroy to backbone
2014-08-26 21:41:11 +02:00
Steffen van Bergerem
9587961883
Display all contacts in the contact list
2014-08-26 21:41:02 +02:00
Steffen van Bergerem
6461135bfd
Redesign contacts page
2014-08-26 19:18:32 +02:00
Jonne Haß
541d5580e0
Fix loading issues in rails_admin
...
Properly declare Admin module and explicitly list models to be
display in rails_admin
2014-08-26 02:57:47 +02:00
Jonne Haß
cb6c79a885
Merge pull request #5151 from khall/issue_5090
...
Fix for issue 5090
2014-08-26 01:14:45 +02:00
Jonne Haß
ef214d7681
bump http_accept_language
2014-08-25 22:06:28 +02:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
khall
6d56a6fbac
Updating with jhass's code change. Still looking into Travis failure...
2014-08-24 16:01:59 -07:00
khall
a9fd16db3e
Fix for issue 5090: Changing error message wording and providing more information to user when status message is too long.
2014-08-24 13:28:57 -07:00
Jonne Haß
01c4fa18d3
fix and stablize some cukes
2014-08-24 01:02:35 +02:00
Jonne Haß
d6d65cd0fd
apply rails 4 todos and fix specs after rebase
2014-08-23 16:47:57 +02:00
Jonne Haß
d070f19243
make rspec and jasmine pass with the new code
2014-08-23 16:47:57 +02:00
Jonne Haß
35b17d8c4f
Do not call self-modifying Enumerable methods on AR::Relation objects
2014-08-23 16:38:57 +02:00
Jonne Haß
da9c1db14f
before_action
2014-08-23 16:38:57 +02:00
Niall Paterson
f33038f105
updated before_filters to before_actions as recommended for rails 4
2014-08-23 16:34:01 +02:00
Jonne Haß
244388fcb5
make aspect membership controller specs green
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ß
2f1193fa36
Fix "prepared statements" errors
...
See https://coderwall.com/p/45ombq
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
Steffen van Bergerem
987c982bb5
Fix mobile sign in page regression
2014-08-21 22:19:14 +02:00
Jonne Haß
ec02f54613
Merge pull request #5122 from jaideng123/5113-mark-as-read-by-filter
...
Added Mark all in filter as read feature
2014-08-18 11:30:18 +02:00
jaideng123
406397988b
Made wording more clear, refactored read_all
2014-08-17 11:16:30 -05:00
jaideng123
6456a441fe
Modified behavior of mark all as read button
2014-08-17 10:12:23 -05:00
Jason Robinson
e58f0b2ad4
Terms of service and privacy policy feature.
...
If enabled, terms of service link will be shown in sign up page.
2014-08-17 17:44:44 +03:00
Jonne Haß
0127852936
Merge pull request #5112 from svbergerem/login-redesign
...
Redesign login page
Conflicts:
Changelog.md
2014-08-15 11:44:05 +02:00
Steffen van Bergerem
0d064cbefe
Redesign login page
2014-08-15 00:46:20 +02:00
Błażej Pankowiak
2424301112
Port Community Spotlight to Bootstrap
2014-08-14 21:09:58 +02:00
Błażej Pankowiak
0ad658f98c
Port main Contact page to Bootstrap
2014-08-14 21:09:57 +02:00
Pablo Cuadrado
9c5b9b8767
:only keyword added to the layout calls
2014-08-14 04:49:50 -03:00
Pablo Cuadrado
c6511c9299
services edit page ported to bootstrap
2014-08-14 04:49:50 -03:00
Pablo Cuadrado
9e34887712
profile edit page ported to bootstrap
2014-08-14 04:49:49 -03:00
Pablo Cuadrado
855597541a
user account edit page fully ported to bootstrap
2014-08-14 04:49:49 -03:00
Steffen van Bergerem
f615ad3115
Port people search to Bootstrap
2014-07-20 18:21:13 +02:00
Błażej Pankowiak
0d0ed4db28
Port Getting Started page to Bootstrap
2014-07-04 18:06:49 +02:00
Florian Staudacher
13b716a449
allow admins to close user accounts from the backend
...
* thanks to @maxwell for the initial work on this
port admin pages to bootstrap
* improve user view on admin search page
* add 'close account' link to each user in the search results
* keep the same blue color for the admin menu
some refactoring of the routes and the admin code
* try to be more RESTful (possibly)
* use a 'UserSearch' model for search parameters and querying
add changelog entry
2014-07-01 23:33:15 +02:00
Maxwell Salzberg
cc53e1762b
A podmin can now disable a spam account from the interface.
2014-07-01 17:51:39 +02:00
Pablo Cuadrado
14fbd7b205
help page ported to bootstrap
2014-07-01 05:56:49 -03:00
Jason Robinson
831af6507d
Merge pull request #5006 from taratatach/4940-mention-notification-not-marked-as-read-when-viewing-post
...
Set mention notification as read when viewing post
2014-06-27 10:17:01 +03:00
Erwan Guyader
f92dd85748
Set sharing notification as read
...
Fix issue #4951
If the displayed user (on her profile) started sharing with the
current user, mark the notification as read
2014-06-20 10:55:17 +02:00
Erwan Guyader
126252d47a
Add test for mention notifications
2014-06-20 01:23:53 +02:00
Erwan Guyader
48a3909fe0
Set mention notification as read when viewing post
...
- If a mention for the current user and the displayed post exists,
mark it as read
- Use set_read_state instead of manually setting unread as false
2014-06-19 00:15:55 +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
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
Lukas Matt
6f65ef8437
Using save for report model
...
Instead of checking the status code I am using success and
error callbacks from model-save. In that case we have to return
json in the controller for signaling that the request was sucessfully.
2014-05-15 07:23:43 -04:00
Lukas Matt
8b8a232b17
Added diaspora copyright
2014-05-15 07:23:43 -04:00
Lukas Matt
045ced0518
Joined if statements and removed duplicated code
2014-05-15 07:23:43 -04:00
Lukas Matt
512d96bda6
Display validation errors to user
2014-05-15 07:23:43 -04:00
Lukas Matt
26d0c81dae
Added the ability to disable report-email-notification
...
Podmin can see a extra checkbox in Settings > Account
for disabling report-email-notification
2014-05-15 07:23:43 -04:00
Lukas Matt
719edcd1a7
Added missing action in report controller
2014-05-15 07:23:43 -04: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
Lukas Matt
1748d3b940
It is now possible to report comments
...
* Renamed PostReport to Report
* Added report button to SPV
* Updated rspec
refs diaspora/diaspora#4732
refs diaspora/diaspora#4710
refs diaspora/diaspora#4711
refs diaspora/diaspora#4517
2014-05-15 07:23:43 -04:00
Florian Staudacher
0d51bba959
port bookmarklet to Backbone.js, use gon for params ( fixes #4931 )
2014-04-19 17:41:21 +02:00
Jason Robinson
356096a7eb
Merge pull request #4836 from MrZYX/message_renderer
...
Introduce message renderer
2014-04-13 15:00:46 +03:00
Hincu Petru
2311b761e1
Redirect to stream_path if is destkop
2014-04-08 09:34:14 +00:00
Jannik Streek
c484b2cd0c
fixed poll icon issue, improved code, poll in bookmarklets now available
2014-03-31 18:14:07 +02:00
Jannik Streek
12fabe2fb9
finalized voting design + some design fixes + improved code
2014-03-31 18:14:07 +02:00
Jannik Streek
e4c68a4edb
improved status messages controller code
2014-03-31 18:14:07 +02:00
Jannik Streek
d0a77ce6b3
design for poll participation implemented, saving works as well
2014-03-31 18:14:07 +02:00
Jannik Streek
04199837b3
poll creation done
2014-03-31 18:14:07 +02:00
Jannik Streek
dfbe17d046
Poll input fields and data model now available
...
question field of poll now in db
fixed merge issues
2014-03-31 18:14:06 +02:00
Steffen van Bergerem
eabdc7390c
Port aspect membership dropdown and hovercards
2014-03-19 17:54:22 +01:00
Steffen van Bergerem
f217a5bc11
Add filters to notifications controller
2014-03-19 17:54:22 +01:00
Jonne Haß
d4e046ecbc
Merge pull request #4787 from hincupetru/4726-infinite-photo-stream
...
Added limit by max_time to photos#index for prevent "infinite photo stream"
2014-03-15 19:07:48 +01:00
Jonne Haß
8280556a47
Introduce message renderer
...
This new class replaces all existing server side message
rendering helpers and is the new global entry point for such
needs. All models with relevant fields now expose an instance
of MessageRenderer for those. MessageRenderer acts as
gateway between the existing processing solutions for markdown,
mentions and tags and provides a very flexible interface for
all output needs. This makes the API to obtain a message
in a certain format clear. As a result of centralizing the
processing a lot of duplication is eliminated. Centralizing
the message processing also makes it clear where to change
its behaviour, add new representations and what options
are already available.
2014-03-15 17:16:17 +01:00
Hincu Petru
e0b23b2dc4
Fixed #4726 infinite photo stream
2014-03-12 22:22:24 +00:00
Steffen van Bergerem
0cc3b10b1f
port publisher and bookmarklet to bootstrap
2014-03-10 15:15:40 +01:00
Fabian Rodriguez
8d8d3c649a
remove aspect sorting logic
2014-02-23 16:48:47 +01:00
goobertron
2a145e67ab
Update design of forgot_password and change_password forms
...
Fix redirect to stream, make labels lower-case
Fix cuke
2014-02-09 15:48:06 +00:00
goobertron
7bcea07b99
Standardise - code refs to 'messages' to 'conversations'
2014-02-09 15:44:12 +01:00
Jonne Haß
9ea6e9c166
Merge pull request #4517 from Zauberstuhl/report_post_feature
...
Added post reporter feature
Conflicts:
Changelog.md
app/assets/stylesheets/application.css.sass
db/schema.rb
2014-01-20 10:03:45 +01:00
Lukas Matt
5c9a3aaf3e
Added post report feature
...
You can report a single post by clicking the correct icon in the controler section
Workflow:
* Report a post as offensive
* Trigger alerts to every pod-admin
* Pod-admin can review it in the admin interface
* Delete the post or mark it as reviewed
2014-01-14 15:00:55 -05:00
Jonne Haß
42f790fa13
Merge pull request #4666 from jaywink/signup-form-error-redirect
...
Instead of redirect on signup form validation, render new
2014-01-11 14:08:18 -08:00
Jason Robinson
35ece9d65f
Instead of redirect on signup form validation, render new with submitted data.
2014-01-06 22:12:07 +02:00
maruf
c17a474142
Simple captcha for signup page
2014-01-06 22:00:37 +02:00
Steffen van Bergerem
55b967caf9
remove participants popover + improve conversations menu
2014-01-01 21:58:56 +01:00
Steffen van Bergerem
24310fe5a9
change layout
2013-12-15 20:14:55 +01:00
Steffen van Bergerem
c11b744a7f
port conversations view to bootstrap
2013-12-15 13:01:24 +01:00
Fabian Rodriguez
c12a45556d
fix #2645
...
* refactor a bit #weekly_user_stats
* pass 0 instead of "" to i18n
* use the first week if none is provided
2013-12-13 19:32:04 -02:00
Jonne Haß
c660c90091
Merge pull request #4612 from diaspora/drop_spv_old_code
...
Drop spv old code
2013-12-11 07:41:51 -08: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
Fabian Rodriguez
92db8cb929
remove #next and #previous from posts_controller
2013-12-01 20:55:48 -02:00
Florian Staudacher
1c4ad0986c
refactor message creation (conversations)
2013-10-20 22:46:53 +02:00
Florian Staudacher
830747a11e
refactor conversations_controller#create
2013-10-10 21:42:46 +02:00
Florian Staudacher
260d86d501
refactor ConversationsController, move query builing to User model
2013-09-30 01:44:57 +02:00
Steffen van Bergerem
324b09a72a
add help page
2013-08-26 15:26:18 +02:00
Jonne Haß
f9a3990562
do not leak photos through photos#show
2013-08-26 09:39:39 +02:00
Jonne Haß
1b7bc02eee
Merge pull request #4410 from rogerbraun/feature/spv-redesign
...
New single post view
Conflicts:
app/assets/stylesheets/application.css.sass
2013-08-22 10:37:25 +02:00
Jonne Haß
0012a82f48
add the footer to the SPV
2013-08-22 09:56:36 +02:00
flaburgan
d63dc9f0a5
Add images, fix layout rendering
2013-08-22 09:56:34 +02:00