basteyy
593f5b3aed
Update pagex.class.php
...
Fix deprecated dynamic property creation and week calculation in relativeTime function
- Resolved deprecated warning by avoiding dynamic property creation on DateInterval object.
- Calculated weeks separately and included them correctly in the output string.
- Adjusted the logic to handle weeks within the string array without creating a dynamic property.
- Ensured compatibility with PHP 8.2 and higher, where dynamic properties are deprecated.
This fix prevents the "Deprecated: Creation of dynamic property DateInterval::$w is deprecated" warning and correctly formats the relative time string.
2024-07-06 23:05:51 +02:00
Diego Najar
4bfa4a74a9
fix: page upload symlink
2024-06-23 21:46:43 +02:00
Tim Moritz
1c32692b2a
fix crash if no releated pages found
2024-01-12 11:36:08 +01:00
Diego Najar
d4653c3d33
return uuid in json method
2020-08-23 18:59:18 +02:00
Diego Najar
1e778b3b54
Add related pages function
2020-07-23 12:14:43 +02:00
Diego Najar
b510c59bab
Improve date modified returns
2019-11-18 20:18:29 +01:00
Diego Najar
c7c8998367
include category name on JSON method
2019-11-05 21:51:46 +01:00
Diego Najar
cc73f609e4
Custom fields
2019-09-02 18:24:34 +02:00
Diego Najar
016754b67c
Fix some english phrases
2019-06-16 22:31:48 +02:00
Diego Najar
ff4f166962
Functions for autosave type
2019-05-26 23:08:50 +02:00
Diego Najar
3ab8c4c0a6
Enable or disable Markdown parser for #980
2019-03-09 18:53:03 +01:00
Diego Najar
820b1c7207
include tags in json function
2019-02-26 00:47:34 +01:00
Diego Najar
75ec5f32f3
include slug for the API
2019-02-25 16:32:29 +01:00
Diego Najar
3058904fd2
API improves
2019-02-19 08:38:17 +01:00
Diego Najar
78cacae128
Bug fixes for API plugin
2019-02-08 08:53:26 +01:00
Diego Najar
a1a7a7fd38
Migrate private variables to protected to allow to extend classes
2019-01-26 12:50:48 +01:00
Diego Najar
3564ab1d8f
comments and minor fixes
2019-01-04 14:19:51 +01:00
Diego Najar
3b33d20cf6
Bug fixes, the method thumbCoverImage not was returning the filename
2018-11-01 20:27:21 -03:00
Diego Najar
5c70cb9fa6
bug fix for #813
2018-10-23 23:50:56 +02:00
Diego Najar
682dc5788f
minor fix for restricted images
2018-10-07 15:54:28 +02:00
Diego Najar
7d16e13903
Image per pages, removed convert relative to absolute path, media manager improves
2018-10-06 19:39:34 +02:00
Diego Najar
3fa6450e0b
fix for external cover images and thumbnail
2018-09-29 16:06:09 +02:00
Diego Najar
d62e19707b
workspaces directory for plugins
2018-09-05 22:55:14 +02:00
Anaggh S
db4327d69c
Return correct string readingTime
2018-08-16 15:16:27 +05:30
Diego Najar
942f3c04cb
change amount for number
2018-08-06 21:46:58 +02:00
Diego Najar
d89e742fdf
Change on variable name to , include new words to the dictionary
2018-08-05 17:54:20 +02:00
Diego Najar
1caddac331
Changes on variables names for Language
2018-08-03 19:03:09 +02:00
Diego Najar
786f73cc5a
Changes on variables names
2018-08-03 18:59:23 +02:00
Diego Najar
077bc21434
changes variables names
2018-08-02 22:33:53 +02:00
Diego Najar
b04587813e
categories description and bug fix
2018-08-02 17:06:53 +02:00
Anaggh S
d2dd02055f
Fix grammar and typos
2018-08-01 18:16:12 +05:30
Diego Najar
bb481498be
Bug fixes
2018-07-28 18:33:37 +02:00
Diego Najar
710d7d3c67
fix next and previous key
2018-07-25 23:49:58 +02:00
Diego Najar
910545dae2
User object, new reader role for users
2018-07-25 23:42:00 +02:00
Diego Najar
456aa20130
Removed buildPage function, bug fix on paginator, bug fix in dblist
2018-07-18 21:48:37 +02:00
Diego Najar
d852cada22
Title in database, improves on Page Object, Perfomance improvements, TinyMCE and Bootstrap updated
2018-07-17 19:13:01 +02:00