Marcelo Briones
b154d87070
Exports user photos as zip file
2015-03-03 19:45:57 -03:00
Jonne Haß
1a7988caaa
Drop asset cache and precompilation on Travis again
2015-03-02 15:32:36 +01:00
Jonne Haß
4d540ce715
Precompile assets on Travis
2015-02-28 12:56:03 +01:00
Jonne Haß
290aded7f6
ActionMailer deliver -> deliver_now
2015-02-27 16:58:39 +01:00
Jonne Haß
6a5a407e49
Strip Unicode format characters prior post processing
2015-02-17 23:29:05 +01:00
Steffen van Bergerem
5fa6b8253e
JSHint unused and undefined variables
2015-02-08 23:41:32 +01:00
Jonne Haß
a7d652c7c9
Merge pull request #5530 from dimaursu/emoji
...
Convert MySQL fields to 4 byte unicode
2015-01-21 02:34:53 +01:00
Steffen van Bergerem
b63d8fc679
Fix markdown-it linkify blocking Firefox
2015-01-19 02:09:10 +01:00
Dumitru Ursu
dda5f71124
Add warning about encoding change
...
Add warning about MySQL collation
Fix database index length
This allows new databases to be created with utf8mb4, on MySQL. The maximum
column size is 767 bytes. Each character is 4 bytes long -> 767 / 4 = 191
characters for the column.
2015-01-19 02:19:39 +02:00
Steffen van Bergerem
2541fc74d4
Remove chars from PosixBracketExpressions that js doesn't like
2015-01-10 21:38:03 +01:00
Steffen van Bergerem
026773194a
Replace pagedown by markdown-it
2015-01-10 18:56:20 +01:00
Jonne Haß
8c09dc1916
Make tests:generate_fixtures rake task depend on spec:prepare
2014-12-18 19:09:29 +01:00
James Kiesel
e174514d69
Add JSON exporter for user profile download
2014-12-16 08:55:35 +13:00
Jonne Haß
120b46931d
Disable spring while generating secret token
...
That causes a cyclic dependency on spring being
loaded otherwise.
2014-12-11 20:10:20 +01:00
Jonne Haß
6d682d6c39
Use URI.join to assemble the URL to fetch a single post
...
That normalizes any extra / on the base URL.
2014-12-09 16:21:04 +01:00
Dennis Schubert
cc0c19b482
Merge pull request #5462 from jhass/open_graph_reader
...
Bye opengraph_parser, hi open_graph_reader
2014-12-09 04:42:20 +01:00
Jonne Haß
6836af89ad
Correctly implement OpenGraph tags
...
Just defining og:site_name indicates that we support the
OpenGraph protocol, but then we didn't set the required
properties.
2014-12-08 02:25:09 +01:00
Jonne Haß
74a6f42501
Bye opengraph_parser, hi open_graph_reader
...
opengraph_parser is basically unmainted, issues are ignored
or deliberately closed without fixing. It pollutes the global
namespace and has no verification of correctness.
The opengraph gem has basically the same issues, not really maintained,
unreleased patches on master since over a year, not really smart either.
So I created my own version and while at it, why not strive try to be
complete and robust, although it's still a work in progress.
This also improves general URL detection by parsing them
from the message after stripping markdown.
An additional dependency was added to support
fetching sites that require cookies to work at all.
For the same reason Faraday's default redirect limit was
bumped.
2014-12-08 02:01:31 +01:00
Jonne Haß
a580171e32
Replace spork with spring, update & use binstubs
...
Spring is the recommended application preloader for rails
2014-12-01 08:06:07 +01:00
Steffen van Bergerem
f6fbbbb5f6
Move tag prefill to Backbone, add tests
2014-11-30 17:14:05 +01:00
Steffen van Bergerem
55b60f7bde
Remove unused files in lib
2014-11-22 21:21:38 +01:00
Dennis Schubert
aec00f834f
Add Camo for <img>-tags inside Markdown contents
2014-11-10 02:19:45 +01:00
Jonne Haß
c7c57d40f5
Merge pull request #5380 from Faldrian/feature/3098-publisher-imageupload-layouterror-fix
...
Feature/3098 publisher imageupload layouterror fix
2014-11-09 18:52:13 +01:00
Dennis Schubert
6808150920
Method calling convention and doc improvements
...
... and a stealth-commit of an already introduced bug prevention system.
;)
2014-11-09 07:20:30 -08:00
Dennis Schubert
fd63fca7d5
Add Camo to MessageRenderer#markdownified
...
for mobile views
2014-11-09 07:29:36 +01:00
Dennis Schubert
5c9cc49363
Only RegEx if there is something to RegEx
2014-11-09 02:16:28 +01:00
Dennis Schubert
cca0c9eec4
Some refactorings, safer regex
2014-11-08 23:12:45 +01:00
Dennis Schubert
92cd4e6b78
Use camo for Markdown images
...
just a quick proof of concept
2014-11-08 05:14:18 +01:00
Faldrian
db13811c2c
added scrollbar to bookmark publisher, fixed mention layout bugs
2014-11-07 19:17:54 +01:00
Paul Hill
fa9989cecf
change x11 to expat license
2014-10-21 15:42:21 +01:00
Paul Hill
f3d1176354
Added more LibreJS support
2014-10-21 15:39:02 +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ß
66c2f7f869
Fix statistics_presenter_spec
2014-10-04 01:01:19 +03:00
Jonne Haß
499ff6e0f4
Fix receiving a relayable retraction through the public route
2014-09-20 15:03:53 +02:00
Jonne Haß
5ca1c1d295
Raise on 404 during Webfinger
...
That's at least readable, return false just causes
silly follow up errors
2014-09-20 13:47:52 +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ß
1b0de7f7cc
skip assets precompilation for cucumber run
2014-08-27 18:38:43 +02:00
Jonne Haß
3387bbca74
skip assets precompilation for regular run
2014-08-27 18:37:14 +02: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ß
8de29bc28d
bump faraday and faraday_middleware. closes #4950
2014-08-25 19:16:55 +02:00
Jonne Haß
42b08e8ab8
Update to Rails 4.1
2014-08-25 17:37:02 +02:00
khall
41dc950a06
Adding scope for account_deletion to get only those that are uncompleted and then adding that scope to accounts.rake. Tested it out and it works well
2014-08-24 19:02:11 -07: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ß
d6d65cd0fd
apply rails 4 todos and fix specs after rebase
2014-08-23 16:47:57 +02:00
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ß
0d42285496
Do not update_attributes with a nil id
...
Rails 4 accepts that as a parameter thus setting the id to nil
thus thinking it'd be a new record when we just want to update
it
2014-08-23 16:38:57 +02:00
Jonne Haß
ceee5baae6
raise original exception in i18n interpolation fallback middleware
2014-08-23 16:34:01 +02:00
Jonne Haß
2d57e15d5d
Remove :without_protection from call in the posts fetcher and fix a couple hundreds specs as a side effect
...
Heisenbugs ftw.
2014-08-23 16:34:01 +02:00
Jonne Haß
7e7082a3bd
Fix expectations for changes in generated HTML
...
Just a minor change, supplied attributes now go before the
standard ones
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ß
a9e107364a
make status message controller spec pass and deprecation free
2014-08-23 16:34:00 +02:00
Jonne Haß
2cca5745c9
remove deprecated scoped
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
Jonne Haß
d75632401b
make everything boot again
2014-08-23 16:34:00 +02:00
Steffen van Bergerem
9e32eb370a
Remove unused js code for login page
2014-08-19 09:25:48 +02:00
Jason Robinson
d0b37fa7ee
Rescue from an exception when sending emails in podmin:admin_email
2014-08-17 18:14:36 +03:00
Jason Robinson
a4eafe8a87
Allow sending emails with custom subject via Notifier.admin
2014-08-17 18:02:16 +03:00
Jason Robinson
6dd1e31337
Rake task for Notifier.admin to send emails to users
2014-08-17 18:02:16 +03:00
arlogn
2394c3df39
flexible font-size for sign_in podname huge text
2014-07-06 19:18:21 +02:00
Jonne Haß
f23fb6b6cb
Actually allow false as a value for sidekiq.backtrace in our Sidekiq
...
middleware
2014-06-13 16:04:40 +02:00
Jonne Haß
fc1f249129
Harden account deletion
...
* Wrap it into a transaction
* Use destroy over delete so dependent destroys get triggered
and we thus don't fail on the foreign key constraits
* Check if a photos status message actually exists before accessing
it
* Add missing dependent destroys
2014-05-27 00:15:15 +02:00
Jonne Haß
77133a4062
Merge pull request #4963 from Ruxton/feature/rake_task_to_run_account_deletion_fixes_4792
...
Rake task for running outstanding account deletions
2014-05-24 18:03:10 +02:00
Jonne Haß
cbd9c56a7a
Merge pull request #4919 from hpetru/4776-mention-on-mobile
...
Unescape text before add mention, this commit solve #4776
Conflicts:
Changelog.md
2014-05-24 17:34:29 +02:00
Jonne Haß
d36589e05b
Remove hack from exporter
...
I couldn't reproduce what the comment states anymore, so I just removed
it. This fixes a minor issue where html wouldn't be escaped in the
export.
Thanks to A Kai (@sixhundredns) for reporting.
2014-05-24 15:27:13 +02:00
Ruxton
ba223fd3d7
Rake task for running outstanding account deletions
2014-05-19 16:05:16 +08:00
Lukas Matt
e4adb7e11b
Ignore user report associations
2014-05-15 07:23:44 -04:00
Hincu Petru
e699a682f4
Unescape text before add mention, this commit solve #4776
2014-05-06 12:13:43 +00:00
Gabriel Lima
00b6a39ad5
fix bug #4832 select language for email content when invite a friend
2014-04-14 18:56:29 -03:00
Jason Robinson
356096a7eb
Merge pull request #4836 from MrZYX/message_renderer
...
Introduce message renderer
2014-04-13 15:00:46 +03:00
Jason Robinson
6947a1945c
Merge pull request #4883 from MrZYX/uuid
...
Use uuids for guid generation
2014-04-11 16:40:57 +03:00
Jannik Streek
095d616198
fixed federation issue due to missing delegation + test + some minor tweaks
...
fixed indenting
renamed test
2014-04-06 20:58:58 +02:00
Steffen van Bergerem
35b1ba088e
Fix ui glitch in Bootstrap publisher
2014-03-31 22:38:45 +02:00
Jannik Streek
d0a77ce6b3
design for poll participation implemented, saving works as well
2014-03-31 18:14:07 +02:00
Jannik Streek
8a4f833d1d
added more tests for the poll federation + fixed broken rspec tests
2014-03-31 18:14:06 +02:00
Jannik Streek
fe67bdf2e7
added tests for poll federation and impl for the federation itself. Still in progess
2014-03-31 18:14:06 +02:00
Hincu Petru
2be528494a
Fix jquery.mentionInput.js plugin
2014-03-31 08:51:40 +00:00
Jonne Haß
98057885ac
use uuids for guid generation
2014-03-30 15:38:18 +02: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
Jonne Haß
bd24cb71a4
Fix plaintext mode for mentionable
...
Also slight refactors to it.
2014-03-09 14:02:15 +01:00
Darshan Rai
1f782dace9
Moved mentionsInput.js from vendor/assets to lib/assets
...
The jquery.mentionsInput plugin upstream is no longer maintained.
2014-02-10 23:19:50 +05:30
Ruxton
c8a0c81b6a
Updating queries for the stream to be faster
2014-02-07 14:23:19 +08:00
Raphael Sofaer
de593f6e9f
Do not retry sending out posts on SSL errors. See #4728
...
Refactor HydraWrapper so the when-to-retry logic is in the worker
2014-01-27 15:45:45 -08:00
Steffen van Bergerem
3d4bdfb665
Drop number of followers from tags page
2014-01-21 14:49:05 +01:00
Dennis Schubert
6fc5ccb9f9
Merge pull request #4511 from MrZYX/bump_devise
...
update devise to 3.2
2014-01-15 13:17:48 -08:00
Jonne Haß
15b1dae362
update devise to 3.2
2014-01-15 12:59:59 +01:00
Ivan Zotov
a4ce6e267a
Fix after_create to after_commit
2014-01-14 22:35:29 +04:00
Fabian Rodriguez
78c923de89
Merge pull request #4197 from MrZYX/bump_sidekiq
...
Update Sidekiq
2013-12-21 05:20:54 -08: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
Jonne Haß
a9e52528c1
bump sidekiq
2013-12-08 14:03:08 +01:00
Fabian Rodriguez
2b8c8a58ee
fix i18n fallback after i18n update
2013-12-05 11:35:13 -02:00
Fabian Rodriguez
6c8c4fc99e
remove template picker functionality
2013-12-03 20:53:00 -02:00
Florian Staudacher
260d86d501
refactor ConversationsController, move query builing to User model
2013-09-30 01:44:57 +02:00
Colin Dean
a4ce4404ff
change bitcoin_wallet_id to bitcoin_address
...
It is better to call it an address than a wallet ID, because the latter may
confuse Bitcoin users who conflate the two. They are not the same.
Also adds convenience method to handle the deprecated variable.
2013-08-31 20:16:23 -04:00
Jonne Haß
0cdfc7cfbd
Make I18n systems more robust against missing keys in pluralization data
...
Should make situations like #4468 less frequent
2013-08-30 19:31:48 +02:00