Commit graph

3280 commits

Author SHA1 Message Date
Philipp Holzer 8fe606660d
trim whitespaces 2019-04-14 14:23:59 +02:00
Philipp Holzer 3a0664d827
fixing auto install tests 2019-04-14 14:23:58 +02:00
Philipp Holzer 677cb205f5
fix auto install 2019-04-14 14:23:58 +02:00
Philipp Holzer 90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation 2019-04-14 14:23:06 +02:00
Hypolite Petovan edc4cfdcd6
Merge pull request #7005 from nupplaphil/issue/dba_logger_fix
DBA & Logger fix
2019-04-13 17:02:15 -04:00
Philipp Holzer f17d6e88fd
fix loglevel 2019-04-13 21:03:07 +02:00
Philipp Holzer e2f69a04b9
trim whitespaces 2019-04-13 20:57:21 +02:00
Philipp Holzer fbd056327a
DBA-Logger fix 2019-04-13 20:46:58 +02:00
Hypolite Petovan a55efbab7a Only call page_end hooks for standalone pages (no Ajax) 2019-04-13 10:32:15 -04:00
Hypolite Petovan 75387ea171
Merge pull request #6991 from fabrixxm/fix/invalid-storage-on-legacy
Allow set empty string storage class for legacy
2019-04-11 09:04:48 -04:00
Hypolite Petovan 900074d117 Move App->checkBackend after module determination
- Update App->checkBackend to remove dependency to App properties
2019-04-11 05:27:26 -04:00
Hypolite Petovan 9162f714e0 Add uri to missing session data logging context in Session handlers 2019-04-11 05:26:37 -04:00
Hypolite Petovan 6a2c0b3cc7
Merge pull request #6989 from nupplaphil/task/basePath_baseUrl_fix
Automatic BaseURL determination fix
2019-04-11 04:07:20 -04:00
Philipp Holzer dc48690ed5
Remove hostname blacklisting 2019-04-11 00:09:59 +02:00
Philipp Holzer 1dd1684885
Hardening save method in BaseURL 2019-04-10 20:38:39 +02:00
Michael 2711284827 Added missing "cron_interval" default value 2019-04-10 06:41:57 +00:00
fabrixxm 72bee45079 Revert b2794bb2c 'Allow set empty string storge class for legacy' 2019-04-10 08:35:44 +02:00
Michael 4e9316fc15 Fix warnings 2019-04-09 17:58:28 +00:00
fabrixxm b2794bb2c9 Allow set empty string storge class for legacy
Legacy storage is defined by an empty string.
`StorageManager::setBackend()` now accept an empty string as a valid
backend storage.
2019-04-09 16:32:15 +02:00
Hypolite Petovan 3aa8a255c9
Merge pull request #6988 from annando/fetchprofile
Fetch profile data from different contact tables
2019-04-09 09:06:11 -04:00
Hypolite Petovan 4b80b7caea
Merge pull request #6784 from nupplaphil/task/image_to_model
Delete deprecated method Image::storePhoto()
2019-04-09 09:01:39 -04:00
Michael 8748aff110 Avoid some more warning 2019-04-09 11:44:35 +00:00
Michael d58147413f Avoid update of non native contacts, fix most warnings 2019-04-09 11:28:45 +00:00
Michael 00071abf51 Merge remote-tracking branch 'upstream/develop' into fetchprofile 2019-04-09 10:29:53 +00:00
Michael 84a6e390ab Fetch data from the given contact number, if already present 2019-04-09 08:47:57 +00:00
Michael bca7419987 Avoid overwriting existing contacts with bad data 2019-04-09 08:35:29 +00:00
Philipp Holzer ac57f55868
Delete deprecated method for photo 2019-04-09 08:52:21 +02:00
Philipp Holzer 40c075cf47
BaseURL hardening 2019-04-09 08:48:04 +02:00
Philipp Holzer 63660b6fc0
Removed unnecessary class 2019-04-09 08:31:19 +02:00
Philipp Holzer edd4f06ad0
Adding tests 2019-04-09 08:31:18 +02:00
Philipp Holzer 318a3ca785
Create own base URL class which holds the whole base url business logic 2019-04-09 08:31:16 +02:00
Hypolite Petovan 6ea531d2f8
Merge pull request #6990 from annando/fix-warning
Fix warning
2019-04-09 01:29:00 -04:00
Michael 1b339547f3 Fix warning 2019-04-09 05:17:02 +00:00
Michael 90eea919a4 New contact field "updated", fix warnings 2019-04-09 05:15:23 +00:00
Michael a2ca14def4 Removed a worker call - this needs more work 2019-04-08 21:35:00 +00:00
Michael a25fd7713b Added Worker 2019-04-08 21:06:15 +00:00
Michael c088249e1b Update the contact in the background 2019-04-08 21:05:33 +00:00
Michael f387d85cdb Fetch profile data from different contact tables when we won't or can't probe via network 2019-04-08 20:41:18 +00:00
Tobias Diekershoff c4fef79f32 Add subject to DB Update email 2019-04-08 10:55:18 +02:00
Philipp Holzer 7e061e0cae
replacing direct query with User model call 2019-04-07 21:18:04 +02:00
Hypolite Petovan 9ed3f3d6d0
Merge pull request #6978 from annando/no-queue
Remove the queue from the core
2019-04-07 08:05:51 -04:00
Philipp f69d73b5ff
Merge pull request #6969 from MrPetovan/task/router
Add rule-based router
2019-04-06 11:00:00 +02:00
Hypolite Petovan d6d31f43a1 Add App\Router dependency injection to App
- Moved collectRoutes method from App to App\Router
2019-04-05 23:16:12 -04:00
Michael 46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
Philipp Holzer 76fd2a4aa0
some renamings 2019-04-05 08:00:34 +02:00
Philipp Holzer b4a59f32c7
code standards 2019-04-05 07:54:53 +02:00
Philipp Holzer 2daadb8c36
code standards 2019-04-05 07:54:41 +02:00
Philipp Holzer 2aeea55f3f
bugfix 2019-04-05 07:54:19 +02:00
Philipp Holzer 0098f97c4a
Moving Model call outside Object Namespace 2019-04-05 07:54:11 +02:00
Philipp Holzer 09c44f96fd
Moving Model call outside Object Namespace 2019-04-05 07:53:54 +02:00
Michael 01bb05b502 Avoid repeated transmitting of profile updates 2019-04-05 04:42:04 +00:00
Hypolite Petovan 26c2290fed
Merge pull request #6972 from annando/queue-to-worker
Use deferred workers instead of the queue mechanism
2019-04-04 17:29:16 -04:00
Michael e3caf0f4f5 Use deferred workers instead of the queue mechanism 2019-04-04 20:51:12 +00:00
Michael Vogel c439cb656a
Merge pull request #6957 from MrPetovan/bug/6943-add-tombstone
Send AP Tombstone activity on deleted profiles
2019-04-04 22:27:49 +02:00
Hypolite Petovan 5b12bccb45 Move user tombstone activity data to ActivityPub\Transmitter 2019-04-04 07:38:40 -04:00
Hypolite Petovan 42b360f479 Implement feedback changes to App\Router
- Add class PhpDoc
- Switch Router->routeCollector scope to protected
- Added getter for Router->routeCollector
- Added EOF new line
- Removed unused use statement
- Improved App->collectRoutes PhpDoc
2019-04-04 07:29:26 -04:00
Hypolite Petovan 993f4e5fcc Add sample route for /itemsource
- Fix missing item guid not displaying in Module\Itemsource
2019-04-03 23:36:37 -04:00
Hypolite Petovan 61b6ab7e3e Add Router to App
- Create new Friendica\App\Router class
- Add route_collection hook
- Add route dispatching in App->runFrontend
2019-04-03 23:35:24 -04:00
Michael e66e2adf5f AP: Incoming announces are now stored as activities 2019-04-02 21:10:49 +00:00
Michael a0fddca407 Display if an item is reshared 2019-04-02 05:38:42 +00:00
Hypolite Petovan b73caa83fc
Merge pull request #6960 from annando/add-announce-diaspora
Add "announce" activity for incoming Diaspora reshares
2019-04-01 21:24:00 -04:00
Michael 455616b52c Add "announce" activity for incoming Diaspora reshares 2019-04-01 22:07:23 +00:00
Hypolite Petovan d51b9226a6
Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile 2019-04-01 05:05:52 -04:00
Hypolite Petovan e911302fe9 Add tombstone object for AP response on deleted profile
- Responds with 404 status code with all other non-success cases
2019-04-01 03:15:41 -04:00
Hypolite Petovan cc64471e4c Sanitize addon path items 2019-03-31 21:53:08 -04:00
Hypolite Petovan b529c03a20 Sanitize theme path items
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -04:00
Hypolite Petovan 6aac84dc8e Add Theme::getAllowedList method 2019-03-31 21:41:38 -04:00
Hypolite Petovan 6f94e51ba6 Add Strings::sanitizeFilePathItem method 2019-03-31 21:39:19 -04:00
Hypolite Petovan 3de1fc3097
Hotfix for App->registerStylesheet
- Wrong condition for strpos()
- Follow-up to #6953
2019-03-31 06:00:20 -04:00
Philipp e5cc35cb45
Merge pull request #6953 from tobiasd/20190330-csspath
check if BasePath is empty to prevent mangeled up CSS path
2019-03-31 10:12:40 +02:00
Tobias Diekershoff 16f44a8237 dont check but only copy if BasePath is present 2019-03-31 08:53:25 +02:00
Philipp Holzer 363d6b72ae
wrong indent 2019-03-30 19:10:19 +01:00
Philipp Holzer 0a447cb61b
wrong indent 2019-03-30 19:08:47 +01:00
Philipp Holzer e0b1f4f251
Hardening ConfigUpgrade 2019-03-30 18:54:22 +01:00
Tobias Diekershoff bb8216cbc8 check if BasePath is empty to prevent mangeled up CSS path 2019-03-30 11:13:27 +01:00
Michael cbe574f6f6 Preparation to be able to store "announce" activities 2019-03-28 05:45:50 +00:00
Michael Vogel ed4a9f8b8a
Merge pull request #6925 from MrPetovan/task/6778-add-storage-move-to-cron
6778 Part 2: Add storage move cron job (redux)
2019-03-28 05:58:56 +01:00
Michael 2df2f623e1 Store the follow activity in the "item-activity" table 2019-03-27 21:46:32 +00:00
Hypolite Petovan 09e03c9213
Merge branch 'develop' into task/6778-add-storage-move-to-cron 2019-03-27 14:13:42 -04:00
Hypolite Petovan ef0545645a
Merge pull request #6942 from annando/worker-fast-commands
Command based pre fetching of worker tasks
2019-03-27 09:28:15 -04:00
Philipp 2d522f872d
Merge pull request #6940 from annando/fix-notif
Notifications do work now again
2019-03-26 23:26:10 +01:00
Michael 83ff2b0382 We don't need to escape values anymore 2019-03-26 21:58:03 +00:00
Michael 2e0697c70e Notifications do work now again 2019-03-26 21:55:48 +00:00
Michael 55325f191b Merge remote-tracking branch 'upstream/develop' into ap-delivery-failure 2019-03-26 21:36:46 +00:00
Hypolite Petovan 753b1e0f25
Merge pull request #6935 from nupplaphil/issue/missing_basepath
Fixing basepath issue
2019-03-26 08:23:50 -04:00
Michael Vogel 15e9d8dcdb
Merge pull request #6931 from MrPetovan/task/6903-collapse-connector-list
Collapse connector list
2019-03-26 08:27:40 +01:00
Philipp Holzer 040504dca9
fixing config value setting 2019-03-26 08:13:49 +01:00
Philipp Holzer 9ec29f1e8e
straight the config value check 2019-03-26 08:00:41 +01:00
Philipp 22f884484a
Merge pull request #6933 from MrPetovan/bug/smilies-wrong-escape
Fix wrong code block escaping in Smilies
2019-03-26 07:25:41 +01:00
Michael fe0c516c3f Added field for "shared" inbox 2019-03-26 05:14:47 +00:00
Hypolite Petovan 34208bf966 Add manifest module to backend module list 2019-03-25 22:08:01 -04:00
Michael 18f3ff7b8e Unarchive inboxes on profile update 2019-03-25 22:43:00 +00:00
Michael 198e150ba8 Archive inboxes after 5 days of delivery failures 2019-03-25 21:51:32 +00:00
Philipp Holzer 7d88b800b8
Fixing Basepath 2019-03-25 20:53:46 +01:00
Philipp Holzer d78598b64e
Fixing basepath issue 2019-03-25 09:39:33 +01:00
Hypolite Petovan 2fb443ac3d Fix wrong code blocks escaping in Content\Smilies 2019-03-25 00:16:18 -04:00
Hypolite Petovan 898f7e7e38 Add connector collapsible panel in permission
- Replace HTML string by structured array in jot_networks hook
- Add collapsed panel when there are more than two connectors
2019-03-24 22:40:50 -04:00
Hypolite Petovan 76414a5169
Merge pull request #6920 from nupplaphil/feature/basepath/hostname_config
Removing basepath/hostname from admin site settings
2019-03-24 20:15:13 -04:00
Philipp Holzer 23654ce566
Added Update checks
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
Philipp Holzer 3cf0cb71f1
Fixing tests 2019-03-24 20:41:11 +01:00