Commit Graph

21519 Commits

Author SHA1 Message Date
Philipp Holzer 9690dfc54e
Renamed Cache flag 2018-10-31 14:44:42 +01:00
Philipp Holzer 270e817954
Adding force to update routine
- Introduced Cache::NEVER Lock (never expiring lock)
- Force flag for dbstructure update
- Moving the business logic to central place in Update class
2018-10-31 14:44:40 +01:00
Philipp Holzer f2ec963b95
removed update db functions again 2018-10-31 14:44:24 +01:00
Philipp Holzer f08f063a38
Replaced check_db in App 2018-10-31 14:44:24 +01:00
Philipp Holzer ffbad2dc81
moved check_db($via_worker) to Update::check($via_worker) 2018-10-31 14:44:23 +01:00
Philipp Holzer 87f3fe24f7
Moving UPDATE defines/constants out of boot 2018-10-31 14:44:23 +01:00
Philipp Holzer 4ae985e5ed
Setting update version & time on success 2018-10-31 14:44:23 +01:00
Philipp Holzer 26aee23254
Replacing dbupdate_ in admin.php and removing it from Worker\DBUpdate 2018-10-31 14:44:22 +01:00
Philipp Holzer f2ca3e5be4
Using Locks for Updating and writing last success to config 2018-10-31 14:44:22 +01:00
Philipp Holzer e876adef8f
Moved the functions update_db and run_update_function to a Friendica\Core\Update class 2018-10-31 14:44:21 +01:00
Hypolite Petovan c6ce9ddaa4
Merge pull request #6051 from nupplaphil/friendica-6047
Test Mocking - Bugfixing & Enhancement
2018-10-31 09:15:26 -04:00
Hypolite Petovan fed444de17
Merge pull request #6048 from zeroadam/FileTag
Split include/text.php to Model/FileTag class
2018-10-31 09:08:14 -04:00
Hypolite Petovan f8ef92f84a
Merge pull request #6052 from rabuzarus/20181030_-_frio_fix_link_highlight
Frio - on mobiles the links in the thread will always have the link color (disabling thread hover effect)
2018-10-31 09:04:17 -04:00
Hypolite Petovan 11a1c80877
Merge pull request #6050 from tobiasd/20181031-msg
regen master messages.po
2018-10-31 09:02:33 -04:00
Hypolite Petovan edf11533c0
Merge pull request #6049 from tobiasd/20181031-de
DE translation THX vinz
2018-10-31 09:02:09 -04:00
Philipp Holzer 764e1a3cb6
Fixing issue L10n::t() 2018-10-31 12:37:52 +01:00
Philipp Holzer d75cc0cb34
Bugfixing executable (Mocking the executable) 2018-10-31 12:37:47 +01:00
Adam Magness 02be1d316d Documentation
add proper documentation.
2018-10-31 07:32:22 -04:00
Philipp Holzer 92d3d77e76
Bufixing environment specific assertion problem 2018-10-31 11:03:15 +01:00
Philipp Holzer 70e240691e
Moved Mocking usage
Adding more documentation
2018-10-31 10:39:50 +01:00
rabuzarus d02f940811 Frio - some cleanups for default.php 2018-10-31 10:22:32 +01:00
Philipp Holzer 551efde226
removed unnecessary use 2018-10-31 10:19:33 +01:00
Philipp Holzer 0e22c18a9d
Bugfixing & Enhancement
- Added Mocking Engine for App, DBA, Config
- Using Mocking Engine for AutomaticInstallationConsoleTest
- Using Mocking Engine for ConfigConsoleTest

- Removing MultiUserConsole - Workaround
2018-10-31 10:16:15 +01:00
rabuzarus bfe59b4054 Frio - on mobiles the links in thread will always have the link color (disabling thread hover effect) 2018-10-31 10:14:02 +01:00
rabuzarus ec9f22de92 Frio - add desktop or mobile view class to the html body 2018-10-31 10:07:51 +01:00
Tobias Diekershoff 16ca49ebdd regen master messages.po 2018-10-31 09:46:40 +01:00
Tobias Diekershoff 423b831f84 DE translation THX vinz 2018-10-31 09:36:49 +01:00
Adam Magness d9b558a8ed Update function calls
update function calls to new class.
2018-10-30 14:51:45 -04:00
Adam Magness 3a604029eb Create FileTag class
create class and move functions
2018-10-30 14:51:21 -04:00
Hypolite Petovan 2f28c2ebbf
Merge pull request #6046 from zeroadam/CoreLogger
Split functions from text.php to new Logger class
2018-10-30 12:32:33 -04:00
Adam Magness c3ee9afa59 Bug fix
update Logger::DEBUG to Core\Logger::
2018-10-30 11:43:27 -04:00
Adam Magness 17ae53c9d7 Review Updates
create array, remove getConstants function, add self references.
2018-10-30 11:40:11 -04:00
Adam Magness 342e484533 Missing BaseObject
add use BaseObject
2018-10-30 10:02:52 -04:00
Adam Magness 50da89d861 Logger Levels
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness 91ef9f238c missing use and self
add use and self statements
2018-10-30 09:57:14 -04:00
Adam Magness 26fbe8dfba Review Modifications
make changes based on review.
2018-10-30 09:57:14 -04:00
Adam Magness 80367d05d8 Remove functions
remove functions that were moved to Logger class
2018-10-30 09:57:14 -04:00
Adam Magness 7138cc97ac Correct misspelling
correct misspelled use statement
2018-10-30 09:57:14 -04:00
Adam Magness 14fde5dc9b Log function
implement log() function.
2018-10-30 09:57:14 -04:00
Adam Magness d6d593d724 Create Logger class
Create Core\Logger class and point old functions to the new ones.
2018-10-30 09:57:14 -04:00
Hypolite Petovan f7147fae96
Merge pull request #6041 from nupplaphil/install_to_module
Install to Module
2018-10-30 08:17:26 -04:00
Philipp Holzer e586e49c82
Bugfixing missing 'REQUEST_URI' for relative path installation 2018-10-30 12:58:15 +01:00
Philipp Holzer 91f595000c
Mocking DBStructure::existsTable() 2018-10-30 12:47:44 +01:00
Philipp Holzer cf39c9df81
Bugfixings
- moved testargs.php to util directory
- Switch Environment check before config at automatic install
- checkPHP() is now finding the PHP binary too
- Bugfixing checkPHP() & required returned wrong status
- removing not used $_POST['phpath'] in web installer
2018-10-30 11:30:19 +01:00
Hypolite Petovan 92c9c940f4
Merge pull request #6045 from JonnyTischbein/issue_fbrowser-error-msg
[frio] Show error message on image upload
2018-10-29 23:33:11 -04:00
Hypolite Petovan 129af62c14
Merge pull request #6044 from annando/ap-signatures
Diaspora signature transport via AP/DFRN should be repaired now
2018-10-29 23:31:11 -04:00
Jonny Tischbein f4d2f78233 Enables error messages for files too 2018-10-29 23:28:20 +01:00
Jonny Tischbein 780d1edf04 Show error message if image exceeds limit + fix close button 2018-10-29 23:06:42 +01:00
Michael 84be62982a Diaspora signature transport via AP/DFRN should be repaired now 2018-10-29 21:15:37 +00:00
Philipp Holzer f0382ab919
Refactoring Installation
- centralized installation
- renamed Core\Install to Core\Installer
- avoid using $a->data[] for states
- removed unnecessary code
2018-10-29 18:44:39 +01:00