Commit graph

758 commits

Author SHA1 Message Date
Daniel Supernault
4cf58e1539
Update Profile & Federation controllers, output proper AP content type 2018-08-12 21:25:55 -06:00
Daniel Supernault
a2d4b7c1fc
Update SettingsController 2018-08-12 20:50:49 -06:00
Daniel Supernault
522729b050
Update BaseApiController, add avatar update method 2018-08-12 20:38:47 -06:00
Daniel Supernault
85e4e9cf65
Update AvatarController, set max avatar size to 2mb 2018-08-12 20:37:19 -06:00
Daniel Supernault
a2eb1f02ba
Update EmailVerificationCheck middleware 2018-08-12 20:36:01 -06:00
Daniel Supernault
dcc0fb42ed
Update RestrictedNames 2018-08-10 17:29:09 -06:00
Daniel Supernault
f4f7909a06
Update web routes 2018-08-10 03:10:05 -06:00
Daniel Supernault
4b0939cbfb
Update Status model 2018-08-10 01:06:05 -06:00
Daniel Supernault
6288bd0abf
Update SiteController 2018-08-09 23:42:12 -06:00
Daniel Supernault
57a565dbba
Update ApiController 2018-08-09 23:04:21 -06:00
Daniel Supernault
1fb532995a
Update TimelineController 2018-08-09 23:01:01 -06:00
Daniel Supernault
2d519e0aa2
Update StatusController 2018-08-09 21:22:37 -06:00
Daniel Supernault
451a65cc5b
Update SiteController 2018-08-09 21:18:56 -06:00
Daniel Supernault
c077f6625d
Update SettingsController 2018-08-09 21:17:24 -06:00
Daniel Supernault
3b7077a3d3
Update ReportController 2018-08-09 21:06:42 -06:00
Daniel Supernault
328186d406
Update DiscoverController 2018-08-09 20:58:52 -06:00
Daniel Supernault
1a0661aec3
Update Report model, add new methods 2018-08-09 20:57:52 -06:00
Daniel Supernault
203034b971
Update Status model, add new methods 2018-08-09 20:57:06 -06:00
Daniel Supernault
774557e8c9
Add custom image quality to config 2018-08-09 20:31:14 -06:00
Daniel Supernault
865f852a8e
Update StatusEntityLexer 2018-08-09 20:22:32 -06:00
Daniel Supernault
305fd10519
Update Profile model, added recommendedFollowers() and keyId() methods 2018-08-09 20:10:16 -06:00
Daniel Supernault
d9ec94ba65
Update CommentController, add showAll() method 2018-08-09 20:04:48 -06:00
Daniel Supernault
b35e6d0366
Update AccountController 2018-08-09 19:56:50 -06:00
Daniel Supernault
9a5bd9fa8e Update WebFinger, remove OStatus 2018-08-05 13:30:11 -06:00
Daniel Supernault
d8b2cc7ae1 Update RestrictedNames 2018-08-05 13:24:23 -06:00
Daniel Supernault
f5fdfcf40c Update ProfileController 2018-08-05 13:20:20 -06:00
Daniel Supernault
a230265d7b Update BookmarkController 2018-08-05 13:18:33 -06:00
Daniel Supernault
86d7d1a928 Add BaseApiController 2018-08-05 13:17:28 -06:00
Daniel Supernault
4ba9e2cd6c Add infinite scroll to profiles, and support private profiles 2018-07-24 22:33:55 -06:00
Daniel Supernault
7701834538 Update FederationController 2018-07-23 21:20:46 -06:00
Daniel Supernault
8af22a1fd1 Update User model 2018-07-23 18:52:29 -06:00
Daniel Supernault
72d48696ef Update UserObserver 2018-07-23 12:53:49 -06:00
Daniel Supernault
77cd0f92c5 Update StatusEntityLexer 2018-07-23 12:53:33 -06:00
Daniel Supernault
057a652c50 Add AP SharedInbox worker 2018-07-23 11:32:19 -06:00
Daniel Supernault
e64c7be584 Add AP Inbox worker 2018-07-23 11:31:51 -06:00
Daniel Supernault
61fb01aaed Update ProfileController 2018-07-23 11:31:06 -06:00
Daniel Supernault
fec7ee8505 Update LikeController 2018-07-23 11:30:33 -06:00
Daniel Supernault
46bc5322f3 Add AuthLoginEvent 2018-07-23 11:29:20 -06:00
Daniel Supernault
bde6c0f1ff Update LoginController 2018-07-23 11:26:02 -06:00
Daniel Supernault
b9396b7f68 Update Status & StatusHashtag models to fix mass assignment bug 2018-07-17 18:12:23 -06:00
Daniel Supernault
593d532236 Update AccountController 2018-07-17 18:06:57 -06:00
Daniel Supernault
1dd7c8d189 Add UserFilter model/migration 2018-07-17 18:05:37 -06:00
Daniel Supernault
97b8ed12ab Add UserSetting model/migration 2018-07-17 18:04:36 -06:00
Daniel Supernault
74fe13a6f9 Add ReportLog model/migration 2018-07-17 18:04:04 -06:00
Daniel Supernault
9badec4280 Add ReportComments model/migration 2018-07-17 18:03:39 -06:00
Daniel Supernault
036a1158a0 Add ImportJob model/migration 2018-07-17 18:02:07 -06:00
Daniel Supernault
e334eaa809 Update LikeController 2018-07-12 16:48:19 -06:00
Daniel Supernault
005c8cffae Add API Transformers 2018-07-12 10:42:17 -06:00
Daniel Supernault
1812fa8851 Update Status model 2018-07-12 10:41:14 -06:00
Daniel Supernault
55aeab2733 Update Profile model 2018-07-12 10:40:25 -06:00
Daniel Supernault
9c9ebec1ba Update Media model, add thumbnailUrl method 2018-07-12 10:39:55 -06:00
Daniel Supernault
612082d043 Update EmailVerification Middleware
Allow login/logout routes
2018-07-12 10:39:14 -06:00
Daniel Supernault
97869fc100 Update SiteController 2018-07-12 10:37:31 -06:00
Daniel Supernault
bac7e05d6f Add AccountLog model/migration 2018-07-12 10:36:20 -06:00
Daniel Supernault
9fdce89526 Update AccountController 2018-07-12 10:34:33 -06:00
Daniel Supernault
f7cd91110d Update compiled assets 2018-06-17 23:28:34 -06:00
Daniel Supernault
56b18f3e08 Update ImageOptimizePipeline, do not optimize gifs 2018-06-14 20:54:05 -06:00
Daniel Supernault
aa32b8020c Update status template 2018-06-14 01:42:47 -06:00
Daniel Supernault
a415b421cb Add Email Verification 2018-06-13 23:30:43 -06:00
Daniel Supernault
faec46069b Update StatusDelete Pipeline 2018-06-13 21:29:20 -06:00
Daniel Supernault
47df007a7e Add Photo Filters and Photo Albums 2018-06-13 20:57:16 -06:00
Daniel Supernault
596f335dc6 Update StatusEntityLexer 2018-06-13 19:47:08 -06:00
Daniel Supernault
231884c770 Update view entity encoding 2018-06-13 18:54:27 -06:00
Daniel Supernault
4e51fbd5eb Add soft-deletes 2018-06-13 18:52:42 -06:00
Daniel Supernault
3f0ad3ffe2 Update StatusController, support multiple uploads 2018-06-13 17:14:10 -06:00
Marcin Mikołajczak
994aed0752 Add info about max bio length, make names length customizable
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-10 20:40:34 +02:00
Daniel Supernault
25bf33e64a Update CW 2018-06-09 20:34:52 -06:00
Daniel Supernault
b63b8353ad Add pagination to notifications 2018-06-09 17:36:27 -06:00
Daniel Supernault
2726f90584 Update Status model 2018-06-09 17:32:07 -06:00
Daniel Supernault
0cc736d109 Update Profile model 2018-06-09 17:31:48 -06:00
Daniel Supernault
40d1b5342a Update ProfileController 2018-06-09 17:31:14 -06:00
Daniel Supernault
545efbeee3 Update AccountController, add pagination to notifications 2018-06-09 17:30:54 -06:00
Daniel Supernault
63343ae503 Add basic CW/NSFW support 2018-06-09 16:29:36 -06:00
Daniel Supernault
dd60413394 Add MentionPipeline 2018-06-08 21:32:46 -06:00
Daniel Supernault
7bb1f10d19 Add new entity lexers 2018-06-08 21:31:42 -06:00
Daniel Supernault
33ff1f7829 Add mention model/migration/translation 2018-06-08 21:05:13 -06:00
Daniel Supernault
86efcceb4c Update LikePipeline, prevent duplicate like notifications 2018-06-07 00:14:32 -06:00
Daniel Supernault
f64cf90dda Update CommentPipeline, do not send notifications for self comments 2018-06-05 21:01:59 -06:00
Daniel Supernault
8194432073 Update Status model, add cache busting to unprocessed media urls 2018-06-05 19:54:48 -06:00
Daniel Supernault
a817875064 Add basic language picker 2018-06-05 01:49:05 -06:00
Daniel Supernault
dfbcb0ae24 Update ProfileController 2018-06-04 23:41:40 -06:00
Daniel Supernault
e9627c4c4c Update ProfileController 2018-06-04 23:25:34 -06:00
daniel
8414ed768e
Merge pull request #165 from trwnh/patch-1
lowercase name in nodeinfo
2018-06-04 22:41:54 -06:00
daniel
16f4d52476
Merge pull request #137 from Skehmatics/fix/apostrophe-bug
(Lazily) fix #131 by ignoring hashtags that begin with a ampersand in lexer
2018-06-04 22:13:40 -06:00
Daniel Supernault
4c7cf26c16 Fix N+1 in #144 2018-06-04 22:09:48 -06:00
Daniel Supernault
20432ada5f Add CommentPipeline 2018-06-04 02:25:40 -06:00
Daniel Supernault
eaf465914a Add comment notifications 2018-06-04 02:16:33 -06:00
Daniel Supernault
2a73150586 Update comment url structure 2018-06-04 00:07:40 -06:00
Daniel Supernault
e88777ed57 Add self posts to personal timeline
Closes #85
2018-06-03 21:38:29 -06:00
Daniel Supernault
4751832ad3 Fix pagination bug for like and comment events 2018-06-03 21:04:01 -06:00
Daniel Supernault
dfe451db70 Fix like count 2018-06-03 20:46:55 -06:00
Daniel Supernault
dba78c24cc Update CommentController 2018-06-03 20:20:12 -06:00
Daniel Supernault
b4394605ee Update TimelineController 2018-06-03 19:40:19 -06:00
Daniel Supernault
4ca5a9e742 Add ApiController 2018-06-03 19:39:38 -06:00
trwnh
574e7207cb
lowercase name in nodeinfo
fix #164
2018-06-03 04:04:39 -05:00
Daniel Supernault
6d5c8fb90a Fix n+1 query in status view 2018-06-03 01:15:38 -06:00
Daniel Supernault
3d657e0c52 Fix n+1 comment + like counts in status overlays 2018-06-02 20:26:49 -06:00
Daniel Supernault
c53e963537 Add supported file types and max caption length to new post form.
Closes #121 and #136
2018-06-02 16:53:35 -06:00
Daniel Supernault
b437b62780 Update Image class, remove PNG -> JPEG conversion and use orientate() method to detect proper orientation in Exif 2018-06-02 15:29:33 -06:00
Derek Schmidt
41683db2b4
Ignore hashtags that begin with a ampersand
Fixes #131

