Adam Magness
db8ef98537
Rename functions
...
rename functions from review comments
2018-02-05 12:48:22 -05:00
Adam Magness
992836e261
Some standards and dba
...
update some calls to use dba functions and some standards updates
2018-02-05 12:47:37 -05:00
Adam Magness
7ffcb25321
Update function names and calls
...
update function names and calls from other files
2018-02-05 12:47:04 -05:00
Adam Magness
f4fa8f085b
Functions to Item class
...
copy functions to Item class
2018-02-05 12:45:52 -05:00
Michael Vogel
fa95911fdb
Merge pull request #4393 from MrPetovan/task/3878-move-include-tags-to-src
...
Move include/tags to src/
2018-02-05 18:11:29 +01:00
Hypolite Petovan
2a5431a59e
Rename Model\Term methods
2018-02-04 16:48:50 -05:00
Hypolite Petovan
2a486903d1
Remove references to include/tags.php
2018-02-03 23:59:31 -05:00
Hypolite Petovan
9f3acceac7
Replace references to include/tags functions
2018-02-03 23:57:47 -05:00
Hypolite Petovan
507bea0e9f
Copy functions from include/tags to src
...
- Create Content\Widget\TagCloud
- Populate Worker\TagUpdate::execute
- Add Content\Widget::tagCloud
- Add Model\Term::insertFromItemId and Model\Term::insertFromItemUri
2018-02-03 23:51:40 -05:00
Hypolite Petovan
0abe4158d2
Rename Term methods ahead of the move
...
- Rename createFromItemURI() to insertFromItemFileByUri()
- Rename createFromItem() to insertFromItemFileById()
2018-02-03 22:42:31 -05:00
Hypolite Petovan
4050a7b8dc
Replace forgotten datetime_convert() instances
2018-02-03 20:47:37 -05:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
cea80c78e4
Replace remaining functions in include/datetime by Temporal methods
...
- Fix uses statements
2018-02-03 20:47:37 -05:00
Hypolite Petovan
593774b613
Update moved method Item::performLike() with DateTypeFormat
...
- Update use list
2018-02-03 08:56:55 -05:00
Hypolite Petovan
0454d0a670
Fix incorrect Temporal reference after Item function move rebase
2018-02-03 08:56:55 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
89602e44da
Add Temporal::timezoneNow() shorthand for Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan
d478ef6c6d
Add Util\Temporal to src
...
- Map include/datetime functions to Temporal methods
- Move update_contact_birthdays() to Model\Contact::updateBirthdays()
2018-02-03 08:56:51 -05:00
Hypolite Petovan
426fd7045a
Add Model\Item::performLike function
...
- Fix uses
2018-02-01 14:14:11 -05:00
Michael
f8526c1664
Some other message
2018-01-30 20:48:12 +00:00
Michael
e08be4e921
Improved message
2018-01-30 19:31:57 +00:00
Michael
edf7213297
Better message
2018-01-30 19:20:41 +00:00
Michael
ae362f01d5
Quit if follow failes because of not configured addon
2018-01-30 18:51:09 +00:00
Michael
6871481a78
Moved "limitBodySize"
2018-01-28 17:36:37 +00:00
Michael
bdbfffafea
Renamed the contact relationship functions
2018-01-28 17:26:39 +00:00
Michael
2cb74909c0
Standards
2018-01-28 16:28:59 +00:00
Michael
630cdaeb96
Added some defaults
2018-01-28 16:16:21 +00:00
Michael
e080ea03c0
Function needed to be public, not private
2018-01-28 14:06:02 +00:00
Michael
7b27dda784
Most functions now moved from include/items.php
2018-01-28 11:18:08 +00:00
Hypolite Petovan
236616995b
Remove references to library/openid
2018-01-27 18:28:04 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
0f1be37279
Remove old file
...
remove network.php and all require_once statements
2018-01-27 08:28:20 -05:00
Adam Magness
1eb7c19c1e
Move multiple functions
...
move multiple smaller functions
2018-01-26 23:51:41 -05:00
Adam Magness
2f9642392d
Move z_fetch_url
...
move z_fetch_url method
2018-01-26 23:18:38 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Hypolite Petovan
9cd3b17743
Fix translation strings for use with util/extract.php
...
- Change parentheses to “\x28” and “\x29”
- Remove leading commas
- Remove quotes before commas
2018-01-24 16:51:32 -05:00
Adam Magness
208a149a7b
Review sprintf
...
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Adam Magness
f0725ae384
Hopefully all t()
...
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Adam Magness
b4d0df18c5
Remove old file and requires
...
Remove pgettext.php and remove require_once calls
2018-01-22 18:03:26 -05:00
Adam Magness
07d306aa37
Finish t() for src
...
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e
Many t() calls
...
modify many t() calls.
2018-01-22 18:03:26 -05:00
Hypolite Petovan
b0a764b14c
Use password_hash() for passwords
...
- Use legacy_password to update double-hashed passwords
2018-01-20 22:29:03 -05:00
Hypolite Petovan
986e22d9e1
Merge pull request #4292 from annando/reduce-items.php
...
Relocate functions in items.php into several classes
2018-01-20 20:24:42 -05:00
Michael
004f46e600
Standards
2018-01-21 00:18:31 +00:00
Michael
efa8dbcfb3
Relocate functions in items.php into several classes
2018-01-20 23:52:54 +00:00
Hypolite Petovan
0888f51b4b
Add password reset request expiration
...
- Change password reset link to /lostpass/[pwdreset]
2018-01-20 18:15:55 -05:00
Hypolite Petovan
209c43ebbc
Centralize password hashing in Model\User
2018-01-20 17:32:24 -05:00
Michael
7be49d9411
Don't delete - but only mark as deleted
2018-01-20 22:16:43 +00:00
Adam Magness
b86b04a81a
Change plugin to addon
...
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
6c4c567319
Remove require
...
remove require_once for plugins.php
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Michael
2d66242b4f
The delete function is now changed to the new function
2018-01-17 23:22:01 +00:00
Michael
000e6457b4
Merge remote-tracking branch 'upstream/develop' into item-delete
2018-01-17 21:54:17 +00:00
Michael
fbb024d151
Avoid sql error in process handling
2018-01-17 14:10:30 +00:00
Michael
947a1b894f
Wall postings need to be treated especially as well.
2018-01-17 14:09:24 +00:00
Michael
2df5a14ce5
Delete could work now, needs testing
2018-01-17 07:08:49 +00:00
Michael
32c1c04a1c
Merge remote-tracking branch 'upstream/develop' into item-delete
2018-01-17 06:12:11 +00:00
Hypolite Petovan
c1c9a829fa
Add missing include in Model\Process
2018-01-17 00:17:58 -05:00
Hypolite Petovan
f193f01a7d
Fix issues in changed files
...
- Initializes $return in Process::insert
- Update the type hint of dba::fetch
- Remove unused $a parameter in worker_init()
- Fix uses
2018-01-17 00:17:58 -05:00
Hypolite Petovan
78ac7afe9c
Move process functions to Model\Process
...
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Michael
3ecdbb6a59
Standards
2018-01-16 23:20:07 +00:00
Michael
63a4105a59
New item class function for delete
2018-01-16 23:16:53 +00:00
Michael
f30275f6db
Oh, standards ...
2018-01-16 22:46:20 +00:00
Michael
c4d3ab6878
Transfer all item shadow functions to the item class
2018-01-16 22:23:19 +00:00
Adam Magness
33ac7a529f
Update functions and calls
...
update function names and calls
2018-01-15 20:12:07 -05:00
Adam Magness
a5b3f4b2ba
Create Queue class
...
Create queue class and functions from queue_fn.php
2018-01-15 19:28:39 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
8c878a7ad3
Remove indexes
...
remove [0] from selectFirst objects
2018-01-15 12:37:44 -05:00
Adam Magness
1bea697fb8
Replace integers
...
put integers back where booleans
2018-01-15 12:28:07 -05:00
Adam Magness
753996c86f
Fix backticks
...
backtick to single quote in dba calls
2018-01-15 12:23:18 -05:00
Adam Magness
b3e6a1d283
Update functions and calls
...
Update functions and calls.
2018-01-15 12:14:09 -05:00
Adam Magness
d5623d28d5
Create Mail class
...
create mail class and functions from include/message.php
2018-01-15 11:43:25 -05:00
Adam Magness
430bd7c6ac
Review updates
...
Update function name, descriptive variable names.
2018-01-14 23:44:39 -05:00
Adam Magness
4fb2547df8
Update function calls
...
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Adam Magness
4cfa46186a
Move include/identity to src
...
Copy functions from identity to Profile class
2018-01-14 20:13:02 -05:00
Hypolite Petovan
ed2ac8dc03
Fix formatting in NotificationsManager and Model\Contact
2018-01-11 03:43:57 -05:00
Hypolite Petovan
5fc4927764
Improve dba::selectFirst calls
...
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Hypolite Petovan
3f078d81ce
Fix selectFirst usage in Model\Contact
2018-01-10 20:13:51 -05:00
Michael
fa9b7a4dcc
Issue 4200: Adding new contacts not possible
2018-01-10 22:56:06 +00:00
Hypolite Petovan
1fda0ae4ae
Replace select(limit => 1) by selectFirst() in Model\Term and include/enotify
...
- Add new array declaration syntax
- Add braces
2018-01-10 13:04:00 -05:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Adam Magness
594461189b
Review updates
...
require_once, foreach braces, new line EOF, and remove unneeded function.
2018-01-10 12:51:51 -05:00
Adam Magness
483c4e3803
selectFirst
...
dba::selectFirst hasn't been merged yet!
2018-01-10 12:08:56 -05:00
Adam Magness
dc175b8e12
Update functions and calls
...
Change function names, calls and use dba functions.
2018-01-10 12:05:20 -05:00
Adam Magness
55ee9a1c72
Move files to src
...
Move files.php and create Term class
2018-01-10 11:46:05 -05:00
Hypolite Petovan
3f3e1c78dd
Merge pull request #4193 from annando/item-unification
...
We now are using a single function to store items
2018-01-10 09:11:36 -05:00
Michael
bbd9d587c7
Return the number of affected rows
2018-01-09 22:16:16 +00:00
Michael
81925e3730
We now are having an item class and a method to change item entries
2018-01-09 21:13:45 +00:00
Adam Magness
5358f5742e
Rename create
...
rename create function to createFromProbe and update calls.
2018-01-09 11:40:25 -05:00
Adam Magness
c81e83c500
Review changes
...
Update update and new functions to updateFromProbe and create. Update calls to renamed functions.
2018-01-09 11:23:26 -05:00
Adam Magness
b72cfaf828
update use
...
update useings and self
2018-01-09 10:02:53 -05:00
Adam Magness
edfb08a779
Update new function
...
update function name and statements
2018-01-09 09:48:31 -05:00
Adam Magness
fd1515eff4
Update function
...
Update the update function
2018-01-09 09:44:22 -05:00
Adam Magness
878ce3b858
Move follow functions
...
move follow functions into Contact class
2018-01-09 09:40:45 -05:00
Michael
2d9163ce30
Posts from contacts weren't displayed correctly
2018-01-05 19:47:55 +00:00
Hypolite Petovan
819592c3bd
Fix Scrutinizer issues in mod [_well_know -> contactgroup]
...
- Remove unused variables and parameter
- Updated function documentation
- Fix formatting
- Add back uninitialized variables
- Simplify nested conditions
2018-01-04 19:42:48 -05:00