Commit Graph

14698 Commits

Author SHA1 Message Date
Roland Häder 0b6336edb0
unified most db upgrades:
- common way is to check on result ($r mostly) of db upgrade
- on success, return UPDATE_SUCCESS
- on failure, return UPDATE_FAILED

Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:40:21 +01:00
Roland Häder 63e4750b4a
more coding convention applied:
- added curly braces
- added spaces where needed
- $r only needs to be tested with dbm::is_result()
- made SQL keywords all uper-case

Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:40:21 +01:00
Roland Häder 1c6535c0b4
applied coding convention:
- replaced space -> tab (code indenting)
- added curly braces
- used dbm::is_result() if $r is no result (may happen)

Signed-off-by: Roland Häder <roland@mxchange.org>
2017-03-19 00:40:21 +01:00
Michael fb5f1f61fc You shoudln't use a text variable like an array. 2017-03-18 23:32:59 +00:00
Michael 1a436264cd Some standards 2017-03-18 12:13:43 +00:00
Michael 222550e784 From now on we are using 0001-01-01 as lowest date 2017-03-18 11:42:54 +00:00
Michael 62ccb4499a Some more unneeded changes reverted 2017-03-18 08:54:25 +00:00
Michael a2a171af06 "dob" is not a date field, so the changes are reverted 2017-03-18 08:50:27 +00:00
Michael e301fa0832 Merge remote-tracking branch 'upstream/develop' into 1702-null-date 2017-03-18 08:31:43 +00:00
Tobias Diekershoff 909e1e055f Merge pull request #3228 from annando/1702-detect-server
Server type detection is improved
2017-03-18 09:10:03 +01:00
rabuzarus 497df57ef7 more standards work 2017-03-18 04:41:54 +01:00
Hypolite Petovan 8d6d008d28 Fix frio style.css indentation 2017-03-17 20:46:31 -04:00
Hypolite Petovan 20406aacec All-around CSS display fixes 2017-03-17 20:28:31 -04:00
Hypolite Petovan 2e17885eb3 Fix jot display 2017-03-17 20:28:09 -04:00
Hypolite Petovan 80510ef4ca Fix group_side display 2017-03-17 20:28:00 -04:00
Hypolite Petovan d1a1dfe879 Fix profile display 2017-03-17 20:27:43 -04:00
Hypolite Petovan 03700d4ae5 Fix contact display 2017-03-17 20:27:31 -04:00
Hypolite Petovan 92a755f688 Fix event display 2017-03-17 20:27:17 -04:00
Hypolite Petovan 29936060cf Fix filebrowser display 2017-03-17 20:26:40 -04:00
Michael f3bcf63d46 Standards and some logging improvements 2017-03-17 19:25:01 +00:00
rabuzarus e1d22ef5d4 some code cleanup 2017-03-17 19:10:48 +01:00
rabuzarus c785eb29c6 more work on standards compliance 2017-03-17 17:57:57 +01:00
Michael 87771cf617 Merge remote-tracking branch 'upstream/develop' into 1702-detect-server
Conflicts:
	include/discover_poco.php
2017-03-17 15:53:19 +00:00
rabuzarus 3cef98caf6 Merge pull request #3226 from annando/1702-only-worker
The worker is now the only background processing system
2017-03-17 13:22:23 +01:00
rabuzarus 1dd839c2c2 Merge pull request #3240 from annando/bugfix-dba
Bugfix: When a query fails we mustn't use the result value.
2017-03-17 13:20:56 +01:00
Hypolite Petovan 8ac8d779f6 Fix bulk drop button 2017-03-16 22:19:45 -04:00
Hypolite Petovan 67c40bf030 Fix "Mark all as seen" button display 2017-03-16 22:19:27 -04:00
Michael 24a57020b9 Better version transformation for nodeinfo and statistics.json 2017-03-16 21:34:53 +00:00
rabuzarus 8ae8465d48 add dop event & fix event edit 2017-03-16 20:15:25 +01:00
Michael 58bf1c50af Bugfix: When a query fails we mustn't use the result value. 2017-03-16 09:23:12 +00:00
Michael 4812f4c0f9 Without only the worker queue we don't need the deliverq anymore. 2017-03-16 07:30:59 +00:00
Michael a211c8cb77 Merge remote-tracking branch 'upstream/develop' into 1702-detect-server 2017-03-16 05:51:22 +00:00
Hypolite Petovan 802897c0ab Restored tabs display until a more complete CSS solution is worked out 2017-03-15 22:00:37 -04:00
Hypolite Petovan 214c76fec7 Reverted original display for item action links + jot bbcode buttons
- Cleaned useless CSS
2017-03-15 22:00:07 -04:00
Hypolite Petovan 077c4cadf1 Merge branch 'develop' into improvement/frio-action-links-to-buttons 2017-03-15 21:10:11 -04:00
Hypolite Petovan ec745c04ce Merge branch 'develop' of https://github.com/friendica/friendica into develop 2017-03-15 21:09:38 -04:00
rabuzarus 6fdc219143 Merge pull request #3227 from annando/1703-pdo
We now support PDO
2017-03-16 00:25:16 +01:00
rabuzarus b4bad92657 Merge pull request #3239 from Hypolite/issue/#3194-2
Fix wrong deferred function name
2017-03-15 19:53:16 +01:00
Hypolite Petovan 35ba3cce70 Fix wrong deferred function name 2017-03-15 14:42:34 -04:00
Michael 8e12b159d9 Merge remote-tracking branch 'upstream/develop' into 1601-api-statuses-lookup 2017-03-15 14:37:30 +00:00
Michael 9f9497f2ca Merge remote-tracking branch 'upstream/develop' into 1701-poco 2017-03-15 14:34:09 +00:00
Michael 88a69b93d5 Merge branch '1702-detect-server' of github.com:annando/friendica into 1702-detect-server 2017-03-15 13:56:17 +00:00
Michael 8decd15565 Merge remote-tracking branch 'upstream/develop' into 1702-detect-server 2017-03-15 13:55:43 +00:00
Hypolite Petovan 82ce1a449b Revert jot tabs to links due to Bootstrap not supporting button styling 2017-03-15 07:24:14 -04:00
rabuzarus b8e8c96386 Merge pull request #3236 from annando/bugfix-feed
Bugfix for pull request 3216: Feed items were mixed
2017-03-15 12:18:49 +01:00
Hypolite Petovan 30049d862c Fix comment double-posting 2017-03-15 07:07:06 -04:00
Michael dc3fcf0487 Standard stuff 2017-03-15 06:00:22 +00:00
Hypolite Petovan 7cb44ae25a Turn all the action <a> tags into buttons
- Add CSS changes to support both <a> and <button class="btn btn-link">
- Removed unnecessary "return false" in onclick attributes
- Simplified tabs in profile page to native Bootstrap behavior
2017-03-14 23:47:02 -04:00
Hypolite Petovan fcea2e8504 Merge branch 'develop' into improvement/frio-action-links-to-buttons 2017-03-14 23:12:21 -04:00
Hypolite Petovan 2ff494d899 Merge branch 'develop' of https://github.com/friendica/friendica into develop 2017-03-14 23:11:53 -04:00