This is usually a marker of an HTML entity code.
It is possible for a user to do this on purpose,
but not horribly likely.

i hope
2018-06-02 00:06:55 -07:00
Daniel Supernault
93129fe39f Update AppServiceProvider
Closes #107
2018-06-01 17:39:45 -06:00
daniel
dcd6edb154
Merge pull request #114 from m4sk1n/settings-bio-fix
Fix “Can't update account settings without setting a bio”
2018-06-01 16:59:56 -06:00
daniel
619d51060f
Merge pull request #108 from m4sk1n/discover-fix
Do not recommend myself
2018-06-01 16:46:30 -06:00
daniel
7c4a383a65
Merge pull request #93 from neilalexander/patch-2
Use inRandomOrder instead of orderByRaw in Discover page
2018-06-01 16:34:46 -06:00
Daniel Supernault
91a6f8eba5 Add post delete method 2018-06-01 15:04:33 -06:00
Daniel Supernault
fa7d1fef2f Update RestrictedNames so users can't register a username that conflicts with routes 2018-06-01 13:57:31 -06:00
Marcin Mikołajczak
13c0e33490 Fix “Can't update account settings without setting a bio”
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-01 21:13:29 +02:00
Daniel Supernault
1b794c8508 Update StatusPipeline 2018-06-01 12:33:44 -06:00
Daniel Supernault
92939ed867 Add recaptcha to login/register form 2018-06-01 11:58:43 -06:00
Marcin Mikołajczak
71c90c8f49 Do not recommend myself
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
2018-06-01 19:05:12 +02:00
Neil Alexander
efbb1017e7
Also fix orderByRaw in SeedFollows 2018-06-01 12:23:52 +01:00
Neil Alexander
11447c13da
Use inRandomOrder instead of orderByRaw in Discover page 2018-06-01 12:13:32 +01:00
Daniel Supernault
8498779430 Fix avatar bug 2018-05-31 22:07:29 -06:00
Daniel Supernault
51aa17052f Update FederationController
Prevent outbox from returning an actor object so other federation
software does not attempt to send inbox requests until the inbox is
fully supported.
2018-05-31 21:34:04 -06:00
Daniel Supernault
753b6d4721 Add Inbox util 2018-05-31 21:17:07 -06:00
Daniel Supernault
5559bcdb8f Add ProfileOutbox Transformer 2018-05-31 21:16:43 -06:00
Daniel Supernault
05bf9b7aee Add StatusHashtag model 2018-05-31 21:15:37 -06:00
Daniel Supernault
d84b0c1d41 Add UserObserver 2018-05-31 21:15:20 -06:00
Daniel Supernault
ec2bff95b6 Add StatusPipeline 2018-05-31 21:14:46 -06:00
Daniel Supernault
e2afe175f4 Add RemoteFollowPipeline
Still a WIP
2018-05-31 21:14:15 -06:00
Daniel Supernault
fddc698a74 Update StatusController 2018-05-31 21:12:27 -06:00
Daniel Supernault
1c142d4a9b Add SiteController 2018-05-31 21:12:06 -06:00
Daniel Supernault
8fedeb4ce8 Update SettingsController 2018-05-31 21:11:56 -06:00
Daniel Supernault
e70d54763c Update ProfileController 2018-05-31 20:40:50 -06:00
Daniel Supernault
30bdd46415 Add NotificationController 2018-05-31 20:39:56 -06:00
Daniel Supernault
bfd65c1f76 Add ImportDataController 2018-05-31 20:39:48 -06:00
Daniel Supernault
d263353417 Add HashtagController 2018-05-31 20:39:35 -06:00
Daniel Supernault
a97403f3e7 Update FederationController 2018-05-31 20:38:11 -06:00
Daniel Supernault
82add854a8 Update CommentController 2018-05-31 20:37:11 -06:00
Daniel Supernault
4ab0515e76 Add AvatarController 2018-05-31 20:36:58 -06:00
Daniel Supernault
f69624eb28 Update RestrictedNames 2018-05-31 20:31:53 -06:00
Daniel Supernault
a7b186d7fb Add local timeline to TimelineController 2018-05-31 16:05:39 -06:00
Daniel Supernault
dde1e19d55 Update CreateAvatar job 2018-05-31 16:04:15 -06:00
Daniel Supernault
ab6079f2fe Update status model 2018-05-31 16:03:43 -06:00
Daniel Supernault
21d7e47673 Update profile model, use proper follower relationship and add new methods 2018-05-31 16:03:31 -06:00
Daniel Supernault
c8cb48a835 Update user model 2018-05-31 16:02:41 -06:00
Daniel Supernault
6f8122bed6 Add ActivityPub DiscoverActor util 2018-05-31 16:02:24 -06:00
Daniel Supernault
27e779b08d Add PrettyNumber util 2018-05-31 16:01:31 -06:00
Daniel Supernault
1c63184133 Add Bookmark feature 2018-05-31 15:56:46 -06:00
Daniel Supernault
672ec191c6 Update DiscoverController 2018-05-29 21:04:26 -06:00
Daniel Supernault
e37108c544 Update AccountController, fix hydrateNotifications()
Notifications expect a collection, not a vanilla array.
2018-05-29 21:03:11 -06:00
Daniel Supernault
95dcf8f7b3 Update follower model, add new methods 2018-05-29 21:02:24 -06:00
Daniel Supernault
e4ebd474ff Update Console Kernel 2018-05-29 21:01:56 -06:00
Daniel Supernault
7d999f0995 Add follow seeder 2018-05-29 21:01:28 -06:00
Daniel Supernault
dff76e70b3 Add FollowerController 2018-05-29 20:59:10 -06:00
Daniel Supernault
b5dbff40e3 Add FollowPipeline job 2018-05-29 20:58:41 -06:00
Daniel Supernault
0f8fe5d3d2 Update LikePipeline
Do not send notifications to self
2018-05-29 19:47:20 -06:00
Daniel Supernault
ad657b7fdc Add FederationController
Closes #8
2018-05-28 17:50:14 -06:00
Daniel Supernault
1406f467a0 Add basic notification support 2018-05-26 21:25:04 -06:00
Daniel Supernault
3ec93d096c Add LikePipeline and like notifications 2018-05-26 20:26:44 -06:00
Daniel Supernault
e1faa17bd5 Add AccountController 2018-05-26 17:00:07 -06:00
Daniel Supernault
095b23ac78 Update LikeController 2018-05-26 16:59:31 -06:00
Daniel Supernault
e52f81fc2a Add Notification model/migration 2018-05-26 16:58:22 -06:00
Daniel Supernault
1250312cab Add SettingsController 2018-05-26 16:53:21 -06:00
Daniel Supernault
1252f76a2f Add SearchController 2018-05-26 16:50:36 -06:00
Daniel Supernault
3dafc278b5 Add DiscoverController and hashtag posts view 2018-05-26 16:49:39 -06:00
Daniel Supernault
befa82dc04 Update CommentController, remove hashids 2018-05-26 16:46:07 -06:00
Daniel Supernault
43c9c264ef Update AdminController, add new methods 2018-05-26 16:45:05 -06:00
Daniel Supernault
8de99876e8 Add CatchUnoptimizedMedia cronjob command 2018-05-26 16:44:44 -06:00
Daniel Supernault
e94d9534b1 Fix image resizing logic 2018-05-26 16:37:46 -06:00
Daniel Supernault
1e3a432087 Restrict new registrations with env setting 2018-05-23 21:03:20 -06:00
Daniel Supernault
b6dc212b4d Update RestrictedNames 2018-05-22 18:45:13 -06:00
Daniel Supernault
ff3925dd1d Update User model 2018-05-22 18:09:29 -06:00
Daniel Supernault
343757b1ea Add ImageOptimizePipeline 2018-05-22 18:08:49 -06:00
Daniel Supernault
e3590c3768 Add Image Util class 2018-05-22 18:06:21 -06:00
Daniel Supernault
3de964465a Update AppServiceProvider 2018-05-22 17:58:48 -06:00
Daniel Supernault
deb90786d2 Update user model observer 2018-05-22 17:58:14 -06:00
Daniel Supernault
a5438f4c37 Add CreateAvatar job 2018-05-22 17:57:52 -06:00
Daniel Supernault
e395a9b0f6 Update Profile model 2018-05-22 17:56:20 -06:00
Daniel Supernault
4c75aa04a2 Add Avatar model/migration 2018-05-20 15:51:11 -06:00
Daniel Supernault
31a238e925 Add Report model/migration/controller 2018-05-20 15:48:53 -06:00
Daniel Supernault
0f55fbacc4 Add ActivityPub Actor Transformer 2018-05-19 21:18:06 -06:00
Daniel Supernault
7313bca4e6 Add ImportData model/migration 2018-05-19 21:07:04 -06:00
Daniel Supernault
14a4a69b3e Update Webfinger lexer 2018-05-19 21:04:18 -06:00
Daniel Supernault
62da545a94 Add hashtag lexer 2018-05-19 21:03:17 -06:00
Daniel Supernault
d9db890514 Add custom identicon preprocessor 2018-05-19 21:02:13 -06:00
Daniel Supernault
7c1b70060c Remove hashids from Status model, add new methods 2018-05-19 21:01:25 -06:00
Daniel Supernault
cb0780898e Add url() method to Media model 2018-05-19 20:59:59 -06:00
Daniel Supernault
05df1c6a5f Add admin middleware 2018-05-19 20:58:45 -06:00
Daniel Supernault
d8303e7de5 Add hashtag model/migration and pivot table 2018-05-19 20:57:55 -06:00
Daniel Supernault
3a3a18e1ac Update RestrictedNames 2018-05-11 20:22:49 -06:00
Daniel Supernault
52a3bcc2d0 Update RestrictedNames 2018-05-11 20:21:56 -06:00
Daniel Supernault
91fd53a4be Update RegisterController, validate username against restricted names 2018-04-29 10:29:38 -06:00
Daniel Supernault
72c7790cb4 Add Restricted Names list 2018-04-29 10:27:15 -06:00
Daniel Supernault
e96fa8ce72 Update Nickname lexer 2018-04-29 10:26:58 -06:00
Daniel Supernault
0f6728bfe3 Add AdminController 2018-04-29 10:25:57 -06:00
Daniel Supernault
b7537e7b06 Add Webfinger utility 2018-04-19 19:17:15 -06:00
Daniel Supernault
63c665cdc9 Add Nickname Lexer 2018-04-19 19:16:27 -06:00
Daniel Supernault
7e78261081 Add new method to User model 2018-04-18 23:57:31 -06:00
Daniel Supernault
d391b1a2a6 Add new method to Status model 2018-04-18 23:57:24 -06:00
Daniel Supernault
fe70cd1eca Add new methods to Profile model 2018-04-18 23:57:16 -06:00
Daniel Supernault
36b0bfb19a Update TimelineController 2018-04-18 23:56:59 -06:00
Daniel Supernault
943f158882 Update StatusController 2018-04-18 23:56:46 -06:00
Daniel Supernault
184097893e Update ProfileController 2018-04-18 23:56:33 -06:00
Daniel Supernault
b3540f189d Add Comment model, migration and controller 2018-04-18 23:55:58 -06:00
Daniel Supernault
842af8669b Add follower/following methods to profile 2018-04-17 20:17:42 -06:00
Daniel Supernault
df45744dae Add follower model, migration, controller 2018-04-17 20:17:30 -06:00
Daniel Supernault
91dfc88a79 Add likes() method to Status controller 2018-04-16 19:35:18 -06:00
Daniel Supernault
5d710d5574 Add like model, migration and controller 2018-04-16 19:35:01 -06:00
Daniel Supernault
67d15de123 Add store() method to StatusController 2018-04-16 19:24:42 -06:00
Daniel Supernault
33af3cfe96 Add new methods to Status model 2018-04-16 19:24:18 -06:00
Daniel Supernault
5f775ce648 Add TimelineController 2018-04-15 19:56:17 -06:00
Daniel Supernault
6982e8672a Add media model, migration, controller 2018-04-15 19:26:48 -06:00
Daniel Supernault
7221f44e4a Add status model, migration, controller 2018-04-15 19:18:59 -06:00
Daniel Supernault
9dd58c5abd Add profile model, migration and controller
Also added User model observer to create a profile when a new user is
created.
2018-04-15 18:52:22 -06:00
Daniel Supernault
d1b44529df Add username to register form 2018-04-15 18:23:02 -06:00
Daniel Supernault
2af48823ae Add authentication scaffolding 2018-04-15 18:00:49 -06:00
Daniel Supernault
a034358c98 Add Laravel Framework 2018-04-15 17:56:48 -06:00