Compare commits

..

2670 commits
0.7 ... v3.0

Author SHA1 Message Date
Diego Najar
3c02c86498 feat: new bludit version with bug fix for php 5 2024-08-25 10:11:57 +02:00
Diego Najar
fa736d907b chore: fix versioning number 2024-08-06 22:48:54 +02:00
Diego Najar
16c70204dc
Merge pull request #1572 from basteyy/patch-1
Fix 2 deprecated messages
2024-08-06 22:48:24 +02:00
Diego Najar
151c5ab482
Merge pull request #1573 from bramley/correct_good_afternoon
Welcome message displays "good night" in the afternoon
2024-08-06 22:40:05 +02:00
Diego Najar
27f352f586
Merge pull request #1574 from kurisotofaa/patch-1
Create lt.json
2024-08-06 22:38:49 +02:00
Kristupas Grigas
76a3ea1c3d
Create lt.json
translated to lithuanian
2024-07-19 21:08:27 +02:00
Duncan Cameron
e17583fb63 Display correct welcome message when hour is exactly 6, 12 or 18 2024-07-07 13:50:14 +01:00
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
basteyy
4412f339cc
Update pages.class.php
Deprecated: uasort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /var/www/html/bludit/bl-kernel/pages.class.php on line 424
2024-07-06 23:03:12 +02:00
Diego Najar
49fb7f03b1 after save content redirect to the proper tab to avoid confusion if the content was created or not #1541 2024-06-30 21:59:24 +02:00
Diego Najar
437190fcbb add telegram support #1565 2024-06-30 21:48:29 +02:00
Diego Najar
4bfa4a74a9 fix: page upload symlink 2024-06-23 21:46:43 +02:00
Diego Najar
e770d6a972 fix: password length when changed user password 2024-06-22 16:34:24 +02:00
Diego Najar
6248ea0a62 chore: add prettierrc and dir=auto to form inputs 2024-06-22 16:22:05 +02:00
Diego Najar
16cd57029b
Merge pull request #1563 from bramley/footer_span_element
Remove spurious </span> from theme footer
2024-03-29 10:08:34 +01:00
Diego Najar
af7488f1b4
Merge pull request #1564 from bramley/remove_upload_when_deleting_content_page
Use the page UUID to identify the upload directory when deleting a page
2024-03-29 10:07:57 +01:00
Duncan Cameron
957663b48b Use the page UUID to identify the upload directory when deleting a page
Fixes #1545
2024-03-24 20:40:15 +00:00
Duncan Cameron
0b381e8df7 Remove spurious </span> 2024-03-24 12:32:29 +00:00
Diego Najar
d586fce4f2
Merge pull request #1553 from gaincoder/v3.0
Add .webp support and fix #1467
2024-01-28 20:13:39 +01:00
Diego Najar
4a645173f7
Merge pull request #1554 from gaincoder/bug-related 2024-01-13 16:03:38 -03:00
Tim Moritz
1c32692b2a fix crash if no releated pages found 2024-01-12 11:36:08 +01:00
Tim Moritz
1868c63b93 Add .webp support 2024-01-12 10:56:39 +01:00
Diego Najar
7995d862bc
Merge pull request #1543 from gentledawn/patch-1
Update theme.class.php
2023-10-14 10:07:09 +02:00
gentledawn
b05655717e
Update theme.class.php
Add missing Dribbble.
2023-10-14 14:52:53 +07:00
Diego Najar
be292c15ff
Merge pull request #1533 from hide-me/patch-1
Update ru_RU.json
2023-09-19 17:47:12 +02:00
Diego Najar
2d33a325d1
Merge pull request #1534 from hide-me/patch-2
Created ru.json
2023-09-19 17:47:04 +02:00
Diego Najar
d2f1068e08
Merge pull request #1535 from hide-me/patch-3
Update and rename ru_RU.json to ru.json
2023-09-19 17:46:42 +02:00
Diego Najar
53cc162d3a
Merge pull request #1536 from hide-me/patch-5
Rename ru_RU.json to ru.json
2023-09-19 17:46:31 +02:00
Diego Najar
39ff27bff6
Merge pull request #1537 from hide-me/patch-6
Rename ru_RU.json to ru.json
2023-09-19 17:46:08 +02:00
Diego Najar
e8e83a3219
Merge pull request #1538 from hide-me/patch-4
Create ru.json
2023-09-19 17:45:53 +02:00
Paul
90e81d7fe8
Rename ru_RU.json to ru.json 2023-09-19 14:26:04 +03:00
Paul
d7b76909f7
Update ru.json 2023-09-19 14:25:07 +03:00
Paul
c1093dbef1
Rename ru_RU.json to ru.json 2023-09-19 14:24:03 +03:00
Paul
e913a1a857
Rename ru_RU.json to ru.json 2023-09-19 14:23:06 +03:00
Paul
6331155414
Create ru.json
Added russian translation for this plugin
2023-09-19 14:21:11 +03:00
Paul
d9963918fb
Update and rename ru_RU.json to ru.json 2023-09-19 14:17:59 +03:00
Paul
f29db1eee0
Created ru.json
Added russian translation for this plugin
2023-09-19 14:11:11 +03:00
Paul
4998bc7005
Update ru_RU.json 2023-09-19 14:03:34 +03:00
Diego Najar
0a9c21a1e8 release name krakow 2023-07-15 16:16:24 +02:00
Diego Najar
6d38311c72 bl content 2023-07-15 16:11:35 +02:00
Diego Najar
c65282334d update license 2023-07-15 16:10:01 +02:00
Diego Najar
27415297e8 bludit v3.15.0 2023-07-15 15:59:51 +02:00
Diego Najar
654be18345
Update issue_template.md 2023-07-11 00:09:35 +02:00
Diego Najar
2ab78beb8b small changes for Bludit PRO 2022-09-08 21:35:32 +02:00
Diego Najar
600724da2b Bug fix, the new version is not showing up 2022-09-08 21:35:15 +02:00
Diego Najar
e5a7735360 Fix deprecation warninigs 2022-09-07 17:03:45 +02:00
Diego Najar
eed574d21f remove backup plugin 2022-09-05 22:20:29 +02:00
Diego Najar
b6c212337e fix for #1327 2022-09-05 20:27:56 +02:00
Diego Najar
29b7d74ead change metadata and compatibility with php8 2022-09-05 20:11:15 +02:00
Diego Najar
5cad642a68 change metadata for new release 2022-09-05 20:10:28 +02:00
Diego Najar
8636f6d6b8 refactor UI 2022-09-05 20:08:48 +02:00
Diego Najar
3a8fa7ab94 add compatibility with php8.1 #1452 2022-09-05 20:08:04 +02:00
Diego Najar
bda30ee9b0 change icon 2022-09-05 20:07:24 +02:00
Diego Najar
1b6a5587d6 show site name instead of Bludit 2022-09-05 20:07:02 +02:00
Diego Najar
a01a611990 add support to webp images, improve UI 2022-09-05 20:06:18 +02:00
Diego Najar
20c03011cb update bootstrap 2022-09-05 20:05:19 +02:00
Diego Najar
d9fdd9aac0 update tinymce v5.10.5 2022-09-05 20:04:20 +02:00
Diego Najar
dbeda6bc54
Merge pull request #1391 from ronaldaug/master
Missing comma - it shows the errors at installation page
2021-12-21 09:31:41 +01:00
ronaldaug
3964a743e0
Missing comma - error at install page
Error shows at installation page
2021-12-13 20:31:44 +06:30
Diego Najar
116bacf322
Update README.md 2021-12-12 13:35:47 +01:00
Diego Najar
f4f85ec3d4 bug fix on session and multiple paths 2021-11-28 13:43:55 +01:00
Diego Najar
a3555315b8 bug fix on session and multiple paths 2021-11-28 12:45:31 +01:00
Diego Najar
0b7d327480
Merge pull request #1359 from nogajun/master
update Japanese translation(fix translation and typo).
2021-10-04 19:23:35 +02:00
Jun Nogata
cd2ba5c848 update Japanese translation(fix translation and typo). 2021-10-01 19:48:48 +09:00
Diego Najar
ae514f2665
Merge pull request #1348 from marekrost/czech-locale
Czech translation update
2021-09-20 09:31:33 +02:00
Marek Rost
e8536d1890 User feedback changes to improve translation clarity 2021-09-19 11:54:46 +02:00
Marek Rost
20b4852491 Updated the czech translation to reflect latest changes to bludit. With the addition of page templating, changed the title of graphical themes since the meaning of word "šablona" fits page templating better. 2021-09-18 15:39:35 +02:00
Edi
3e3fb95a19
Merge pull request #1335 from nsauter/master
fix 'mitatbeiter' typo in german (DE,AT & CH) locale files
2021-06-28 12:37:32 +02:00
Nico Sauter
8e31d1ba2a fix 'mitatbeiter' typo in german (DE,AT & CH) locale files 2021-06-27 13:08:52 +00:00
Diego Najar
aa1dee1d30
Merge pull request #1291 from ltGuillaume/master
Completed Dutch translation for TinyMCE
2021-06-05 21:14:03 +02:00
Diego Najar
ba11fe5450
Merge pull request #1326 from angerangel/patch-1
Added link for image
2021-06-05 21:09:12 +02:00
angerangel
5767f08b4f
Added link for image
Link for image is very important for sharing rss.
2021-05-25 12:52:53 +02:00
Diego Najar
f10ad07fad
Merge pull request #1313 from nicobubulle/french
French update
2021-04-26 14:05:43 +02:00
Diego Najar
caa3138f07
Merge pull request #1323 from richelbilderbeek/patch-1
Fix typo
2021-04-26 14:05:11 +02:00
Richel Bilderbeek
4dbf631405
Fix typo 2021-04-26 14:03:53 +02:00
nicobubulle
c7f8a1da17 French update 2021-03-20 16:55:02 +01:00
Diego Najar
b7c5ced470
Update README.md 2021-01-22 19:24:43 +01:00
ltGuillaume
8f05af194d Completed Dutch translation for TinyMCE 2020-12-26 15:49:04 +01:00
Diego Najar
5abddff1aa
Merge pull request #1290 from MrReSc/master
Codesample plugin setting and translations
2020-12-21 09:52:29 +01:00
MrReSc
17a3fcf779 remove whitespace 2020-12-20 08:24:20 +01:00
MrReSc
a1e6443cc8 json formated 2020-12-20 08:23:14 +01:00
MrReSc
d68b6e9469 json formated 2020-12-20 08:21:54 +01:00
MrReSc
bd15f96d06 remove prism plugin 2020-12-20 08:19:39 +01:00
MrReSc
381cfa5cb7 revert changes in htaccess 2020-12-20 08:18:59 +01:00
MrReSc
9ed96fc771 revert change in gitignore 2020-12-20 08:16:05 +01:00
MrReSc
4c44e48ffc description on settings page added 2020-12-20 08:08:11 +01:00
MrReSc
4a489ec1d1 add description for codesample langs 2020-12-20 08:00:09 +01:00
MrReSc
fec2df5a23 fix broken translation and plugin texts added 2020-12-20 07:44:40 +01:00
MrReSc
717b196594 codesample languges added 2020-12-20 07:14:38 +01:00
Diego Najar
35a39cff65
Merge pull request #1283 from ltGuillaume/master
Dutch
2020-11-18 09:34:00 +01:00
ltGuillaume
007f580f5f Dutch 2020-11-01 17:55:54 +01:00
Diego Najar
3110e55e90
Merge pull request #1282 from jedix/feat-insert-image-with-thumbnail
feat: Allow images to be inserted as thumbnails or as linked thumbnails
2020-11-01 11:43:13 +01:00
Jens Rey
c8e83737e0 Feature: Allow images to be inserted as thumbnails or as linked thumbnails 2020-10-30 16:06:14 +01:00
Diego Najar
8c4a6d8f9e
Merge pull request #1274 from hardwellhardwell/master
Improved Docs
2020-10-01 16:09:37 +02:00
Diego Najar
9a82bd4f32
Merge pull request #1275 from anaggh/tinymce-update
Update tinymce plugin v5.4.1 -> v5.5.1
2020-10-01 14:53:09 +02:00
Diego Najar
866bd2785c
Merge pull request #1276 from anaggh/easymde-update
Update easymde plugin 2.11.0 -> 2.12.0
2020-10-01 14:52:42 +02:00
Diego Najar
8dd61d7c2e
Merge pull request #1273 from anaggh/bs4-update
Update Bootstrap v4.5.0 -> v4.5.2
2020-10-01 14:52:24 +02:00
Anaggh S
ce26a2e6f7 Update easymde plugin 2.11.0 -> 2.12.0 2020-10-01 18:06:06 +05:30
Anaggh S
1f68680683 Update tinymce plugin v5.4.1 -> v5.5.1 2020-10-01 17:33:41 +05:30
hardwellhardwell
5b438f5525
Update README.md 2020-10-01 17:04:29 +05:30
Anaggh S
0c539edb11 Update Bootstrap v4.5.0 -> v4.5.2 2020-10-01 16:59:00 +05:30
Edi
2656785bcb
Create id_ID.json 2020-09-27 17:59:02 +02:00
Diego Najar
3efbd8cc08
Merge pull request #1174 from eeagle/master
Add Support for the german social-network Xing
2020-09-25 19:30:41 +02:00
Diego Najar
548b7f5a76
Merge pull request #1256 from huuptag/patch-1
Update vi_VN.json
2020-09-25 19:27:15 +02:00
Diego Najar
f86be47d07
Merge pull request #1257 from vorons/patch-4
Update ru_RU.json
2020-09-25 19:26:54 +02:00
Diego Najar
309b39e45e
Merge pull request #1262 from Tibinsunny/fix1
Fix for /issues/1254
2020-09-25 19:22:33 +02:00
Diego Najar
50b3a877ff
Merge pull request #1271 from abhiverma23/patch-1
Removing unwanted mobile menu option for editor and author
2020-09-25 19:09:35 +02:00
Abhishek Verma
0a46630c6c
Removing unwanted mobile menu option for editor and author
Removed categories, users, settings, plugins, themes, about from mobile navebar. Kept all the adminSidebars for admin only.
2020-09-24 00:12:28 +05:30
Tibinsunny
b47b680e9d Fix for /issues/1254 2020-08-29 22:33:01 -07:00
Diego Najar
6942177fe7 update ignores 2020-08-23 19:00:46 +02:00
Diego Najar
0a0d7a0db4 remove tags in the installation are not linked 2020-08-23 19:00:24 +02:00
Diego Najar
964d99bd80 API, include upload files for a page 2020-08-23 18:59:56 +02:00
Diego Najar
c32e058391 Merge branch 'master' of github.com:dignajar/bludit 2020-08-23 18:59:27 +02:00
Diego Najar
d4653c3d33 return uuid in json method 2020-08-23 18:59:18 +02:00
Сергей Ворон
58c908c428
Update ru_RU.json 2020-08-20 10:44:08 +08:00
huuptag
0692fded31
Update vi_VN.json
Fixed some texts
2020-08-19 08:33:01 +07:00
Edi
b4f876ff94
Update vi_VN.json 2020-08-18 20:23:01 +02:00
Diego Najar
40c1582586
Merge pull request #1253 from hide-me/patch-2
Translation fix
2020-08-17 21:04:23 +02:00
Paul
f133e9492f
Translation fix 2020-08-11 19:27:25 +03:00
Diego Najar
668c3a0335
Merge pull request #1235 from abdulhalim/patch-6
Update fa_IR.json
2020-08-03 09:25:03 +02:00
Diego Najar
03ff5caa97
Merge branch 'master' into patch-6 2020-08-03 09:24:55 +02:00
Diego Najar
986a502281 metadata for 3.13.1 2020-07-29 19:48:30 +02:00
Diego Najar
a4c853dfc3
Merge pull request #1234 from abdulhalim/patch-3
Update fa_IR.json
2020-07-28 15:48:14 +02:00
Diego Najar
b478b00e7c
Merge pull request #1233 from abdulhalim/patch-4
Create fa_IR.json
2020-07-28 15:48:01 +02:00
Diego Najar
0c921b2fdf
Merge pull request #1232 from abdulhalim/patch-5
Update fa_IR.json
2020-07-28 15:40:12 +02:00
Diego Najar
350ed20df5
Merge pull request #1241 from JustJoao/patch-1
Update pt_PT.json
2020-07-28 15:39:28 +02:00
Diego Najar
71c4f9a51c
Merge pull request #1243 from anaggh/master
Update easymde v2.10.1 -> v2.11.0
2020-07-28 15:38:37 +02:00
Anaggh S
5180d91deb Update easymde v2.10.1 -> v2.11.0 2020-07-27 01:11:21 +05:30
dignajar
86e0f69030 Fix bug with mime type checker 2020-07-24 10:37:30 +02:00
dignajar
f33466af01 Removed default async property for Javascript 2020-07-23 12:59:37 +02:00
Diego Najar
861e44b78c Merge branch 'master' of github.com:dignajar/bludit 2020-07-23 12:14:51 +02:00
Diego Najar
1e778b3b54 Add related pages function 2020-07-23 12:14:43 +02:00
LimonadaPT
e30a715cb5
Update pt_PT.json
Minor corrections based on usage of the admin panel.
2020-07-22 16:26:29 +01:00
Edi
67a6abe846
Update de_DE.json 2020-07-21 23:25:06 +02:00
Edi
529197367b
Update de_CH.json 2020-07-21 23:24:38 +02:00
Diego Najar
2517f0d181 The user can select the min of chars to search, by default is 3 2020-07-19 19:00:20 +02:00
Diego Najar
d37b7db041 decrease the min characters to search to 3 2020-07-19 18:58:55 +02:00
Edi
ecfc2423dc
Create ckb.json 2020-07-16 14:52:54 +02:00
abdulhalim
dcd29ffe6d
Update fa_IR.json 2020-07-14 20:43:36 +04:30
abdulhalim
4e5911a83d
Update fa_IR.json 2020-07-14 19:41:57 +04:30
abdulhalim
4c76269740
Create fa_IR.json 2020-07-14 19:06:37 +04:30
abdulhalim
9d849c346a
Update fa_IR.json 2020-07-14 19:04:31 +04:30
dignajar
12daf0fa8b rollback users with no-casesensitive 2020-07-13 20:36:11 +02:00
dignajar
cbf1b5ec1d Bug fix, permalink for page child, #1231 2020-07-13 20:18:52 +02:00
Diego Najar
6d75a63792
Merge pull request #1230 from anaggh/master
Update tinymce 5.4.0 -> 5.4.1
2020-07-13 13:50:37 +02:00
Anaggh S
f138635620 Update tinymce 5.4.0 -> 5.4.1 2020-07-13 16:22:22 +05:30
dignajar
b363a684f2 Store usernames in lowercases. #1225 2020-07-13 11:53:48 +02:00
dignajar
0f7a290b6a Store usernames in lowercases. #1225 2020-07-13 11:48:30 +02:00
dignajar
67ef1fb457 Updated Patreons sponsors 2020-07-13 11:43:00 +02:00
dignajar
e33937ad88 Merge branch 'master' of github.com:bludit/bludit 2020-07-13 11:36:32 +02:00
dignajar
0ebe4313af Metadata for Bludit v3.13.0 2020-07-13 11:36:24 +02:00
dignajar
a1f0b4cabf Metadata for Bludit v3.13.0 2020-07-13 11:36:02 +02:00
Diego Najar
aacfdb1e63
Merge pull request #1223 from anaggh/master
Update tinymce 5.3.2 -> 5.4.0
2020-07-07 10:06:00 +02:00
Diego Najar
bbb714bb5a
Merge pull request #1227 from SamBrishes/patch-002
Allow dots in URL
2020-07-07 10:05:24 +02:00
Diego Najar
4627a3544b
Merge pull request #1226 from SamBrishes/patch-001
Extend plugins hook
2020-07-07 10:02:15 +02:00
SamBrishes
5790962dee Allow dots in URL 2020-07-07 09:14:45 +02:00
SamBrishes
9f7759d912 Extend plugins hook 2020-07-07 08:46:26 +02:00
Anaggh S
597882d0ee Update tinymce 5.3.2 -> 5.4.0 2020-07-04 23:29:23 +05:30
dignajar
c2274ca92c ident comments 2020-07-04 19:07:13 +02:00
dignajar
8528b08a42 Merge branch 'master' of github.com:bludit/bludit 2020-07-01 20:09:34 +02:00
dignajar
8bbb896740 improve conditional 2020-07-01 20:09:20 +02:00
Diego Najar
f1b3b4359b
Merge pull request #1193 from SamBrishes/patch-001
Add prepare() function, when plugin is installed and initialized.
2020-07-01 20:03:03 +02:00
Diego Najar
a28754c2e0
Merge branch 'master' into patch-001 2020-07-01 20:02:53 +02:00
Diego Najar
0862dee6a7
Merge pull request #1221 from SamBrishes/patch-012
Validate Backup Files
2020-07-01 19:22:28 +02:00
Diego Najar
4282a976a6
Merge pull request #1219 from SamBrishes/patch-010
MIME Type Check for Issue #1218 and #1212
2020-06-29 21:30:46 +02:00
Diego Najar
b8649d730a
Merge pull request #1222 from anaggh/master
Update tinymce 5.3.1 -> 5.3.2
2020-06-29 21:09:23 +02:00
Anaggh S
e0ff403fe2 Update tinymce 5.3.1 -> 5.3.2 2020-06-30 00:24:31 +05:30
SamBrishes
476d4d731d Validate Backup Files 2020-06-28 14:06:59 +02:00
SamBrishes
eb74980021 MIME Type Check for Issue #1218 and #1212
MIME Type Check for Issue #1218 and #1212
2020-06-28 10:36:41 +02:00
Diego Najar
7d8b895c8e
Merge pull request #1195 from SamBrishes/patch-003
Add Backup Features
2020-06-23 20:01:29 +02:00
Diego Najar
d11c26e91c
Merge pull request #1210 from SamBrishes/patch-008
Allow removing Session & Cookie Entries
2020-06-23 20:00:47 +02:00
Diego Najar
d9adc34081
Merge pull request #1215 from anaggh/master
Fix #1214 Arbitrary file download vulnerability
2020-06-23 19:59:48 +02:00
Anaggh S
7689aa5fb4 Fix #1214 Arbitrary file download vulnerability 2020-06-23 14:22:34 +05:30
SamBrishes
bcbfe55e24 Allow to remove Session & Cookie Items
Allow to remove Session & Cookie Items
2020-06-16 00:32:08 +02:00
dignajar
e3abd64fe4 Support admin controller and view over plugins 2020-06-15 21:05:46 +02:00
dignajar
b092d3048a Support admin controller and view over plugins 2020-06-15 16:27:12 +02:00
Diego Najar
537cfbf616
Merge pull request #1196 from SamBrishes/patch-004
Add custom admin pages
2020-06-15 16:01:27 +02:00
Diego Najar
0748616526
Merge pull request #1207 from anaggh/patch-1
Remove async from select2
2020-06-15 12:18:26 +02:00
Diego Najar
f9c0105168
Merge pull request #1209 from SamBrishes/patch-007
Bugfix: Search Plugin will not work if itemsPerPage is set to "All Content"
2020-06-15 12:16:53 +02:00
SamBrishes
1ffc196e30 Fix Issue #1208
Fix Issue #1208
2020-06-12 18:15:05 +02:00
anaggh
6a8d3e9d1f
Remove async for select2
Defaulting to async is leading to buggy behaviour https://github.com/bludit/bludit/pull/1172/files
2020-06-11 20:27:55 +05:30
Diego Najar
f928fe84c8
Merge pull request #1201 from anaggh/master
Update frontend dependencies
2020-06-08 14:16:56 +02:00
Anaggh S
3443fca913 Update TinyMCE 5.3.0 -> 5.3.1 2020-06-07 18:11:53 +05:30
Diego Najar
212f68b5ac
Merge pull request #1203 from virtualmix/small-fixes
Correct small typos
2020-06-05 13:01:53 +02:00
virtualmix
ec9db046e7 fix typos 2020-06-03 23:59:07 -07:00
Anaggh S
0884b469f0 Fix invalid json in metadata 2020-05-28 20:33:00 +05:30
Anaggh S
873fbab56b Move undefined check to correct place 2020-05-27 17:03:50 +05:30
Anaggh S
1e0a919137 Update TinyMCE 5.2.0 -> 5.3.0 2020-05-26 20:40:21 +05:30
Anaggh S
6667289679 Bump easymde plugin version 2020-05-26 20:02:35 +05:30
Anaggh S
8d27f2a0c0 Fix "undefined" text on search 2020-05-26 19:20:34 +05:30
Anaggh S
caeef10df2 Update select2-bootstrap4 theme 1.4.0 2020-05-26 18:35:30 +05:30
Anaggh S
ff2dfe1175 Update select2 4.0.12 -> 4.0.13 2020-05-26 18:26:52 +05:30
Anaggh S
7edcb04727 Update easymde 2.9.0 -> 2.10.1 2020-05-26 18:15:01 +05:30
Anaggh S
68fcbf1a49 Update jQuery 3.4.1 -> 3.5.1 2020-05-26 17:54:23 +05:30
Anaggh S
beaf06bb1c Update bootstrap 4.4.1 -> 4.5.0 2020-05-26 17:51:13 +05:30
Diego Najar
9095ef077a
Merge pull request #1199 from SamBrishes/patch-006
[BUGFIX] AJAX Error Message when uploading Images
2020-05-24 09:20:16 +02:00
SamBrishes
2e307339ab Remove Filesystem:rmfile completely 2020-05-23 18:48:14 +02:00
Diego Najar
5a5585d5bd
Merge pull request #1198 from SamBrishes/patch-005
[BUGFIX] Remove deprecated autoComplete Function
2020-05-23 17:01:23 +02:00
SamBrishes
c7f0393062 Repair Spaces 2020-05-23 00:04:16 +02:00
SamBrishes
1214b12bf7 Namespace Plugin Pages 2020-05-22 23:55:22 +02:00
SamBrishes
4ec9b47c96 Fix for Issue #1176
Fix for Issue #1176
2020-05-22 23:34:15 +02:00
SamBrishes
93fd4e0c83 Remove deprecated atuoComplete Function 2020-05-22 23:15:38 +02:00
SamBrishes
0ee3548ceb camelCased variables 2020-05-15 13:41:25 +02:00
Diego Najar
4a740ecb03
Merge pull request #1194 from SamBrishes/patch-002
[BUGFIX] ZIP Paths may starts with an (back-) slash
2020-05-15 13:35:41 +02:00
SamBrishes
5187cbc4d0 Fix Space / Tabs 2020-05-15 07:54:51 +02:00
SamBrishes
7ea717200c Custom admin pages 2020-05-15 07:50:22 +02:00
SamBrishes
2e486f6d33 Additional Check for the file 2020-05-14 17:59:29 +02:00
SamBrishes
3dca6efcdc Allow custom names 2020-05-14 17:56:22 +02:00
SamBrishes
b0a8231ce1 Remove console.log from JavaScript 2020-05-14 17:38:38 +02:00
SamBrishes
6d21fe7f5b Add Backup Features
Backup Features as described in #605 and #1137
2020-05-14 17:35:46 +02:00
SamBrishes
06131d7f85 Bugfix - ZIP Paths may starts with an (back-) slash 2020-05-14 11:33:46 +02:00
SamBrishes
80babfa850 Add prepare function 2020-05-13 10:37:09 +02:00
dignajar
a5dc0addea Bug fix for 1177, get sub-pages via API 2020-05-12 23:05:29 +02:00
dignajar
134ac64e07 improve preview function 2020-05-12 22:24:03 +02:00
dignajar
0337402acd Merge branch 'master' of github.com:bludit/bludit 2020-05-12 18:24:15 +02:00
dignajar
41b5531fa2 Custom hooks for plugins 2020-05-12 18:24:06 +02:00
Diego Najar
98b7cf95df
Merge pull request #1183 from CaiMiao/patch-2
Update zh_CN.json
2020-05-12 17:51:01 +02:00
Diego Najar
5b85f90f72
Merge pull request #1185 from lightmat/master
Core plugin language da.json
2020-05-04 14:29:28 +02:00
Steen Jakobsen
5eb834c51d Core plugin language da.json
Danisk translations for core plugins
2020-05-02 19:48:34 +02:00
Diego Najar
e2bfe73ea8
Merge pull request #1179 from hide-me/patch-1
Some minor fixies in Russian translation
2020-05-01 21:26:02 +02:00
Diego Najar
a10a0b3df5
Merge pull request #1184 from lightmat/master
Create da.json
2020-05-01 21:25:42 +02:00
Steen Jakobsen
b240e8c138 Create da.json
Danish translation
2020-05-01 20:05:36 +02:00
Fumii Chuu
226c60eb92
Update zh_CN.json 2020-04-29 23:49:57 +09:00
hide-me
3817907eed
Some minor fixies in Russian translation
Also, I updated the URL of my personal site 🆒
2020-04-23 17:01:27 +03:00
Diego Najar
442a8ca1db
Merge pull request #1175 from nogajun/japanese
Fixed Japanese translation
2020-04-22 11:12:06 +02:00
Jun NOGATA
7e4410f713 fix ja_JP.json 2020-04-20 18:32:08 +09:00
eeagle
6be73c9776 Add Support for the german social-network Xing 2020-04-17 21:28:22 +02:00
Diego Najar
c1db51b1ce
Merge pull request #1165 from hide-me/patch-23
Update RU lang
2020-04-10 13:07:02 +02:00
Diego Najar
96e315521e
Merge pull request #1166 from hide-me/patch-24
Translation a bit improved
2020-04-10 13:06:54 +02:00
Diego Najar
63c0dc6da1
Merge pull request #1167 from hide-me/patch-25
Translation a bit improved
2020-04-10 13:06:45 +02:00
Diego Najar
f1d970bb3d
Merge pull request #1172 from mhancoc7/patch-2
Allow passing in attributes for Theme js files
2020-04-10 13:06:30 +02:00
Jereme Hancock
9a1ff17545
Allow passing in attributes for Theme js files
This is a follow up to a previous PR. The async attribute can cause issues with some js files. For instance I added the lozad.js (https://github.com/ApoorvSaxena/lozad.js) for lazy loading and included it via my theme. However, with the current automatic inclusion of "async" things didn't work. 

So this update allows Theme developers to prevent the async attribute by passing in "null".

Example: ```<?php echo Theme::javascript('js/lozad.min.js', DOMAIN_THEME, null); ?>```

If the Theme developer doesn't include "null" the default will be to use "async".
2020-04-05 20:15:09 -05:00
Diego Najar
0021d7920c
Merge pull request #1163 from hide-me/patch-22
Translation improved
2020-03-30 13:45:29 +02:00
Diego Najar
f959cc338b
Merge pull request #1162 from hide-me/patch-21
Translation a bit improved
2020-03-30 13:45:18 +02:00
Diego Najar
ad2dd5af45
Merge pull request #1161 from hide-me/patch-20
Translation a bit improved
2020-03-30 13:45:09 +02:00
Diego Najar
6cfa2fc423
Merge pull request #1160 from hide-me/patch-19
Updated translation
2020-03-30 13:44:59 +02:00
Diego Najar
ef2da05473
Merge pull request #1159 from hide-me/patch-18
Trying to add tanslatable string
2020-03-30 13:44:47 +02:00
Diego Najar
7834d9d193
Merge pull request #1158 from hide-me/patch-17
Translation a bit improved
2020-03-30 13:44:33 +02:00
Diego Najar
1016e982c9
Merge pull request #1157 from hide-me/patch-16
Fix small mistake
2020-03-30 13:44:22 +02:00
Diego Najar
061f7c1b13
Merge pull request #1164 from mhancoc7/patch-1
Add the "async" parameter to script tags
2020-03-27 12:53:08 +01:00
Jereme Hancock
380e99b1cc
Removed async from jquery as I started noticing errors in admin 2020-03-26 13:05:18 -05:00
Diego Najar
63ccd77af5 Bug fixed, set a homepage and enable the filter /blog/ 2020-03-25 21:25:00 +01:00
hide-me
1db714be71
Translation a bit improved 2020-03-24 18:19:59 +03:00
hide-me
632f2e58a8
Translation a bit improved 2020-03-24 18:16:37 +03:00
hide-me
3eaafb87bd
Update RU lang 2020-03-24 18:14:52 +03:00
Edi
8171cf23b7
Update de_AT.json 2020-03-24 13:20:42 +01:00
Edi
50a4ad363e
Update de_DE.json 2020-03-24 13:19:47 +01:00
Edi
ecec740961
Update de_CH.json 2020-03-24 13:18:48 +01:00
Jereme Hancock
12bbef14a6
Add the "async" parameter to script tags
In my testing this has improved my Page Insights score pretty significantly especially for mobile. See: https://web.dev/render-blocking-resources/
2020-03-23 14:04:54 -05:00
Diego Najar
f46de71aa7
Merge pull request #1156 from hide-me/patch-15
Translated new strings
2020-03-22 14:51:18 +01:00
Diego Najar
6079d338d4
Merge pull request #1155 from hide-me/patch-14
Create ru_RU.json
2020-03-22 14:50:48 +01:00
hide-me
e00a6c10c5
Translation improved
Translated new string
2020-03-22 16:23:25 +03:00
hide-me
2848ca7344
Translation a bit improved 2020-03-22 01:10:32 +03:00
hide-me
58b831b95c
Translation a bit improved 2020-03-22 01:08:18 +03:00
hide-me
9ff5a3c69a
Updated translation 2020-03-22 01:05:11 +03:00
hide-me
9833141c13
Trying to add tanslatable string
Please check it. I tested on my site and it's working perfectly, but maybe I did some mistakes.
2020-03-22 01:00:17 +03:00
Diego Najar
b156c9e576 remove social network theme 2020-03-21 22:34:16 +01:00
Diego Najar
eb4111aa96 Remove theme social network is not finished 2020-03-21 22:33:20 +01:00
hide-me
d140513e9d
Translation a bit improved 2020-03-21 23:59:51 +03:00
hide-me
750a40b926
Fix small mistake 2020-03-21 21:44:49 +03:00
hide-me
179c458fa5
Translated new strings 2020-03-21 21:42:55 +03:00
hide-me
298a2e3ccb
Create ru_RU.json 2020-03-21 21:35:45 +03:00
Diego Najar
1954f6d6fd remove rewrite base 2020-03-21 15:45:03 +01:00
Diego Najar
c4b3bdd77b Bludit v3.12.0 metadata 2020-03-21 15:44:27 +01:00
Diego Najar
4d7fd05d1c Metadata for Tinymce plugin for version 5.2.0 2020-03-20 19:50:30 +01:00
Diego Najar
fd80820e0b Get files for a particular page 2020-03-20 19:49:59 +01:00
Diego Najar
46fa8a1fab Create directory for upload pictures for each new page 2020-03-20 19:48:44 +01:00
Diego Najar
3416afe4e3
Merge pull request #1152 from hide-me/patch-11
A bit improved translation
2020-03-20 18:54:46 +01:00
Diego Najar
2388ce23c1
Merge pull request #1153 from hide-me/patch-12
Translation a bit improved
2020-03-20 18:54:31 +01:00
Diego Najar
9dc4af618c
Merge pull request #1154 from hide-me/patch-13
Translated the name of plugin
2020-03-20 18:54:17 +01:00
Diego Najar
8ab515b402
Merge pull request #1151 from hide-me/patch-10
A bit improved translation
2020-03-20 18:54:02 +01:00
hide-me
647724f0ed
Translated the name of plugin 2020-03-20 20:38:59 +03:00
hide-me
392656bce8
Translation a bit improved 2020-03-20 20:30:28 +03:00
hide-me
3c6b227699
A bit improved translation 2020-03-20 19:09:22 +03:00
hide-me
8f15321bfb
A bit improved translation 2020-03-20 19:05:14 +03:00
Diego Najar
c8f96e2901
Merge pull request #1150 from ltGuillaume/patch-3
Update nl_NL.json for version plugin
2020-03-16 19:22:38 +01:00
Guillaume
e75066a961
Update nl_NL.json 2020-03-16 18:58:18 +01:00
Diego Najar
ac94b829e1 TinyMCE 5.2.0 2020-03-14 19:10:19 +01:00
Diego Najar
5186720775 Add missing word for the plugin version 2020-03-14 12:07:18 +01:00
Diego Najar
0530aaa3b8 Merge branch 'master' of github.com:dignajar/bludit 2020-03-14 12:03:50 +01:00
Diego Najar
a8b4b26c57 get mimetype 2020-03-14 12:03:43 +01:00
Diego Najar
017cbfa667 Settings for the plugin version, new version alert and show current version 2020-03-14 12:02:23 +01:00
Diego Najar
de6e3b2a3f
Merge pull request #1146 from DavidEredics/master
Updated Hungarian translation
2020-03-05 10:51:55 +01:00
Dávid
f9c5bc0174
Updated Hungarian translation 2020-02-28 20:39:20 +01:00
Diego Najar
f42961dd80
Merge pull request #1145 from anaggh/master
Use try catch instead
2020-02-28 10:12:40 +01:00
Anaggh S
45ca449d5a Use try catch instead 2020-02-28 14:06:09 +05:30
Diego Najar
7e76de099d
Merge pull request #1144 from anaggh/master
Fix bugs
2020-02-27 13:08:38 +01:00
Anaggh S
bbdc8afcaf Fix PHP 7.4 "Deprecated: Array and string offset access syntax with curly braces is deprecated" 2020-02-27 03:08:27 +05:30
Anaggh S
7ae53cfd63 Fix #1143 Add additional check to skip broken symlinks to avoid RuntimeException: SplFileInfo::getSize(): stat failed 2020-02-27 02:58:05 +05:30
Diego Najar
2e2b5a179a
Merge pull request #1138 from fabianosantosnet/master
Updated Brazilian Language
2020-02-18 10:27:33 +01:00
Fabiano Santos
6b9a07752e Updated Brazilian Language 2020-02-15 21:29:12 -03:00
Diego Najar
de01180cc6
Merge pull request #1136 from anaggh/master
Fix #1135 clippy input on mobile dropdown menu bug
2020-02-15 12:03:22 +01:00
Anaggh S
8a5599023c Fix #1135 clippy input on mobile dropdown menu bug 2020-02-15 16:10:40 +05:30
Edi
f4ddf8f1c2
Update de_DE.json 2020-02-11 13:08:20 +01:00
Edi
6fdac98ba8
Update de_CH.json 2020-02-11 13:07:09 +01:00
Edi
9da3300b90
Description 2020-02-11 12:58:30 +01:00
Edi
0e53d07757
Description 2020-02-11 12:52:25 +01:00
Diego Najar
d570ad6644 include end of line 2020-02-10 21:23:02 +01:00
Diego Najar
78ab655c57 Include Sitemap link if the plugin is enabled 2020-02-10 21:19:53 +01:00
Diego Najar
29c8341b2f Bludit v3.11.0 2020-02-08 19:24:17 +01:00
Diego Najar
edeb603541 update metadata for bludit v3.11.0 2020-02-08 19:22:34 +01:00
Diego Najar
c0a15930f9 include site db on developers page 2020-02-08 19:20:44 +01:00
Diego Najar
f2acafd6db add social network vk.com 2020-02-08 19:20:15 +01:00
Diego Najar
f8bfdf2957 update metadata for tinymce plugin 2020-02-08 19:19:35 +01:00
Diego Najar
ab414ae645 Fix html code for favicon 2020-02-08 19:19:15 +01:00
Diego Najar
867fc1d50d
Merge pull request #1124 from ltGuillaume/patch-3
Add missing translations
2020-02-07 15:27:22 +01:00
Diego Najar
8c38957d8c
Merge pull request #1130 from JustJoao/patch-1
Updated Portuguese (Portugal) translation
2020-02-07 15:26:59 +01:00
Diego Najar
5cd6283caf Fix for #1102, show search input on small devices 2020-02-05 20:59:33 +01:00
Diego Najar
35483e0d30 Security bug fixed #1131 and refresh profile picture after uploaded 2020-02-05 20:57:07 +01:00
Diego Najar
4d0912308d Update jstz to detect the timezone in the installation 2020-02-05 20:45:43 +01:00
LimonadaPT
d42e8665a5
Added portuguese translation
Reviewed also _Last update_ date
2020-02-03 23:06:10 +00:00
LimonadaPT
53e8cb5243
Updated Portuguese (Portugal) translation
Added the missing translation for the new dictionaries.
Reviewed the whole translation file to ensure consistency on formality (tu vs você). For this I've removed the personal pronouns where possible (instead of edit your content -> edit the content) to avoid formality statements. When required, I've used (mostly) the informal pose.
2020-02-03 20:39:18 +00:00
dignajar
f14dab7444 EasyMDE 2.9.0 2020-01-30 19:21:05 +01:00
Diego Najar
8e44ed3227
Merge pull request #1126 from ltGuillaume/patch-4
Dutch: correction for exclude-administrators-users
2020-01-26 12:37:59 +01:00
Guillaume
84a053c6da
Dutch: correction for exclude-administrators-users 2020-01-26 12:35:56 +01:00
Guillaume
9022e707bd
Correction for exclude-administrators-users 2020-01-26 12:34:37 +01:00
Diego Najar
42ca4fe7a7
Merge pull request #1125 from ltGuillaume/patch-4
Dutch for Simple Stats
2020-01-26 11:47:55 +01:00
Guillaume
1ce60f86f6
Added "and", is this ok? 2020-01-25 16:56:20 +01:00
Guillaume
786d1dee98
Dutch for Simple Stats 2020-01-25 16:55:31 +01:00
Guillaume
c417c52656
Add missing translations 2020-01-25 16:52:24 +01:00
Diego Najar
b6c55228b5
Merge pull request #1121 from CaiMiao/patch-1
Update ja_JP.json
2020-01-14 20:51:08 +01:00
Fumii Chuu
b0cf336089
Update ja_JP.json 2020-01-13 05:33:59 +09:00
Diego Najar
80a7940f2b
Merge pull request #1118 from ali-demirtas/patch-24
Create tr_TR.json
2020-01-02 15:59:42 +01:00
Diego Najar
c85f357eb7
Merge pull request #1117 from anaggh/master
update libs
2020-01-02 10:08:48 +01:00
Anaggh S
8d2056dfac Fix #1051 Bug - Media Manager Pagination 2020-01-01 22:28:59 +05:30
Anaggh S
8194be5e4d Fix #808 Remove special characters/spaces early to prevent overwrite 2020-01-01 18:04:59 +05:30
Ali Demirtas
27d6b5037a
Create tr_TR.json
Turkish language
2020-01-01 14:41:00 +03:00
Anaggh S
f48fcaf997 Update bootstrap v4.3.1 -> v4.4.1 2020-01-01 16:40:11 +05:30
Anaggh S
b62194a3c3 Update parsedown 1.7.3 -> 1.7.4 2020-01-01 16:24:11 +05:30
Diego Najar
3e15163240
Update Golden sponsors 2019-12-31 18:24:15 +01:00
Diego Najar
908cba2d9d
Merge pull request #1116 from ali-demirtas/patch-23
Update tr_TR.json
2019-12-31 18:16:57 +01:00
Ali Demirtas
697aadf375
Update tr_TR.json
Turkish language updated.
2019-12-28 13:15:27 +03:00
Diego Najar
b86dc069a1 Update select2 to 4.0.12 2019-12-08 18:40:07 +01:00
Diego Najar
52149ad4d4 Merge branch 'master' of github.com:dignajar/bludit 2019-12-08 18:32:06 +01:00
Diego Najar
b67c6355a1 TinyMCE 5.1.3 2019-12-08 18:31:57 +01:00
Diego Najar
e758ba5fc1
Merge pull request #1112 from hide-me/patch-9
Translated new strings to Russian
2019-12-07 18:11:51 +01:00
Diego Najar
95ae4e5061 add view and edit to the langueage file 2019-12-07 18:11:41 +01:00
Diego Najar
ff57081e3a add support for vk.com social network 2019-12-07 14:35:38 +01:00
Diego Najar
bc4f532b97 add support for vk.com social network 2019-12-07 14:32:39 +01:00
Diego Najar
696fa1c406 Merge branch 'master' of github.com:dignajar/bludit 2019-12-07 14:24:22 +01:00
Diego Najar
7c8bad72c5 Improve search plugin and add support for UTF8 to Fuzz algorithm 2019-12-07 14:24:13 +01:00
hide-me
bbf59daef3
Translated new strings to Russian
You added the string "view" but not added "edit" from the same part of code. Also, the status of any pages from smart search can't be translated cuz u again not added it.

Sorry that I was absent for a long time
2019-11-25 16:22:56 +03:00
Diego Najar
5021608b03
Merge pull request #1111 from ethan42411/master
Update zh_TW.json for 3.10.0
2019-11-25 14:20:51 +01:00
ethan42411
0268cd0a72 Update zh_TW.json (20191124-5)
20191124-5
2019-11-24 13:26:05 +08:00
ethan42411
033ba81da8 Update zh_TW.json (20191124-4)
20191124-4
2019-11-24 13:23:27 +08:00
ethan42411
9fff6afa0b Update zh_TW.json (20191124-3)
20191124-3
2019-11-24 12:05:11 +08:00
ethan42411
5ac88f0daa Update zh_TW.json (20191124-2)
20191124-2
2019-11-24 11:53:41 +08:00
ethan42411
4eb81c775c Update zh_TW.json (20191124-1)
20191124-1
2019-11-24 11:21:00 +08:00
Diego Najar
b510c59bab Improve date modified returns 2019-11-18 20:18:29 +01:00
Diego Najar
8b025ebe81 Include Disk usage 2019-11-18 20:17:27 +01:00
Diego Najar
b9a474311b Merge branch 'master' of github.com:dignajar/bludit 2019-11-18 19:42:02 +01:00
Diego Najar
f0e9bc62a2 deactivate all plugins function 2019-11-18 19:41:54 +01:00
Diego Najar
006e87daf1
Merge pull request #1107 from anaggh/master
Fix #941 Allow backup downloads for admin role
2019-11-17 16:27:47 +01:00
Anaggh S
55bb7c4eeb Update Chartist.js 0.11.0 -> 0.11.4 2019-11-15 21:32:48 +05:30
Anaggh S
a39d3fff7f Add Disk Size to Simple Stats 2019-11-15 21:17:56 +05:30
Anaggh S
1a208b0642 Allow backup downloads for admin role 2019-11-15 19:29:26 +05:30
Diego Najar
2b504938ec include get settings 2019-11-11 19:16:05 +01:00
Diego Najar
c7c8998367 include category name on JSON method 2019-11-05 21:51:46 +01:00
Diego Najar
142159a8e9 Enable API after user login success and returns authentication token, helps for external applications 2019-11-02 17:06:34 +01:00
Diego Najar
c943506ff8 remove directories 2019-10-28 23:22:14 +01:00
Diego Najar
4e257937b7 remove directories 2019-10-28 23:21:34 +01:00
Diego Najar
952aedf175 Japanese language 2019-10-28 23:21:02 +01:00
Diego Najar
e212598c21 Ident subpages 2019-10-27 11:09:48 +01:00
Diego Najar
8a1338b186 remove shorcut to fix favicon. Related issue #1099 2019-10-24 20:08:54 +02:00
Diego Najar
5f2a840890 Fix URLs on assistant and metadata updated for Bludit v3.10.0 2019-10-19 10:10:46 +02:00
Diego Najar
bc5039c7e2 Merge branch 'master' of github.com:dignajar/bludit 2019-10-17 18:32:12 +02:00
Diego Najar
30737fef7b Plugin custom fields parser 2019-10-17 18:32:04 +02:00
Diego Najar
e624adc0a4
Merge pull request #1094 from kostaslgr/patch-2
Update gr.json
2019-10-15 14:24:30 +02:00
kostaslgr
e0ed79f8de
Update gr.json 2019-10-15 14:18:35 +03:00
kostaslgr
72344d2e13
Update gr.json 2019-10-15 14:17:38 +03:00
kostaslgr
63f9d392f7
Update gr.json
Corrected translation in Greek language.
2019-10-12 15:23:40 +03:00
Diego Najar
4f3f40a6c4 Remove HTML and PHP tags from the users,categories and tags fields, prevent XSS 2019-10-12 11:35:35 +02:00
Diego Najar
bc79794784
Merge pull request #1091 from ltGuillaume/patch-3
Dutch
2019-10-08 16:15:50 +02:00
Guillaume
a028395cc2
Dutch 2019-10-08 15:19:07 +02:00
Edi
22974f8731
Update fa_IR.json 2019-10-08 10:40:11 +02:00
Edi
985b4c0279
Update de_AT.json 2019-10-07 23:15:55 +02:00
Edi
b33ca79480
Update de_DE.json 2019-10-07 23:14:45 +02:00
Edi
7891d3ad3e
Update de_CH.json 2019-10-07 23:13:20 +02:00
Diego Najar
a614b1066e Languages dictionaries updated 2019-10-07 18:49:53 +02:00
Diego Najar
968d9d6221 Fade betewen tabs 2019-10-07 18:45:41 +02:00
Diego Najar
3d803e0c08 Merge branch 'master' of github.com:dignajar/bludit 2019-10-07 18:44:42 +02:00
Diego Najar
f53460a05a Remove arrow 2019-10-07 18:44:27 +02:00
Edi
5ecca546ea
Update de_AT.json 2019-10-06 20:14:19 +02:00
Edi
fcc72096ce
Update de_CH.json 2019-10-06 20:13:51 +02:00
Edi
5e82ff7e81
Update de_DE.json 2019-10-06 20:12:43 +02:00
Edi
54a761ec91
Update de_AT.json 2019-10-06 20:10:31 +02:00
Edi
711686bd9f
Update de_CH.json 2019-10-06 20:08:53 +02:00
Diego Najar
ada0b61ee1 Add badget for page types 2019-10-05 21:29:32 +02:00
Diego Najar
7dae1725bb Keep date on draft pages, bug fix for #1088 2019-10-05 21:22:34 +02:00
Diego Najar
c5977fc0cb Select parent page bug fix #1089 2019-10-05 21:20:58 +02:00
Diego Najar
b86f317a2c
Merge pull request #1085 from ltGuillaume/patch-3
Dutch
2019-10-05 20:00:49 +02:00
Diego Najar
bee66af492
Merge pull request #1090 from rastating/bug/fix-brute-force-vulnerability
Remove use of headers that can be used to bypass anti-brute force controls
2019-10-05 19:59:34 +02:00
Rob
b5afd44195
Remove use of headers that can be used to bypass anti-brute force controls 2019-10-05 18:22:25 +01:00
Diego Najar
da94b43e84 Change <? for <?php, fix for #1086 2019-09-27 15:36:18 +02:00
Guillaume
ff8b3e323b
Dutch 2019-09-25 23:23:13 +02:00
Diego Najar
aa09eb1351 metadata for bludit v3.10.0 2019-09-25 20:23:15 +02:00
Diego Najar
3617ce9b88 Include User and settings for the API 2019-09-25 20:19:34 +02:00
Diego Najar
21a48609c2 Social network theme minor changes 2019-09-25 20:19:01 +02:00
Diego Najar
b35172b286 Open current tab after refresh page 2019-09-25 20:18:36 +02:00
Diego Najar
bf0f31993b clean up 2019-09-25 20:17:28 +02:00
Diego Najar
582dd26243 Select2 as search function and the new assistant for Bludit on Dashboard 2019-09-25 20:16:45 +02:00
Diego Najar
e153a20417 Minor changes on languages dictionaries 2019-09-25 20:12:40 +02:00
Diego Najar
00cd81002e updated 2019-09-25 20:11:52 +02:00
Diego Najar
091c5798c1 TinyMCE 5.0.16 2019-09-25 20:11:19 +02:00
Diego Najar
1df1522144 Merge branch 'master' of github.com:dignajar/bludit 2019-09-23 23:04:43 +02:00
Diego Najar
40b3c36358 Open current tab after refresh 2019-09-23 23:04:34 +02:00
Diego Najar
239da3bd40
Merge pull request #1084 from xm74/master
Harmonize RSS feed with W3C recommendations
2019-09-19 12:15:43 +02:00
Max Kostikov
b10ee19033
Rename function encodeURL 2019-09-19 11:52:28 +02:00
Max Kostikov
2e8536cc04
Use DATE_RSS constant in RSS pubDate 2019-09-16 11:57:51 +02:00
Max Kostikov
0340a18dc1
Ignore locale in date 2019-09-15 14:52:50 +02:00
Max Kostikov
b272020b37
Harmonize RSS feed with W3C recommendations
1. Declare Atom schema support
2. Escape international characters in URL
3. Ignore locale in date
2019-09-15 14:51:04 +02:00
Diego Najar
8df8d5f7dd remove changefreq field 2019-09-11 19:14:07 +02:00
Diego Najar
c0dfe40d1b Methods for API 2019-09-11 19:12:19 +02:00
Diego Najar
d84d0065d5 Javascript functions 2019-09-11 19:11:44 +02:00
Diego Najar
a31f11d8c6 Javascript functions 2019-09-11 19:11:18 +02:00
Diego Najar
fe8ad3c064 Show the static pages order by position all the time 2019-09-11 19:10:41 +02:00
Diego Najar
3c72a8eafb Custom fields with positions 2019-09-09 20:34:50 +02:00
Diego Najar
23237cb05d Check file types uploaded and handle message error for the users 2019-09-09 19:29:35 +02:00
Diego Najar
5857970461 Fix checkbox for robots 2019-09-09 17:51:58 +02:00
Diego Najar
a9640ff6b5 Bug fix for #1081 2019-09-08 10:45:56 +02:00
Diego Najar
3dd31b9d11 Allow static pages to have subpages 2019-09-08 10:35:21 +02:00
Diego Najar
7aba5362c6 Bug fix when select parent pages with special HTML characters. Related issue #1072 2019-09-08 10:17:12 +02:00
Diego Najar
323ab6462b Improve issue template 2019-09-06 16:12:41 +02:00
Diego Najar
7092697112 Bug fix for #1079 2019-09-05 23:10:39 +02:00
Diego Najar
72b6908899 Custom fields: Boolean type 2019-09-03 18:35:30 +02:00
Diego Najar
cc73f609e4 Custom fields 2019-09-02 18:24:34 +02:00
Diego Najar
2e44c6fd8c EasyMDE v2.8.0 2019-08-30 16:52:12 +02:00
Diego Najar
4662bde3b9 https instead of http 2019-08-21 20:50:11 +02:00
Edi
e8547253fd
Typo 2019-08-13 14:01:03 +02:00
Diego Najar
83e8cf74c1
Update ping URLs 2019-08-06 10:54:21 +02:00
Diego Najar
82501c9c9c
Merge pull request #1062 from b3none/patch-1
Fix typo in the index.php
2019-07-23 09:27:13 +02:00
Diego Najar
b021a42f66 remove lightgallery 2019-07-21 15:11:15 +02:00
Diego Najar
e3dbf79863 Execute install.php after activate the theme 2019-07-21 15:10:33 +02:00
Edi
7441ccc003
Merge pull request #1064 from murko69/patch-1
Create sv_SE.json
2019-07-09 12:33:59 +02:00
MIcke Olsson
0a23a60901
Create sv_SE.json
Add and update Swedish translations
2019-07-09 12:20:07 +02:00
⭐ B3none
1258182265
Fix typo in the index.php 2019-07-05 20:11:00 +01:00
Diego Najar
e50721eb8e
Merge pull request #1055 from nogajun/japanese
Update Japanese translation
2019-06-28 18:53:33 +02:00
Jun NOGATA
7af9c53472 Add and Update Japanese Translation plugins / themes 2019-06-26 11:47:30 +09:00
Jun NOGATA
7596018c73 update Japanese translation 2019-06-26 00:45:17 +09:00
Diego Najar
b1fc6cd0be Update metadata for Bludit v3.9.2 2019-06-21 11:02:02 +02:00
Diego Najar
44f8c77abe Tinymce 5.0.8 2019-06-21 11:01:21 +02:00
Diego Najar
3cd7fa7720 Remove page from Sitemap when are setted as noindex #1054 2019-06-21 10:27:26 +02:00
Diego Najar
0cfb161e53 Remove page from Sitemap when are setted as noindex #1054 2019-06-21 10:26:38 +02:00
Diego Najar
5779635bd4 Remove buttons from paginator when are not need it 2019-06-21 10:24:37 +02:00
Diego Najar
d6f0073446 removed google plus 2019-06-17 22:07:01 +02:00
Diego Najar
f81c909cbc Language updated 2019-06-17 22:06:40 +02:00
Diego Najar
b69f795038 Remove button next and previous when there are no more pages. #1052 2019-06-17 22:05:17 +02:00
Diego Najar
6a51889f4d
Merge pull request #1049 from GamerN131/patch-1
Minor Changes in de_DE.json
2019-06-16 22:32:32 +02:00
Diego Najar
84cf8d923e
Merge pull request #1050 from hide-me/patch-8
Translation for new strings
2019-06-16 22:32:15 +02:00
Diego Najar
016754b67c Fix some english phrases 2019-06-16 22:31:48 +02:00
Diego Najar
88765e15f9 Merge branch 'master' of github.com:dignajar/bludit 2019-06-16 22:31:19 +02:00
Diego Najar
7a6d13de26 Social network theme, still working on it 2019-06-16 22:31:09 +02:00
hide-me
289a2bb167
Translations for new strings 2019-06-12 11:04:53 +03:00
GamerN131
10c263b507
Updated de_DE.json
Translation of "author-can-write-and-edit-their-own-content"
2019-06-10 14:44:07 +02:00
Diego Najar
b021019ec1
Merge pull request #1046 from ltGuillaume/patch-1
Dutch
2019-06-10 13:05:08 +02:00
Guillaume
87c487bdcb
Dutch 2019-06-06 22:24:00 +02:00
Diego Najar
e259257c53 Language updated 2019-06-06 19:26:35 +02:00
Diego Najar
42a2d1e144 Fixes on english language and sync other dictionaries 2019-06-06 19:08:17 +02:00
Diego Najar
5a4edaf924
Merge pull request #1045 from Fred89/master
Update fr_FR.json
2019-06-06 18:53:42 +02:00
Fred89
125d1f01fd Update fr_FR.json 2019-06-05 01:19:34 +02:00
Diego Najar
1ea94a4f0b Include RSS link 2019-06-02 20:37:45 +02:00
Diego Najar
239b868cc4 Added description 2019-06-02 20:10:55 +02:00
Diego Najar
2fd6d17229 Update readme 2019-05-31 13:06:49 +02:00
Diego Najar
7228a3df52 Fix language 2019-05-31 09:29:44 +02:00
Diego Najar
e226468036 Change metadata for Bludit v3.9.1 2019-05-30 19:24:37 +02:00
Edi
fe2d640969
Update de_CH.json 2019-05-30 15:43:50 +02:00
Edi
51cdedbdb4
Update de_AT.json 2019-05-30 15:43:18 +02:00
Edi
8b4ea87bf4
Update de_DE.json 2019-05-30 15:42:49 +02:00
Diego Najar
9b67ec6dac
Merge pull request #1040 from SamBrishes/master
Re-Implement de_AT.json
2019-05-30 10:03:54 +02:00
SamBrishes
d0b286ee0e Translate Preview in de_CH 2019-05-30 09:57:15 +02:00
SamBrishes
29b96802d7 Re-Implement de_AT language 2019-05-30 09:56:45 +02:00
Diego Najar
752778bc66
Merge pull request #1039 from ltGuillaume/patch-1
Dutch
2019-05-30 09:48:44 +02:00
Guillaume
284ecc4256
Dutch 2019-05-30 01:14:16 +02:00
Diego Najar
987cbd3be8 Issue template 2019-05-29 20:40:11 +02:00
Diego Najar
600345ee57 Bug fix for PHP 5.6 when upload images 2019-05-29 19:28:11 +02:00
Diego Najar
febd7256e4 Spanish updated 2019-05-29 16:53:45 +02:00
Diego Najar
2c773ac1a4 Include SVG format 2019-05-29 16:21:25 +02:00
Diego Najar
6ae0f06ca9 Include preview word 2019-05-29 16:20:45 +02:00
Diego Najar
237d28d396 Prevent show Disqus in page not found 2019-05-28 21:04:15 +02:00
Diego Najar
a1bb333153 Prevent non-administrators to change the password from other users 2019-05-28 20:49:29 +02:00
Diego Najar
ce3d52736f Suffix for prevent cache in TinyMCE 2019-05-28 20:39:37 +02:00
Edi
cbb8c0653e
Update de_DE.json 2019-05-28 11:23:39 +02:00
Edi
8de04fc4cc
Update de_AT.json 2019-05-28 11:22:52 +02:00
Edi
aff0a0220c
Update de_CH.json 2019-05-28 11:21:14 +02:00
Diego Najar
49027a3bad Bludit v3.9.0 2019-05-27 21:56:52 +02:00
Diego Najar
37396e8dec TinyMCE 5.0.6 2019-05-27 20:02:42 +02:00
Diego Najar
1aed4d0666 added version in url to avoid cache problems 2019-05-27 19:51:57 +02:00
Diego Najar
0d2c962da8 added some comments 2019-05-27 19:41:46 +02:00
Diego Najar
0dc9904d62 Check file extension, bug fix #1011 2019-05-27 19:24:11 +02:00
Diego Najar
f317d8cff7 bigger button 2019-05-27 19:08:20 +02:00
Diego Najar
baa835cb8c added some logs 2019-05-27 19:07:53 +02:00
Diego Najar
95448a76c3 Merge branch 'master' of github.com:dignajar/bludit 2019-05-27 19:07:15 +02:00
Diego Najar
3704838436 remove button view for draft pages 2019-05-27 19:07:02 +02:00
Edi
e2a2e5f315
Merge pull request #1035 from MoritzBrueckner/lang_de
Update german translations
2019-05-26 23:58:46 +02:00
Diego Najar
bcff43603a Include autosave type 2019-05-26 23:09:38 +02:00
Diego Najar
ff4f166962 Functions for autosave type 2019-05-26 23:08:50 +02:00
Diego Najar
787538e1ca Search function searches in names and description 2019-05-26 23:08:01 +02:00
Diego Najar
b9f190ec88 Merge branch 'master' of github.com:dignajar/bludit 2019-05-26 23:07:20 +02:00
Diego Najar
c5f895b72f Updated search function, include view button, improves for small devices 2019-05-26 23:06:08 +02:00
Diego Najar
7b1ae6d86e
Merge pull request #1034 from anaggh/patch-1
Bug Fix #1032
2019-05-26 22:43:44 +02:00
Diego Najar
9f81ab8ab0
Merge pull request #1033 from ltGuillaume/dutch
Dutch
2019-05-26 22:15:35 +02:00
Moritz Brückner
4e5d8ff5dd Update german translations 2019-05-25 14:29:21 +02:00
Diego Najar
61628ff56d Remove SimpleMDE and include EasyMDE 2019-05-25 12:14:49 +02:00
anaggh
dd037a96ea
Bug Fix #1032
Data changes on 2nd or 3rd save.

Try
```
abc </textarea> def
```

OR

```
<code>
&lt;p&gt; test &lt;/p&gt;
</code>
```
2019-05-25 12:03:14 +05:30
Guillaume
141b1a8145
Dutch 2019-05-24 20:05:27 +02:00
Diego Najar
d1f7e32885 Languages dictionaries updated 2019-05-24 19:26:57 +02:00
Diego Najar
f0af06dbed Languages dictionaries updated 2019-05-24 19:25:00 +02:00
Diego Najar
68407ad75e Autosave tab, and autosave type for pages 2019-05-24 19:00:22 +02:00
Diego Najar
c3cccaf42d icons for plugins view 2019-05-24 18:59:53 +02:00
Diego Najar
8427c84403
Merge pull request #1030 from anaggh/master
Updates
2019-05-19 12:16:41 +02:00
Anaggh S
4c194a97dc Update jQuery 3.3.1 -> 3.4.1 2019-05-19 00:02:43 +05:30
Anaggh S
f49c3c7a47 Raise min php version required 5.3 -> 5.6 in install.php 2019-05-18 23:41:32 +05:30
Anaggh S
78f3b0aee5 Change Copyright year 2018 -> 2019 2019-05-18 23:35:01 +05:30
Diego Najar
76da5e9aa2 TinyMCE default plugins and toolbar 2019-05-18 14:04:23 +02:00
Diego Najar
77e85e70b9 3.9.0-beta1 2019-05-18 12:39:06 +02:00
Diego Najar
99cdf11632 add suffix beta 2019-05-18 11:57:04 +02:00
Diego Najar
4c095f9ffc UI improved and new icons set 2019-05-18 11:54:39 +02:00
Diego Najar
a4fc00aa63 search function improved 2019-05-18 11:52:30 +02:00
Diego Najar
1d5b686619 prevent ERR_TOO_MANY_REDIRECTS 2019-05-17 20:28:48 +02:00
Diego Najar
93e6b2a622 remove open iconic fonts 2019-05-17 19:51:39 +02:00
Diego Najar
9ed95e2918 Search pages via the title 2019-05-17 19:49:35 +02:00
Diego Najar
fc2387bcb9 New role Author 2019-05-13 18:26:35 +02:00
Diego Najar
3d87b6597d Editor role now only can edit his own content 2019-05-12 14:50:54 +02:00
Diego Najar
b35efdcf2f Update metadata for plugins and themes for the next release 2019-05-12 14:39:22 +02:00
Diego Najar
b552944ad7 TinyMCE 5.0.5 2019-05-12 14:37:46 +02:00
Diego Najar
05a17e9122 Editor role now only can edit his own content 2019-05-12 14:31:33 +02:00
Diego Najar
10ba5625da Get categories via the API 2019-05-12 12:32:12 +02:00
Diego Najar
801c2ba9e9 Edit setting trough the API 2019-05-12 11:50:08 +02:00
Diego Najar
749cf37fa8 filter by enabled and disabled plugin, and search function 2019-05-11 20:32:46 +02:00
Diego Najar
ec7769251b get parent type for the child 2019-05-10 20:03:05 +02:00
Diego Najar
1f1cd4e3ec rename filename to keep clean 2019-05-10 20:02:24 +02:00
Diego Najar
4e0d00c9ca Content managment improves in small devices 2019-05-10 15:08:02 +02:00
Diego Najar
0dff931595 Content managment improves in small devices 2019-05-10 15:07:51 +02:00
Diego Najar
9962b0ba48 Remove site logo button and improve in UI 2019-05-10 11:35:46 +02:00
Diego Najar
18778226eb Autosave and preview improves 2019-05-10 11:35:23 +02:00
Diego Najar
de2cfeb66e styled changed 2019-05-09 19:32:30 +02:00
Diego Najar
38092a051c Autosave and preview function migrated to fetch function 2019-05-09 19:31:55 +02:00
Diego Najar
b32bc1e054 upload max filesize for javascript 2019-05-09 17:22:04 +02:00
Diego Najar
7c1db136b1 removed the callback if false 2019-05-09 17:21:32 +02:00
Diego Najar
07df697618 page preview via token 2019-05-09 17:20:35 +02:00
Diego Najar
9d436f8a76 variable with installed plugins 2019-05-09 17:19:56 +02:00
Diego Najar
1419483708 changed color 2019-05-09 17:19:18 +02:00
Diego Najar
03835e8b04 Merge branch 'master' of github.com:dignajar/bludit 2019-05-09 17:18:37 +02:00
Diego Najar
7ca3c85645 change variable for constant 2019-05-09 17:18:26 +02:00
Diego Najar
d2f6ea7b8d
Merge pull request #1021 from erdifr/patch-1
Update navbar.php
2019-04-28 21:00:54 +02:00
Diego Najar
3066c091d2 Feature page preview and switch button for publish and draft 2019-04-27 20:30:57 +02:00
erdifr
6403421769
Update navbar.php
Add ```Logout``` link to ```navbar.php```.
2019-04-27 13:20:23 -04:00
Diego Najar
3fa5a420c2 UI improves 2019-04-24 00:11:36 +02:00
Diego Najar
dc8320d46f new icons line-awesome 2019-04-23 23:26:34 +02:00
Diego Najar
a526e71cd2 Create symlink with the page name for images directory 2019-04-23 23:26:02 +02:00
Diego Najar
aa17de9665 new icons line-awesome 2019-04-23 23:23:35 +02:00
Diego Najar
be088e4704 moving bootstrap changes to a separated css file 2019-04-23 23:22:17 +02:00
Diego Najar
3c71e7ee60 Upload images via API improves 2019-04-23 23:21:43 +02:00
Diego Najar
8d06d47318 new function to convert human readable mememory to bytes 2019-04-23 23:17:27 +02:00
Diego Najar
20b672cd09 Move variables to constasts 2019-04-23 23:13:02 +02:00
Diego Najar
f978de490f Improves in AJAX functions 2019-04-23 23:12:38 +02:00
Diego Najar
c0bf0f6583 UI Improve when create new/edit content 2019-04-23 23:10:46 +02:00
Diego Najar
8aeceff207 TinyMCE 5 2019-04-23 19:05:23 +02:00
Edi
a6137fbb8f
Update theme.class.php 2019-04-19 00:55:34 +02:00
Edi
ff6504172a Add files via upload 2019-04-19 00:52:24 +02:00
Edi
76265608b3 Add files via upload 2019-04-19 00:51:45 +02:00
Diego Najar
db70a147f3 Merge branch 'master' of github.com:dignajar/bludit 2019-04-07 20:43:52 +02:00
Diego Najar
8ab9af8bb2 Improve for upload image, new method for filesystem class 2019-04-07 20:43:42 +02:00
Diego Najar
82dabaf925
Merge pull request #1015 from anaggh/master
Update parsedown 1.7.1 -> 1.7.3
2019-04-03 16:22:18 +02:00
Anaggh S
99bcc33b38 Update parsedown 1.7.1 -> 1.7.3 2019-04-03 19:35:50 +05:30
Diego Najar
27917f3f6e
Merge pull request #1012 from erdifr/patch-1
RSS plugin.php update
2019-04-03 12:55:17 +02:00
Diego Najar
8dba57f23d
Merge pull request #1003 from SamBrishes/master
Create de_AT.json
2019-04-01 21:03:32 +02:00
Edi
26586cc268
Update ro_RO.json 2019-04-01 18:02:42 +02:00
erdifr
ba525a3366
RSS plugin.php update
Added static and sticky pages to Bludit RSS plugin.php
2019-04-01 08:38:26 -04:00
SamBrishes
07dbde6f36 Update de_AT.json 2019-03-31 16:17:57 +02:00
Diego Najar
30a4354207
Merge pull request #1010 from pytesNET/master
Enable adminSidebar() also for Editors
2019-03-29 14:47:40 +01:00
SamBrishes
2ef0c95cae Update sidebar.php 2019-03-28 21:37:50 +01:00
Diego Najar
2f63e920b0 Upload image from API 2019-03-27 22:33:23 +01:00
SamBrishes
940e0783d7 Create de_AT.json 2019-03-22 17:40:57 +01:00
Diego Najar
32382dce22
Merge pull request #1001 from Fastbyte01/master
Italian translations
2019-03-22 09:48:05 +01:00
Giuseppe Pignataro
546c525b23 Added italian translation 2019-03-21 18:02:32 +01:00
Giuseppe Pignataro
3d56d85a89 Updated Italian translations 2019-03-21 17:49:11 +01:00
Diego Najar
22393dee13
Merge pull request #997 from Fastbyte01/master
Updated Italian translation
2019-03-21 17:05:28 +01:00
Giuseppe Pignataro
3ad63a1d9e Updated Italian translation 2019-03-21 14:46:19 +01:00
Diego Najar
2d535ad612 check extension and path traversal 2019-03-10 18:28:29 +01:00
Diego Najar
d0843a4070 check extension and path traversal 2019-03-10 18:27:24 +01:00
Diego Najar
3ab8c4c0a6 Enable or disable Markdown parser for #980 2019-03-09 18:53:03 +01:00
Diego Najar
185ae09393 allow differents types of pages to the tag database 2019-03-07 21:27:34 +01:00
Diego Najar
1295d219ab Move images to bl-kernel folder #981 2019-03-07 16:13:47 +01:00
Diego Najar
b529b8da9c remove gris 2019-03-07 16:11:38 +01:00
Diego Najar
98acc58597
Merge pull request #969 from anaggh/master
Update bootstrap to v4.3.1
2019-03-02 19:46:32 +01:00
Diego Najar
5e5957cca1 removed magic_quotes_gpc :D 2019-02-28 20:01:11 +01:00
Diego Najar
2b542e58d0 php supported 5.6 or higher 2019-02-28 19:59:18 +01:00
Diego Najar
e548d75e3e comments, bug fixes for buildpages by tags 2019-02-28 19:55:06 +01:00
Diego Najar
c16741808f include sticky in sitemap #972 2019-02-28 19:51:30 +01:00
Diego Najar
54868df652 include sticky and static pages to the categories 2019-02-28 19:44:46 +01:00
Diego Najar
bdf585b8db search plugin support static and sticky pages #952 2019-02-28 19:43:42 +01:00
Diego Najar
3343d61984 language updated 2019-02-28 19:42:41 +01:00
Diego Najar
c72f936017 changed metadata for 3.8.1 2019-02-28 15:59:59 +01:00
Diego Najar
c14e86f96f bug fix, prevent lost tags 2019-02-28 15:32:08 +01:00
Diego Najar
89b4c5fc92 include tags in json function 2019-02-26 00:48:19 +01:00
Diego Najar
820b1c7207 include tags in json function 2019-02-26 00:47:34 +01:00
Diego Najar
86fa5bd2b3 filter tagg 2019-02-25 16:33:29 +01:00
Diego Najar
5297354e3b Merge branch 'master' of github.com:dignajar/bludit 2019-02-25 16:33:11 +01:00
Diego Najar
ee31f42424 Method for get the token 2019-02-25 16:32:47 +01:00
Diego Najar
75ec5f32f3 include slug for the API 2019-02-25 16:32:29 +01:00
Diego Najar
6b1020f0c4 check if autosave exists 2019-02-25 16:32:00 +01:00
Edi
300e0a27d6
Update de_DE.json 2019-02-25 12:34:04 +01:00
Edi
2adc555846
Update de_CH.json 2019-02-25 12:33:35 +01:00
Edi
fc56f55a13
Create fa_IR.json 2019-02-25 12:20:39 +01:00
Edi
a9e9c6934a
Create fa_IR.json 2019-02-25 12:19:10 +01:00
Edi
b5af783845
Create fa_IR.json 2019-02-25 12:18:08 +01:00
Edi
d8c4a72a33
Create fa_IR.json 2019-02-25 12:17:11 +01:00
Edi
142635c9be
Create fa_IR.json 2019-02-25 12:16:04 +01:00
Edi
72156aa72c
Create fa_IR.json 2019-02-25 12:14:24 +01:00
Edi
08be96e504
Create fa_IR.json 2019-02-25 12:13:21 +01:00
Edi
fddd4ec921
Create fa_IR.json 2019-02-25 12:12:10 +01:00
Edi
a23221cce8
Create fa_IR.json 2019-02-25 12:10:26 +01:00
Edi
41c0bb062c
Create fa_IR.json 2019-02-25 12:09:24 +01:00
Edi
133f072266
Create fa_IR.json 2019-02-25 12:08:20 +01:00
Edi
a2b326f6bc
Create fa_IR.json 2019-02-25 12:07:20 +01:00
Edi
3ee994e77d
Create fa_IR.json 2019-02-25 12:06:24 +01:00
Edi
d21c393270
Create fa_IR.json 2019-02-25 12:05:11 +01:00
Diego Najar
f59f55f5d4 Merge branch 'master' of github.com:dignajar/bludit 2019-02-24 16:42:48 +01:00
Diego Najar
0f867720a5 Prevent content to be empty if not passed as argument 2019-02-24 16:38:18 +01:00
Edi
b21b12abb6
Create fa_IR.json 2019-02-24 14:43:22 +01:00
Edi
9ffec02bb2
Create fa_IR.json 2019-02-24 14:42:31 +01:00
Edi
a7bb4abc95
Create fa_IR.json 2019-02-24 14:41:19 +01:00
Edi
c279e10453
Create fa_IR.json 2019-02-24 14:40:14 +01:00
Edi
f030d5bd52
Create fa_IR.json 2019-02-24 14:39:16 +01:00
Edi
e35e91cbd9
Create fa_IR.json 2019-02-24 14:38:14 +01:00
Edi
7202359b42
Create fa_IR.json 2019-02-24 13:45:55 +01:00
Edi
949bd9832f
Create fa_IR.json 2019-02-24 13:47:24 +01:00
Edi
5102832a25
Create fa_IR.json 2019-02-24 13:42:55 +01:00
Edi
878207abfa
Create fa_IR.json 2019-02-24 13:41:45 +01:00
Edi
36c64875b3
Create fa_IR.json 2019-02-24 13:40:14 +01:00
Edi
a9bfd931bd
Create fa_IR.json 2019-02-24 13:39:14 +01:00
Edi
e455020956
Update fa_IR.json 2019-02-24 13:37:06 +01:00
Anaggh S
c8af1c1d4d Update bootstrap to v4.3.1 2019-02-24 15:19:23 +05:30
Diego Najar
60f1b37441 comment rewritebase 2019-02-23 11:20:37 +01:00
Diego Najar
c3425d2406 new sponsors 2019-02-22 18:56:40 +01:00
Diego Najar
ef9a99f4b1 metadata for 3.8.0 2019-02-22 18:53:48 +01:00
Diego Najar
f2e12e6821 bug fix for #961 2019-02-22 18:42:27 +01:00
Diego Najar
3500813695 Bug fix for #962 2019-02-22 18:34:51 +01:00
Diego Najar
3fc2c2bb74 bug fix for #959 2019-02-22 18:26:42 +01:00
Diego Najar
ff5df92944 remove a few lines not used 2019-02-22 16:43:00 +01:00
Diego Najar
ea81099b59 remove grizzly 2019-02-22 16:36:56 +01:00
Diego Najar
dea1e09b30 remove grizzly 2019-02-22 16:35:45 +01:00
Diego Najar
c98864733a bug fix for #965 2019-02-22 14:25:40 +01:00
Diego Najar
c39922d95d new page and draft 2019-02-20 23:13:59 +01:00
Diego Najar
a5180135f6 API Improve and Pages class 2019-02-20 08:45:55 +01:00
Diego Najar
3058904fd2 API improves 2019-02-19 08:38:17 +01:00
Diego Najar
4365147a40
Merge pull request #956 from ltGuillaume/patch-1
Use comma for imploding robots meta tag
2019-02-13 22:54:02 +01:00
Guillaume
59a6440fd8
Use comma for implode robots meta tag
According to http://www.robotstxt.org/meta.html and https://www.webmasterworld.com/forum93/669.htm using only a space between the values probably isn't the proper syntax and could ignore all values (perhaps that explains why Google ignored my `noindex nofollow noarchive`).
2019-02-13 16:28:22 +01:00
Diego Najar
29bc6c1ef7
Merge pull request #954 from hide-me/patch-7
upd ru lang
2019-02-12 10:22:46 +01:00
hide-me
ad96ae579d
upd ru lang 2019-02-12 12:17:12 +03:00
Diego Najar
e82b8c4e70
Merge pull request #953 from ltGuillaume/patch-1
Add lastBuildDate to RSS feed xml
2019-02-12 09:47:33 +01:00
Guillaume
b9e5161177
Add lastBuildDate to RSS feed xml 2019-02-12 08:13:18 +01:00
Diego Najar
721099aa4f grizzly admin theme 2019-02-08 08:53:56 +01:00
Diego Najar
efacadf46c Merge branch 'master' of github.com:dignajar/bludit 2019-02-08 08:53:37 +01:00
Diego Najar
78cacae128 Bug fixes for API plugin 2019-02-08 08:53:26 +01:00
Diego Najar
58639f40be
Merge pull request #942 from ltGuillaume/patch-3
Button layout consistent with Contents
2019-02-07 20:36:17 +01:00
Diego Najar
d81925d706
Merge pull request #951 from ali-demirtas/patch-22
Update tr_TR.json
2019-02-07 20:35:27 +01:00
Diego Najar
8376906d9c
Merge pull request #950 from ltGuillaume/patch-1
Dutch
2019-02-07 19:58:35 +01:00
Ali Demirtas
db3db63f35
Update tr_TR.json
Updated.
2019-02-06 11:33:32 +03:00
Guillaume
1b20c10513
Update nl_NL.json 2019-02-06 08:37:18 +01:00
Guillaume
d5e3e110f8
Dutch 2019-02-04 22:14:40 +01:00
Diego Najar
56eb4a3a93 remove Blocks classes 2019-02-03 20:05:32 +01:00
Diego Najar
19d9493c83 Enable TinyMCE allow all elements 2019-02-03 14:34:21 +01:00
Diego Najar
8b0ff80efb define function if the editor is not enabled 2019-02-03 14:29:37 +01:00
Diego Najar
d847b58907 New words in dictionaries 2019-02-02 19:45:23 +01:00
Edi
c861aa35f4
Merge pull request #948 from MoritzBrueckner/lang_de
de lang: small fixes and more translations
2019-02-02 17:52:18 +01:00
Moritz Brückner
df02325251 de-CH lang: small fix 2019-02-02 16:30:03 +01:00
Moritz Brückner
ed7eb6186b Lang de: add translations for new media upload alerts 2019-02-02 16:28:46 +01:00
Diego Najar
d43fa9e4b4
Merge pull request #944 from ltGuillaume/patch-4
Dutch for all plugins and themes
2019-02-02 16:26:37 +01:00
Diego Najar
2643c9ff1f comments 2019-02-02 16:16:13 +01:00
Diego Najar
75ac3c3400 Button plus with color, more cool 2019-02-02 16:15:46 +01:00
Diego Najar
43923882cd Button plus with color, more cool 2019-02-02 16:15:01 +01:00
Diego Najar
785965db35 Pages with differents dates after installation 2019-02-02 16:14:00 +01:00
Diego Najar
088179f1fb Media manager improves, alert when the file type is not supported and maximum load file 2019-02-02 16:11:36 +01:00
Moritz Brückner
306a12fe56 DE lang authors: user rename 2019-02-01 21:50:38 +01:00
Moritz Brückner
0d73c039f2 DE lang: small grammar fix 2019-02-01 21:50:00 +01:00
Moritz Brückner
24230fb099 Add some more german translations 2019-02-01 21:49:12 +01:00
Diego Najar
7335196208
Update index.php 2019-02-01 18:00:45 +01:00
Diego Najar
7442afd59c
Update head.php 2019-02-01 17:59:39 +01:00
Diego Najar
de99190341
Change tag and include generator tag 2019-02-01 17:59:15 +01:00
Diego Najar
e1f32f3462
Include header X-Powered-By 2019-02-01 17:58:12 +01:00
Diego Najar
9689d5a63a Merge branch 'master' of github.com:dignajar/bludit 2019-01-31 20:08:14 +01:00
Diego Najar
ec7e0aaf4c Ajax response improves 2019-01-31 20:07:59 +01:00
Diego Najar
4ba410d742
Merge pull request #945 from hide-me/patch-6
Added ru lang
2019-01-31 10:22:57 +01:00
hide-me
3ac67971cc
Added ru lang 2019-01-31 11:49:54 +03:00
Guillaume
c238dacb20
Dutch for all plugins and themes 2019-01-31 03:05:09 +01:00
Guillaume
d5695da0b1
Proper Dutch 2019-01-31 00:34:57 +01:00
Diego Najar
79095de5ca returns empty list if there are not images 2019-01-30 23:27:19 +01:00
Guillaume
293209447b
Consistent button layout with Contents 2019-01-30 23:22:02 +01:00
Diego Najar
8f7ee3fec1 Improves in Media manager and Ajax responses 2019-01-30 23:15:36 +01:00
Diego Najar
eb31e298da Bug fix to prevent jQuery add extra code 2019-01-30 17:53:10 +01:00
Edi
376a7c6909
Create de_DE.json 2019-01-28 23:04:24 +01:00
Edi
565c933be0
Create de_CH.json 2019-01-28 23:04:05 +01:00
Edi
57c36a47b4
Create de_DE.json 2019-01-28 22:53:01 +01:00
Edi
0a8b154795
Create de_CH.json 2019-01-28 22:52:40 +01:00
Diego Najar
36f26aad35
Merge pull request #937 from ltGuillaume/patch-3
Autofocus username field on login
2019-01-28 22:23:10 +01:00
Diego Najar
6db9c59dd5 change metadata for Bludit v3.7.1 2019-01-28 22:20:15 +01:00
Diego Najar
7a2a8e85d6 Remove alert about complete fields after POST method 2019-01-28 22:12:33 +01:00
Diego Najar
8fc358a168 Canonical plugin activated by default 2019-01-28 22:11:59 +01:00
Diego Najar
bf061d6fff Bug fix when select the type of the page 2019-01-28 20:30:52 +01:00
Diego Najar
0a7d63c512 Delete button in small devices 2019-01-28 20:30:18 +01:00
Edi
060dc2fd29
Fix of wrong label 2019-01-27 23:14:56 +01:00
Guillaume
1dae01c021
Autofocus username field on login 2019-01-27 18:07:38 +01:00
Diego Najar
1255cddf7d Changes in metadata for Bludit v3.7.0 2019-01-27 13:38:53 +01:00
Diego Najar
629f43350c Search plugin, Event when key ENTER is press 2019-01-27 13:36:39 +01:00
Diego Najar
03e035cb98 Remote content try webhook button 2019-01-27 12:46:34 +01:00
Diego Najar
0eacad9a95
Merge pull request #930 from ali-demirtas/patch-21
Create tr_TR.js
2019-01-26 18:32:07 +01:00
Ali Demirtas
09e48db992
Create tr_TR.js
Turkish language file added.
2019-01-26 19:25:48 +03:00
Diego Najar
a1a7a7fd38 Migrate private variables to protected to allow to extend classes 2019-01-26 12:50:48 +01:00
Diego Najar
8ff877bf37 Removed Write role from the role list 2019-01-26 12:36:42 +01:00
Diego Najar
307516579d Merge branch 'master' of github.com:dignajar/bludit 2019-01-26 11:14:07 +01:00
Diego Najar
c13b8f903e Bug fix for #921 2019-01-26 11:13:53 +01:00
Diego Najar
4770184521
Merge pull request #924 from ltGuillaume/master
Dutch for TinyMCE
2019-01-26 10:57:56 +01:00
Diego Najar
f9f556e639 TinyMCE bug fix on CSS #923 2019-01-26 10:34:48 +01:00
Guillaume
b2c22426e4
Add files via upload 2019-01-25 23:16:15 +01:00
Guillaume
8233163ddd
Add files via upload 2019-01-25 23:14:11 +01:00
Diego Najar
1dc3f067dc include languages files 2019-01-25 16:26:55 +01:00
Diego Najar
0a1a97893f Plugin HTML Code added support for admin area 2019-01-25 16:26:34 +01:00
Diego Najar
4091b7de11 Merge branch 'master' of github.com:dignajar/bludit 2019-01-25 16:25:51 +01:00
Diego Najar
06cf589021 Disqus plugin improves 2019-01-25 16:25:41 +01:00
Diego Najar
9b6b9e2ad9
Merge pull request #922 from ltGuillaume/patch-1
Update nl_NL.json
2019-01-25 12:00:41 +01:00
Guillaume
0b193b3fe6
Update nl_NL.json 2019-01-25 05:19:36 +01:00
Guillaume
1c09fc29a7
Update nl_NL.json 2019-01-25 04:54:30 +01:00
Guillaume
6f4b677e69
Update nl_NL.json 2019-01-25 04:49:17 +01:00
Guillaume
7a6ac85a4a
Update nl_NL.json 2019-01-25 04:48:34 +01:00
Guillaume
e1123cb72b
Update nl_NL.json 2019-01-25 03:52:32 +01:00
Guillaume
2f03407626
Update nl_NL.json 2019-01-25 03:49:26 +01:00
Guillaume
38fe91c6af
Update nl_NL.json 2019-01-25 03:43:07 +01:00
Diego Najar
df9d09e810 Merge branch 'master' of github.com:dignajar/bludit 2019-01-19 21:05:47 +01:00
Diego Najar
8b17ba7a09 Canonical URL 2019-01-19 21:05:38 +01:00
Diego Najar
90e770ee9c
Merge pull request #918 from anaggh/master
Remove unused deprecated Crypt class
2019-01-19 21:05:09 +01:00
Diego Najar
fd29f1ce11 Navbar doesn't appear in some resolution screens 2019-01-19 21:03:49 +01:00
Anaggh S
dd8e13f904 Remove unused deprecated Crypt class 2019-01-19 18:56:52 +05:30
Diego Najar
b430dd1cfe comment line from .htaccess 2019-01-16 13:04:37 +01:00
Diego Najar
c0d3b86355 Bludit v3.6.1 labels updated 2019-01-16 13:03:45 +01:00
Diego Najar
36cd6886d4 removed Google plus and include Youtube channel 2019-01-16 13:00:34 +01:00
Diego Najar
1fa3e28183 Fix for switch button 2019-01-16 12:47:38 +01:00
Diego Najar
346d573197 bludit v3.6 2019-01-15 19:53:04 +01:00
Diego Najar
2c08ce5535 site logo with the sitename 2019-01-15 19:42:15 +01:00
Diego Najar
cb92db72e9 blockquote style 2019-01-15 19:31:24 +01:00
Diego Najar
5648e8313c select page not found 2019-01-15 19:30:35 +01:00
Diego Najar
2bbf79cde9 remove quotes from filename after uploaded a image 2019-01-11 17:43:37 +01:00
Diego Najar
ba800b9bd4 Merge branch 'master' of github.com:dignajar/bludit 2019-01-08 18:23:14 +01:00
Diego Najar
640dd1560e change from trace to info 2019-01-08 18:23:02 +01:00
Diego Najar
fb6b0e5611
Merge pull request #904 from anaggh/patch-1
Remove deprecated track_errors
2019-01-05 14:52:46 +01:00
anaggh
0bf63ed78b
Remove deprecated track_errors 2019-01-05 00:18:07 +05:30
Diego Najar
7ae0a559a3 include language when install a theme 2019-01-04 14:21:15 +01:00
Diego Najar
3564ab1d8f comments and minor fixes 2019-01-04 14:19:51 +01:00
Diego Najar
bd559904ec switch for publish and draft 2019-01-04 14:18:40 +01:00
Diego Najar
6560816099 tinymce 4.9.2 2019-01-03 18:25:53 +01:00
Diego Najar
a1f6e698f2
Merge pull request #900 from pytesNET/master
Fix for Issue #897
2018-12-31 11:10:39 +01:00
SamBrishes
b69ba4512c Remove EOF Whitespace 2018-12-31 10:35:27 +01:00
SamBrishes
3157f125a7
Merge pull request #1 from bludit/master
Merge pull request #899 from pytesNET/master
2018-12-31 10:34:14 +01:00
SamBrishes
d1d8180e39 Fix for Issue #897 2018-12-31 10:31:51 +01:00
Diego Najar
bec7336044
Merge pull request #899 from pytesNET/master
Remove Static Declarations
2018-12-31 09:02:58 +01:00
SamBrishes
445287f04c Remove Static Declarations
Fix for #889
2018-12-30 21:32:26 +01:00
Diego Najar
9ba78e0776 Show Scheduled alert and fix date in scheduled tab 2018-12-30 13:35:31 +01:00
Diego Najar
9eb5d583b6 trace mode for debug 2018-12-26 20:43:20 +01:00
Diego Najar
52587968ca bootstrap 4.2.1 2018-12-26 19:58:27 +01:00
Diego Najar
be5a8ad517 redirect /blog to /blog/ 2018-12-26 19:17:30 +01:00
Diego Najar
74b68e507a Site logo implementation 2018-12-21 20:16:00 +01:00
Diego Najar
7e6a5cd28c Site logo implementation 2018-12-21 19:50:18 +01:00
Diego Najar
a9372ccce3 Site logo implementation 2018-12-21 19:45:53 +01:00
Diego Najar
2eea4cd3ba improves for Blocks 2018-12-17 22:13:15 +01:00
Diego Najar
f58c4d7f69 site logo 2018-12-17 22:12:56 +01:00
Diego Najar
adaa98e1be Blocks for themes 2018-12-13 14:05:26 +01:00
Diego Najar
8624f32e15 Blocks for themes 2018-12-13 14:05:07 +01:00
Diego Najar
e95a4808e6 Merge branch 'master' of github.com:dignajar/bludit 2018-12-13 14:03:04 +01:00
Diego Najar
e7412d0534 Blocks for themes 2018-12-12 18:18:48 +01:00
Edi
2aa5bea756
Merge pull request #883 from Momel15/fix_lang_de
de_DE.json and de_CH.json: Fix typo
2018-12-08 23:56:01 +01:00
Momel
02beb3de11 DE lang: Fix typo in "Developers" 2018-12-08 19:04:27 +01:00
Diego Najar
8400d7eaba Merge branch 'master' of github.com:dignajar/bludit 2018-12-08 11:50:08 +01:00
Diego Najar
bae332c794 Bug fix, the user lost the role when click on remember me 2018-12-08 11:49:55 +01:00
Diego Najar
7fba1f42cb
Merge pull request #882 from hide-me/patch-5
Updated new strings
2018-12-08 11:36:38 +01:00
hide-me
78bffdd037
Updated new strings 2018-12-08 10:02:56 +03:00
Diego Najar
1c2d2a6d99
Merge pull request #877 from ali-demirtas/patch-20
Update tr_TR.json
2018-12-04 15:17:22 +01:00
Diego Najar
7dc32a6b1b
Merge pull request #880 from davede-git/master
polish language update
2018-12-04 15:17:08 +01:00
Dave
2d90b91027
Merge branch 'master' into master 2018-12-03 21:31:15 +01:00
Dave
7db7051180
polish language update 2018-12-03 21:27:40 +01:00
Ali Demirtas
6d14969a62
Update tr_TR.json
Updated.
2018-12-02 15:28:04 +03:00
Diego Najar
14c893bb77 Bludit v3.5 2018-12-01 18:20:12 +01:00
Diego Najar
40ea8c1fd1
Merge pull request #876 from hide-me/patch-4
Updated Ukrainian lang
2018-11-30 18:55:54 +01:00
Diego Najar
8e2b15143b
Merge pull request #875 from hide-me/patch-3
Updated Russian language
2018-11-30 18:55:23 +01:00
hide-me
b702c30a62
Updated ua lang
I'm not a native speaker, but can write and talk on Ukrainian language so so. Guess, I was totally correct!
2018-11-30 20:22:37 +03:00
hide-me
b509a2ed71
Updated, translated! 2018-11-30 19:45:08 +03:00
Diego Najar
21661f0b83 Bludit v3.5 IPA 2018-11-29 19:27:17 +01:00
Diego Najar
37cc2d182f UI Dialogs improves 2018-11-29 18:54:29 +01:00
Diego Najar
27fe6081cb Open graph with Facebook APP ID and bug fixes 2018-11-28 22:10:41 +01:00
Diego Najar
484d4f0116 UI Dialogs improves 2018-11-28 22:03:43 +01:00
Diego Najar
8afd49b8c9 UI Dialogs improves 2018-11-28 22:01:55 +01:00
Diego Najar
075fb44006 Min lenght to search 3 chars 2018-11-28 20:20:04 +01:00
Edi
2ba4edc008
Update de_DE.json 2018-11-28 13:20:36 +01:00
Edi
f3c6f3bb0d
Update de_CH.json 2018-11-28 13:20:00 +01:00
Edi
09680f2836
Update de_CH.json 2018-11-28 13:19:06 +01:00
Diego Najar
e31ca26ecd New words in dictionaries 2018-11-27 20:58:47 +01:00
Diego Najar
92c0963925 Merge branch 'master' of github.com:dignajar/bludit 2018-11-27 20:48:27 +01:00
Diego Najar
82b51ef74d Search plugin improves 2018-11-27 20:48:19 +01:00
Edi
0a329d88b3
Update de_DE.json 2018-11-27 10:44:42 +01:00
Edi
296fb38335
Update de_CH.json 2018-11-27 10:43:59 +01:00
Edi
00a1b59592
Update de_CH.json 2018-11-27 10:43:40 +01:00
Diego Najar
6490bb0dc1
Merge pull request #871 from hide-me/patch-2
Translated new strings
2018-11-25 18:48:03 +01:00
hide-me
9386f4d5a4
Translated new strings
Well, let me know, if you will add new strings. Ok?
2018-11-25 20:22:13 +03:00
Diego Najar
19a747227d Bludit v3.5-beta-1 2018-11-25 17:54:26 +01:00
Diego Najar
41f4658bce Thumbnail parameters defined by the user. #867 2018-11-25 17:52:22 +01:00
Diego Najar
728484084f Valid rss date format 2018-11-25 17:46:17 +01:00
Diego Najar
d8a7f45b40 Merge branch 'master' of github.com:dignajar/bludit 2018-11-25 17:45:21 +01:00
Diego Najar
921916162a Tinymce 4.8.5 2018-11-25 17:42:54 +01:00
Diego Najar
b167959fd1
Merge pull request #870 from ali-demirtas/patch-19
Update tr_TR.json
2018-11-24 14:13:59 -03:00
Ali Demirtas
b131204c8e
Update tr_TR.json
Language file uptated.
2018-11-24 13:04:12 +03:00
Diego Najar
5eb48f9060 Delete page images, fix for #869 2018-11-23 20:15:50 +01:00
Diego Najar
8e528ca701 Merge branch 'master' of github.com:dignajar/bludit 2018-11-23 20:09:49 +01:00
Diego Najar
eb3cf641ad Show message when the content is null 2018-11-23 20:09:21 +01:00
Edi
0e80b211c7
Update de_DE.json 2018-11-21 23:02:15 +01:00
Edi
bde7a4093a
Update de_CH.json 2018-11-21 23:01:27 +01:00
Edi
4c6fb66675
Update de_CH.json 2018-11-21 23:00:27 +01:00
Diego Najar
45d725c909 Bug fix for #868, allow upload file extension with upper case letters 2018-11-21 18:48:34 -03:00
Diego Najar
ccfb02c0ac Updated languages dictionaries and fixes for spanish dictionary 2018-11-21 18:31:51 -03:00
Edi
cb908df827
Update de_DE.json 2018-11-19 23:02:38 +01:00
Edi
dbddbcb36f
Update de_CH.json 2018-11-19 23:01:33 +01:00
Edi
a7c6696eb8
Update de_DE.json 2018-11-19 09:29:23 +01:00
Edi
4ed8727df4
Update de_CH.json 2018-11-19 09:28:49 +01:00
Edi
a1be74e9ac
Create de_DE.json 2018-11-19 09:16:48 +01:00
Edi
c030f709da
Create de_CH.json 2018-11-19 09:16:31 +01:00
Diego Najar
07d7ec6a7b
Merge pull request #863 from hide-me/master
I also extend, recheck and finish all translation in plugins and themes.
2018-11-18 12:42:05 -03:00
hide-me
332ff357d3
Fix info 2018-11-18 14:19:42 +03:00
hide-me
b09f9e0968
Fixed capital letter 2018-11-18 14:18:21 +03:00
hide-me
04c8282c48
Grammar fix 2018-11-18 14:16:00 +03:00
hide-me
8f46db8616
Added ru.json 2018-11-18 14:14:59 +03:00
hide-me
c8c19dda27
Grammar fix 2018-11-18 14:13:43 +03:00
hide-me
181d39de93
Grammar fix 2018-11-18 14:12:12 +03:00
hide-me
facaa4bb61
Added ru.json 2018-11-18 14:07:34 +03:00
hide-me
372762c336
Fixed 2018-11-18 14:07:08 +03:00
hide-me
f0ab33a1a9
Added ru.json 2018-11-18 14:06:11 +03:00
hide-me
d8ce03999a
Added ru.json 2018-11-18 14:05:34 +03:00
hide-me
510caa94ec
Added ru.json 2018-11-18 14:04:25 +03:00
hide-me
991d0704b2
Extended 2018-11-18 14:03:46 +03:00
hide-me
2121cf8641
Added ru.json 2018-11-18 13:58:41 +03:00
hide-me
6d47281e0c
Added ru.json 2018-11-18 13:57:17 +03:00
hide-me
e705f6a172
Added ru.json 2018-11-18 13:53:40 +03:00
hide-me
4a1d932062
Fixed mistakes 2018-11-18 13:51:17 +03:00
hide-me
d47c46ef00
Fix gramatical error 2018-11-18 13:50:09 +03:00
hide-me
14ace1ca1b
Added ru lang 2018-11-18 13:47:32 +03:00
hide-me
66b2a856d0
Added ru_RU.json 2018-11-18 13:45:32 +03:00
hide-me
39c1cafb9a
Added ru_RU.json 2018-11-18 13:44:56 +03:00
Diego Najar
f8b6a0f6d9
Merge pull request #857 from hide-me/patch-1
Update ru lang
2018-11-17 12:59:49 -03:00
hide-me
cf66deb651
Update ru lang
Added some strings of translation. 
Fixed many grammatical errors. The concept of "content" has been replaced by a more organic and simple word for a Russian person.
Also I deleted non existed site by first translator, and add info about me.
2018-11-15 11:06:44 +03:00
Diego Najar
370604da0c Prevent cache 2018-11-12 13:55:38 -03:00
Diego Najar
c7cec45039 Alert when the password lenght is less than 6 characters 2018-11-11 20:27:13 -03:00
Diego Najar
026d71e239 tags for a page 2018-11-10 11:24:51 -03:00
Diego Najar
da25701e44 Bludit v3.4 2018-11-10 11:18:57 -03:00
Diego Najar
7df5ee322e Bug fixes, and dictionary updated 2018-11-08 20:59:06 -03:00
Diego Najar
91782166fb New words 2018-11-07 11:43:51 -03:00
Diego Najar
b2f79c2030 bludit v3.4 beta 2018-11-07 11:42:14 -03:00
Diego Najar
2117e71578 Improve in UI, Bug fixes uploading profile pictures 2018-11-07 11:40:22 -03:00
Diego Najar
a4edabcac5 removed auto friendly url generator 2018-11-05 23:59:28 -03:00
Diego Najar
59346bcc12 Edit password, improve in UI 2018-11-05 23:57:52 -03:00
Diego Najar
d531358810 Settings, improve in UI 2018-11-05 23:55:17 -03:00
Diego Najar
16e86486ee fix for #841 2018-11-02 18:03:55 -03:00
Diego Najar
d7b63a5bb2 Fix for #842 2018-11-02 11:28:07 -03:00
Diego Najar
3510fa6e30 New UI for edit the user profile 2018-11-01 20:34:42 -03:00
Diego Najar
3b33d20cf6 Bug fixes, the method thumbCoverImage not was returning the filename 2018-11-01 20:27:21 -03:00
Diego Najar
c668d4ace1 Improves in UI when editing a category 2018-11-01 20:25:17 -03:00
Diego Najar
4ba177cf53 Notification when Bludit is updated 2018-11-01 20:24:27 -03:00
Diego Najar
19d81f41a9
Merge pull request #839 from novafacile/patch-2
bugfix label text for admin interface
2018-11-02 00:23:07 +01:00
Diego Najar
e7920de7be bug fixes, Bootstrap class doesnt show the proper label 2018-11-01 20:21:36 -03:00
Diego Najar
2c64a1d232 Merge branch 'master' of github.com:dignajar/bludit 2018-11-01 20:19:27 -03:00
Diego Najar
f8f3a8c5bd Bug fixes, missing button save as draft 2018-11-01 20:19:00 -03:00
novafacile OÜ
ee21315294
bugfix label text for admin interface
On formInputText it didn't show the label name, because of missing quotes and wrong var name
2018-11-01 20:20:04 +01:00
Diego Najar
4efa64ec0c
Merge pull request #834 from davede-git/master
Polish language updated to 3.2 release
2018-10-31 18:01:58 +01:00
Diego Najar
42ea1c2356 bootstrap's helper improves 2018-10-31 17:56:32 +01:00
Diego Najar
47412a651d Include autoheight plugin for Tinymce 2018-10-30 22:40:13 +01:00
Diego Najar
7227b85086 Tinymce 4.8.4 2018-10-30 22:33:02 +01:00
Diego Najar
b3f0c08ab8 css, minor changes for mobile 2018-10-30 22:26:29 +01:00
Diego Najar
03300266f2 Add to sitemap plugin static pages. #837 2018-10-30 22:25:09 +01:00
Diego Najar
2c69c55357 fix for mobiles responsive 2018-10-30 16:19:34 +01:00
Diego Najar
507d89e606 prevent autosave when editing content 2018-10-30 16:17:15 +01:00
Diego Najar
2317100a81 Improve UI when create or edit content 2018-10-30 16:12:44 +01:00
Diego Najar
ccdcba8699 bug fix profile picture 2018-10-29 18:21:42 +01:00
Dave
43dc2f9878
Polish language updated to 3.2 release 2018-10-28 11:42:56 +01:00
Dave
ca26bcc80e
Merge pull request #1 from bludit/master
upd
2018-10-28 11:42:14 +01:00
Diego Najar
859ca4ef52
Merge pull request #832 from xm74/patch-12
Update ru_RU.json
2018-10-27 16:12:47 +02:00
Max Kostikov
996b875814
Update ru_RU.json 2018-10-25 17:26:54 +02:00
Diego Najar
6d3cc0b6f7
Merge pull request #831 from Fred89/master
Franch lang pack update
2018-10-25 10:12:03 +02:00
Fred89
cff23aec76 Update bl-languages/fr_FR.json 2018-10-24 22:54:02 +02:00
Fred89
cc50015c93 Franch lang pack update 2018-10-24 12:48:15 +02:00
Diego Najar
e1fefef693
Merge pull request #830 from ali-demirtas/patch-1
Update tr_TR.json
2018-10-23 23:52:33 +02:00
Diego Najar
24ebc57269
Merge branch 'master' into patch-1 2018-10-23 23:52:27 +02:00
Diego Najar
5c70cb9fa6 bug fix for #813 2018-10-23 23:50:56 +02:00
Diego Najar
2b1e09646b After logout go to login page 2018-10-23 20:25:06 +02:00
Diego Najar
78735f67f2 languages updated, search plugin fix where Am I variable 2018-10-23 20:16:04 +02:00
Diego Najar
a5b7bacfb6 languages updated, search plugin fix where Am I variable 2018-10-23 20:15:10 +02:00
Ali Demirtas
21531f6e63
Update tr_TR.json
Translation updated. Missing strings localized
2018-10-23 20:33:12 +03:00
Diego Najar
99f6c12662
Merge pull request #829 from xm74/patch-11
Russian translation stylistic correction
2018-10-22 20:57:44 +02:00
Max Kostikov
58cd452c2e
Update ru_RU.json 2018-10-22 20:12:21 +02:00
Diego Najar
ce3b22e3b9 autosave only when the content changed 2018-10-21 15:00:15 +02:00
Diego Najar
62bcc0be74 hit counter 2018-10-21 14:46:17 +02:00
Diego Najar
b3cb86cd33
Update .htaccess 2018-10-21 14:21:48 +02:00
Diego Najar
69266d5884 change on languages 2018-10-20 21:37:47 +02:00
Diego Najar
bfabd248ac Changes in metastore for Bludit v3.2 2018-10-20 21:34:04 +02:00
Diego Najar
f39cc831b1 Execute plugins with the hook afterPageCreate after the scheduler 2018-10-20 13:36:13 +02:00
Diego Najar
a07a0fe346 remove comment 2018-10-18 22:48:18 +02:00
Diego Najar
13605eb315 fix for editor and height 100% 2018-10-18 22:40:35 +02:00
Diego Najar
68bea24530 remove quill 2018-10-18 19:44:13 +02:00
Diego Najar
873f5b056a remove quill 2018-10-18 19:43:33 +02:00
Diego Najar
1b5c84fea7 Bug fix, items per pages all content 2018-10-18 19:21:57 +02:00
Diego Najar
2081c74259 Merge branch 'master' of github.com:dignajar/bludit 2018-10-17 22:36:46 +02:00
Diego Najar
8e7a2f93b9 improves in editor area 2018-10-17 22:35:30 +02:00
Diego Najar
1bdcf05e62
Merge pull request #825 from devprodest/master
mini fix
2018-10-15 13:16:14 +02:00
Diego Najar
ebdb0401dd
Merge pull request #824 from devprodest/patch-5
fix very long name user del buttons
2018-10-15 13:15:30 +02:00
Denis Zaikin
f7aff227bf
Update ru_RU.json 2018-10-15 14:05:59 +03:00
Diego Najar
4063d6adeb
Merge pull request #819 from devprodest/patch-1
fix
2018-10-15 12:58:46 +02:00
Denis Zaikin
09a7dc43f1
fix page name 2018-10-15 13:58:45 +03:00
Denis Zaikin
5dbf69035f
fix very long name user del buttons 2018-10-15 13:51:09 +03:00
Denis Zaikin
f6362ce8ee
fix 2018-10-15 13:34:40 +03:00
Edi
67d4532ce6
Update en.json 2018-10-14 12:57:32 +02:00
Edi
dbbc080f07
Update es.json 2018-10-14 12:57:16 +02:00
Edi
53f4cd7328
Update en.json 2018-10-14 12:56:20 +02:00
Edi
783837d294
Create de_DE.json 2018-10-14 12:55:49 +02:00
Edi
732e8b80cd
Create de_CH.json 2018-10-14 12:55:32 +02:00
Edi
891f2542c4
Update plugin.php 2018-10-14 12:54:42 +02:00
Diego Najar
6a3609098f autosave only when the content changed 2018-10-09 18:59:05 +02:00
Diego Najar
c3911d7f29 Merge branch 'master' of github.com:dignajar/bludit 2018-10-09 16:30:26 +02:00
Diego Najar
303ba21240 Tinymce editor styling and toolbar responsive 2018-10-09 16:30:16 +02:00
Edi
5039de7e83
Update de_DE.json 2018-10-08 18:35:54 +02:00
Edi
9ff11d388a
Update de_CH.json 2018-10-08 18:35:07 +02:00
Edi
241d948717
Update de_DE.json 2018-10-08 18:31:01 +02:00
Edi
a6ed9307ad
Update de_CH.json 2018-10-08 18:30:16 +02:00
Diego Najar
5ee5fd5981 bludit v3.1 2018-10-08 18:15:49 +02:00
Diego Najar
5619eaf321 Bludit v3.1 2018-10-08 18:09:02 +02:00
Diego Najar
4360d6c8d9
Merge pull request #815 from novafacile/patch-1
fix quotes in German translations
2018-10-08 14:17:30 +02:00
novafacile OÜ
f4fe39b8b8
fix problem with quotes in description 2018-10-08 02:33:06 +02:00
novafacile OÜ
12ad0ed946
fix problem with quotes in description 2018-10-08 02:32:04 +02:00
Diego Najar
23ea0fe6e4 bug fix when insert image and cover images 2018-10-07 23:11:49 +02:00
Diego Najar
eb81472081 german missing words 2018-10-07 18:38:33 +02:00
Diego Najar
b913fdfd48 change media manager for images 2018-10-07 16:01:47 +02:00
Diego Najar
682dc5788f minor fix for restricted images 2018-10-07 15:54:28 +02:00
Diego Najar
9c07ec4d61 Bludit v3.1 2018-10-07 14:14:16 +02:00
Diego Najar
fbb63123f1 Bludit v3.1 2018-10-07 14:03:58 +02:00
Diego Najar
78b5d83127 fix for #814, IS servers 2018-10-07 13:19:36 +02:00
Diego Najar
0657c55191 domain base 2018-10-06 19:59:12 +02:00
Diego Najar
5ea51bd4da new words added 2018-10-06 19:45:33 +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
8221fbb40b remove cover image function, search plugin improvments, add search to theme alternative, tinymce css content 2018-10-03 00:19:19 +02:00
Diego Najar
8f2e1c5fa2 search plugin improves 2018-10-02 00:13:47 +02:00
Diego Najar
657fc6fdda Tinymce 4.8.3, styling in editor area 2018-10-01 21:11:09 +02:00
Diego Najar
c1b2eede30 improves in hello message 2018-10-01 19:05:24 +02:00
Diego Najar
bc268040de Search function improvements 2018-10-01 17:20:41 +02:00
Diego Najar
4837ccb94b welcome message 2018-10-01 17:15:29 +02:00
Diego Najar
b388af6601 Search function improvements 2018-10-01 16:50:04 +02:00
Diego Najar
74687b0e65 search function 2018-10-01 16:34:28 +02:00
Diego Najar
130dbb22e8 Merge branch 'master' of github.com:dignajar/bludit 2018-09-30 13:23:55 +02:00
Diego Najar
3fa6450e0b fix for external cover images and thumbnail 2018-09-29 16:06:09 +02:00
Diego Najar
b4caeb435a
Update plugin.php 2018-09-27 15:46:59 +02:00
Diego Najar
b921662fd8 fix in installer 2018-09-26 17:55:19 +02:00
Diego Najar
9d5fe7cd08 Merge branch 'master' of github.com:dignajar/bludit 2018-09-23 13:38:24 +02:00
Diego Najar
2c066bc65f Tinymce: remove autoresize and added unlink 2018-09-23 13:38:14 +02:00
Diego Najar
aec5d13ca0
Merge pull request #799 from Fred89/master
French update to Bludit 3.0
2018-09-23 12:33:33 +02:00
Frédéric K
d170329591 French update to Bludit 3.0 2018-09-23 12:03:52 +02:00
Diego Najar
d0c31cd794
Merge pull request #785 from ali-demirtas/patch-5
Create tr.json
2018-09-22 11:22:07 +02:00
Diego Najar
f4274c26fb
Merge pull request #786 from ali-demirtas/patch-6
Create tr.json
2018-09-22 11:21:59 +02:00
Diego Najar
901fdd9858
Merge pull request #789 from ali-demirtas/patch-9
Create tr.json
2018-09-22 11:21:51 +02:00
Diego Najar
6fad0cc074
Merge pull request #787 from ali-demirtas/patch-7
Create tr.json
2018-09-22 11:21:42 +02:00
Diego Najar
a652e739ac
Merge pull request #784 from ali-demirtas/patch-4
Create tr.json
2018-09-22 11:21:33 +02:00
Diego Najar
2e338f4264
Merge pull request #783 from ali-demirtas/patch-3
Update tr_TR.json
2018-09-22 11:21:24 +02:00
Diego Najar
69ddc4582c
Merge pull request #788 from ali-demirtas/patch-8
Create tr.json
2018-09-22 11:21:13 +02:00
Diego Najar
6bb36ec1d4
Merge pull request #790 from ali-demirtas/patch-10
Create tr.json
2018-09-22 11:21:04 +02:00
Diego Najar
4752460dca
Merge pull request #791 from ali-demirtas/patch-11
Create tr.json
2018-09-22 11:20:51 +02:00
Diego Najar
923c2e0c62
Merge pull request #792 from ali-demirtas/patch-12
Create tr_TR.json
2018-09-22 11:20:35 +02:00
Diego Najar
bed279a4ce
Merge pull request #793 from ali-demirtas/patch-13
Create tr_TR.json
2018-09-22 11:20:25 +02:00
Diego Najar
79f72462b1
Merge pull request #797 from ali-demirtas/patch-16
Update tr_TR.json
2018-09-22 11:20:14 +02:00
Diego Najar
8ae62bd0cc
Merge pull request #798 from davede-git/master
Polish language pack updated
2018-09-22 11:19:43 +02:00
Diego Najar
c8cb97a6c5
Merge branch 'master' into master 2018-09-22 11:19:36 +02:00
Diego Najar
d446eb2848 clean up for remote content 2018-09-21 14:32:31 +02:00
Diego Najar
a7e31640c0 clean up for remote content 2018-09-21 14:28:20 +02:00
Dave
917b6fc020
Polish language pack updated 2018-09-21 12:49:48 +02:00
Diego Najar
8c56c69bd5 Bug fix for remote content and field case sensitive 2018-09-21 11:37:10 +02:00
Diego Najar
891aab9ee1 Bug fix for remote content and field case sensitive 2018-09-21 11:34:16 +02:00
Diego Najar
8dfdd16fb4 fix download backup zip 2018-09-21 11:06:25 +02:00
Diego Najar
f5116974ba Merge branch 'master' of github.com:dignajar/bludit 2018-09-21 10:37:59 +02:00
Diego Najar
b25cf15a2d Bludit v3.0.0 2018-09-21 10:37:46 +02:00
Edi
56c96e7ff4
Update de_DE.json 2018-09-20 23:46:12 +02:00
Edi
a0a847dcd4
Update de_CH.json 2018-09-20 23:45:29 +02:00
Diego Najar
541cb1cec3 fix cover image when edit a page, autosize for tinymce 2018-09-19 19:01:56 +02:00
Diego Najar
74d5833aaa minor fix 2018-09-18 23:59:38 +02:00
Diego Najar
ad96dd8cab Merge branch 'master' of github.com:dignajar/bludit 2018-09-18 19:46:26 +02:00
Diego Najar
01f4415ac3 ping Google and Bing when sitemap changed 2018-09-18 19:46:10 +02:00
Ali Demirtas
61a181a692
Update tr_TR.json
Turkish translation file has been completely updated. Errors fixed.
2018-09-18 19:28:06 +03:00
Edi
5e1c72949c
Create de_DE.json 2018-09-17 21:02:33 +02:00
Edi
34d5cf313c
Create de_CH.json 2018-09-17 21:02:08 +02:00
Edi
19679f4d74
Update de_DE.json 2018-09-17 20:51:36 +02:00
Edi
fbad845899
Update de_CH.json 2018-09-17 20:51:09 +02:00
Edi
c250a54024
Update de_DE.json 2018-09-16 23:47:36 +02:00
Edi
bb076844e9
Update de_CH.json 2018-09-16 23:46:52 +02:00
Diego Najar
423307bf6a
Merge pull request #794 from ali-demirtas/patch-14
Create tr_TR.json
2018-09-16 21:20:03 +02:00
Diego Najar
8759fdf014
Merge pull request #782 from ali-demirtas/patch-2
Update tr_TR.json
2018-09-16 21:19:50 +02:00
Diego Najar
da8f6d4b1c
Merge pull request #795 from ali-demirtas/patch-15
Create tr_TR.json
2018-09-16 21:19:25 +02:00
Edi
67cdd7e62e
Update de_DE.json 2018-09-16 20:37:16 +02:00
Edi
f3d460ee26
Update de_CH.json 2018-09-16 20:36:53 +02:00
Edi
90c3fd6217
Update de_DE.json 2018-09-16 20:35:27 +02:00
Edi
834b5d5c41
Update de_CH.json 2018-09-16 20:34:57 +02:00
Ali Demirtas
7c156153e2
Create tr_TR.json
Turkish translation file created.
2018-09-16 21:15:43 +03:00
Edi
02c6372f00
Update de_CH.json 2018-09-16 20:14:00 +02:00
Edi
7ef2b3cd69
Update de_DE.json 2018-09-16 20:13:08 +02:00
Ali Demirtas
a1d6135cae
Create tr_TR.json
Turkish translation file created.
2018-09-16 21:12:04 +03:00
Ali Demirtas
a201f750cc
Create tr_TR.json
Turkish translation file created.
2018-09-16 21:08:32 +03:00
Ali Demirtas
aa0e75f423
Create tr_TR.json
Turkish translation file created.
2018-09-16 21:07:07 +03:00
Ali Demirtas
b760547ac6
Create tr.json
Turkish translation file created.
2018-09-16 21:04:16 +03:00
Ali Demirtas
3ab699662c
Create tr.json
Turkish translation file created.
2018-09-16 21:02:09 +03:00
Ali Demirtas
1a123b8500
Create tr.json
Turkish translation file created.
2018-09-16 21:00:31 +03:00
Ali Demirtas
6a26d8d0bb
Create tr.json
Turkish translation file created.
2018-09-16 20:58:35 +03:00
Ali Demirtas
2dd05fa163
Create tr.json
Turkish translation file created.
2018-09-16 20:55:52 +03:00
Ali Demirtas
5df103358e
Create tr.json
Turkish translation file created.
2018-09-16 20:54:14 +03:00
Ali Demirtas
83b66790b5
Create tr.json
Turkish translation file created.
2018-09-16 20:49:46 +03:00
Ali Demirtas
c0885b87b9
Create tr.json
Turkish translation file created.
2018-09-16 20:47:44 +03:00
Diego Najar
389a400443 missing phrases 2018-09-16 19:45:56 +02:00
Ali Demirtas
d7db199879
Update tr_TR.json
Translation updated.
2018-09-16 20:43:48 +03:00
Ali Demirtas
1c1838ad3c
Update tr_TR.json
Translation updated.
2018-09-16 20:41:42 +03:00
Diego Najar
13d00250c5 Merge branch 'master' of github.com:dignajar/bludit 2018-09-16 19:26:33 +02:00
Diego Najar
5bb0a46548 robots plugin improves 2018-09-16 19:26:23 +02:00
Edi
8a0d2f1cd3
Update de_DE.json 2018-09-16 17:56:58 +02:00
Edi
7f3bd425b8
Update de_CH.json 2018-09-16 17:55:27 +02:00
Edi
778afcb9a5
Labels of social networks 2018-09-15 22:52:09 +02:00
Diego Najar
b85ecdae89 remove cli mode functions 2018-09-14 15:48:57 +02:00
Diego Najar
e65a26d66a Fix for admin redirect 2018-09-12 18:22:11 +02:00
Diego Najar
d5f27da946 Fix for admin redirect 2018-09-12 18:21:21 +02:00
Diego Najar
98464b2a10 New rule for routing URLs 2018-09-11 23:54:53 +02:00
Diego Najar
59c637bdc8 New rule for routing URLs 2018-09-11 23:54:32 +02:00
Diego Najar
2e33afda0c New rule for routing URLs 2018-09-11 23:37:45 +02:00
Diego Najar
53dbb3c25f Added Mastodon Social Network 2018-09-10 22:04:24 +02:00
Diego Najar
3d20f1cb36 Re enable plugins from rc2 2018-09-10 20:23:37 +02:00
Diego Najar
bcb656511e Deny pages with slug equal to filters 2018-09-10 18:16:58 +02:00
Diego Najar
c85f440793
Merge pull request #775 from anaggh/master
Fix admin filter bug
2018-09-10 19:14:33 +03:00
Anaggh S
290fe689ac Fix admin filter bug 2018-09-10 16:31:18 +05:30
Diego Najar
c2386e9c7d
Merge pull request #773 from aleksei86/patch-3
Update uk_UA.json
2018-09-09 19:49:31 +03:00
Diego Najar
5267f1bf00 bug fix #772 2018-09-09 17:53:08 +02:00
Aleksei Belta
7cf358a11f
Update uk_UA.json 2018-09-09 18:21:13 +03:00
Diego Najar
bcd67d4e02
Merge pull request #770 from anaggh/master
Add lang strings
2018-09-09 17:38:15 +03:00
Anaggh S
2e631795c9 Add lang strings 2018-09-08 20:48:29 +05:30
Diego Najar
f0895796cd bug fix for #768 2018-09-06 20:52:41 +02:00
Diego Najar
d62e19707b workspaces directory for plugins 2018-09-05 22:55:14 +02:00
Diego Najar
b5d4ceda09
Merge pull request #767 from anaggh/master
Fix floats bug
2018-09-03 22:07:05 +03:00
Anaggh S
c0570af424 Fix floats bug 2018-09-04 00:34:31 +05:30
Diego Najar
750f14396d
Merge pull request #766 from anaggh/master
Add optional content stats feature to simple-stats plugin
2018-09-03 21:45:16 +03:00
Diego Najar
77d1d7b6f8 template 2018-09-03 20:43:05 +02:00
Diego Najar
2cb0228e50 template 2018-09-03 20:37:23 +02:00
Diego Najar
78968aaf4d bug fix in truncate function 2018-09-03 18:46:21 +02:00
Diego Najar
335f159c78 bug fix #765 2018-09-03 18:31:46 +02:00
Anaggh S
872eaf8dd0 Add optional content stats feature to simple-stats plugin 2018-09-03 18:15:13 +05:30
Diego Najar
a4336e5905 bludit v3.0.0 rc2 2018-09-02 19:03:15 +02:00
Diego Najar
78726b7c3a bug fix, username is lost when edit the page 2018-08-28 19:32:15 +02:00
Diego Najar
2c5151c3ab word position missing 2018-08-28 19:25:28 +02:00
Diego Najar
18f2624d7c Merge branch 'master' of github.com:dignajar/bludit 2018-08-28 19:24:59 +02:00
Diego Najar
aa95aedc8b manage content, fix when ordered by postion 2018-08-28 19:23:21 +02:00
Diego Najar
f56d22200a
Merge pull request #761 from xm74/patch-10
Create ru_RU.json
2018-08-28 17:19:05 +03:00
Max Kostikov
4d87fa0c18
Create ru_RU.json
translation added
2018-08-28 15:31:49 +02:00
Diego Najar
7744a106ac
Merge pull request #760 from xm74/patch-9
Update ru_RU.json
2018-08-28 15:08:18 +03:00
Max Kostikov
2b35d3a93e
Update ru_RU.json
few typos fixed
2018-08-27 23:23:54 +02:00
Diego Najar
dac32fe532 Merge branch 'master' of github.com:dignajar/bludit 2018-08-27 22:19:58 +02:00
Diego Najar
9676e995ef redirect pages with trailing slash 2018-08-27 22:19:42 +02:00
Edi
098aed8be8
Merge pull request #759 from xm74/patch-8
Update ru_RU.json
2018-08-27 16:21:12 +02:00
Max Kostikov
8db604d356
Update ru_RU.json
Typo fixed
2018-08-27 16:19:59 +02:00
Diego Najar
66a15556f8
Merge pull request #758 from xm74/patch-7
Update ru_RU.json
2018-08-27 16:51:19 +03:00
Max Kostikov
61e294889b
Update ru_RU.json
for Bludit 3.x
2018-08-27 15:25:18 +02:00
Diego Najar
186ee576e7 remove updater 2018-08-26 19:25:58 +02:00
Diego Najar
3cca9fcdf4 remove updater 2018-08-26 19:23:24 +02:00
Diego Najar
10c4019b92 missing words 2018-08-26 13:55:13 +02:00
Diego Najar
e4a08873ac remove line breaks method 2018-08-26 13:44:18 +02:00
Diego Najar
41fae2f808 Remove breaklines from content when generate the slug 2018-08-26 13:39:13 +02:00
Edi
c8f4bfe09e
Update de_DE.json 2018-08-24 17:38:39 +02:00
Edi
efb0e0b2cf
Update de_CH.json 2018-08-24 17:37:35 +02:00
Edi
9601b1cb48
Update de_DE.json 2018-08-24 00:24:12 +02:00
Edi
e3408bfdaf
Update de_CH.json 2018-08-24 00:19:45 +02:00
Edi
f19e1e791e
Update plugin.php 2018-08-24 00:17:31 +02:00
Edi
d1a2e05dbf
Create de_DE.json 2018-08-23 21:19:48 +02:00
Edi
7c04de9c26
Create de_CH.json 2018-08-23 21:19:30 +02:00
Edi
aaa2f39ab8
Create de_DE.json 2018-08-23 21:15:22 +02:00
Edi
7d308ef842
Create de_CH.json 2018-08-23 21:15:03 +02:00
Edi
7c635e24ba
Update de_DE.json 2018-08-23 20:48:07 +02:00
Edi
0da146e58b
Update de_CH.json 2018-08-23 20:47:36 +02:00
Edi
34e4f9cab3
Update de_DE.json 2018-08-21 23:56:15 +02:00
Edi
3a5c03ff15
Update de_CH.json 2018-08-21 23:53:01 +02:00
Edi
7721e14d9e
Missing phrase 2018-08-21 23:51:17 +02:00
Edi
5f500dcd16
Missing phrase 2018-08-21 23:50:34 +02:00
Edi
33d24659cf
Missing phrase 2018-08-21 23:45:06 +02:00
Edi
7575dba3e7
Missing phrase 2018-08-21 23:44:14 +02:00
Edi
9752d096b5
Missing phrase 2018-08-21 23:43:35 +02:00
Edi
d489d08bcb
Missing phrase 2018-08-21 23:42:54 +02:00
Edi
c75035a784
Missing phrase 2018-08-21 23:42:15 +02:00
Edi
03f4c1ace9
Missing phrase 2018-08-21 23:41:36 +02:00
Edi
8214443233
Missing phrase 2018-08-21 23:40:53 +02:00
Edi
ec14461a84
Missing phrase 2018-08-21 23:40:12 +02:00
Edi
58f780777a
Missing phrase 2018-08-21 23:39:31 +02:00
Edi
22378d3ab6
Missing phrase 2018-08-21 23:38:52 +02:00
Edi
84d1ae43df
Missing phrase 2018-08-21 23:37:43 +02:00
Edi
78805e2c7e
Missing phrase 2018-08-21 23:34:37 +02:00
Edi
39058619b1
Missing phrase 2018-08-21 23:33:45 +02:00
Edi
253557977e
Missing phrase 2018-08-21 23:33:02 +02:00
Edi
0f1c8b3d7b
Missing phrase 2018-08-21 23:32:16 +02:00
Edi
a203d3f79b
Missing phrase 2018-08-21 23:31:33 +02:00
Edi
3dda798790
Missing phrase 2018-08-21 23:29:25 +02:00
Edi
075a2c839a
Update fa_IR.json 2018-08-21 23:28:25 +02:00
Edi
a1bcc43853
Missing phrase 2018-08-21 23:27:51 +02:00
Edi
00d83f2973
Missing phrase 2018-08-21 23:27:11 +02:00
Edi
183f3450c1
Missing phrase 2018-08-21 23:26:04 +02:00
Edi
c09f6de954
Missing phrase 2018-08-21 23:25:16 +02:00
Edi
44b06e6b97
Missing phrase 2018-08-21 23:24:28 +02:00
Diego Najar
8a5aa64d53 Bludit v3.0.0 rc1 2018-08-21 20:57:24 +02:00
Diego Najar
f98f14670c Rename special chars to unicode chars, remove special chars in username 2018-08-21 20:11:31 +02:00
Diego Najar
82d7d1ae7e missing phrases 2018-08-21 18:55:53 +02:00
Diego Najar
435abebcde missing phrases 2018-08-21 18:53:03 +02:00
Diego Najar
5da3a099e1 missing phrase 2018-08-21 18:52:32 +02:00
Edi
67277cfb1f
Update de_CH.json 2018-08-21 12:30:21 +02:00
Edi
3200578da7
Update new-content.php 2018-08-21 12:10:24 +02:00
Edi
0b29d592bf
Update edit-content.php 2018-08-21 12:09:50 +02:00
Edi
928a0b91c0
Update de_DE.json 2018-08-21 12:00:13 +02:00
Edi
c868afbda3
Update de_CH.json 2018-08-21 11:59:48 +02:00
Edi
6a61729012
Update de_CH.json 2018-08-21 11:59:04 +02:00
Edi
2193855a33
Update de_CH.json 2018-08-21 11:58:35 +02:00
Edi
ccf5e8ad08
Update de_DE.json 2018-08-21 00:49:54 +02:00
Edi
0607f137c5
Update de_DE.json 2018-08-21 00:49:20 +02:00
Edi
6489d207de
Update de_CH.json 2018-08-21 00:44:08 +02:00
Edi
799a905a6b
Update de_CH.json 2018-08-20 23:38:36 +02:00
Diego Najar
ed929376dc Merge branch 'master' of github.com:dignajar/bludit 2018-08-20 22:33:19 +02:00
Diego Najar
884ed16cfb
Merge pull request #751 from anaggh/master
small margin between buttons for cases where title is too long
2018-08-20 23:33:07 +03:00
Diego Najar
e674327a25 Remove reserved characters from URL, changes on labels 2018-08-20 22:32:14 +02:00
Edi
3309d25464
Update de_CH.json 2018-08-20 20:59:21 +02:00
Edi
316251f0c8
Update de_CH.json 2018-08-20 15:28:47 +02:00
Anaggh S
941148460d small margin between buttons for cases where title is too long 2018-08-20 16:40:25 +05:30
Edi
ba78d439f3
Update de_CH.json 2018-08-19 19:06:54 +02:00
Diego Najar
a3df822c65 improves in User interface responsive and dictionary updates 2018-08-19 17:45:49 +02:00
Diego Najar
49dc45a90b removed invalid fields 2018-08-19 15:03:36 +02:00
Diego Najar
938845b2e4 Merge branch 'master' of github.com:dignajar/bludit 2018-08-18 16:15:47 +02:00
Diego Najar
1e1af3df22 TinyMCE as default editor, upload files check files sizes, dictionaries updated 2018-08-18 16:15:38 +02:00
Edi
344c3d607c
Fix titles 2018-08-18 15:37:13 +02:00
Diego Najar
f96d8d08d0
Merge pull request #747 from anaggh/master
Bug fix
2018-08-18 15:45:27 +03:00
Anaggh S
df5fd34dde Remove invalid span, plugin fixes 2018-08-16 17:49:21 +05:30
Anaggh S
bfd75a5ae8 Add instagram svg from simpleicons 2018-08-16 15:26:36 +05:30
Anaggh S
db4327d69c Return correct string readingTime 2018-08-16 15:16:27 +05:30
Anaggh S
5f47ad7c13 Comment RewriteBase 2018-08-16 15:09:37 +05:30
Edi
546cb60ddb
Update pl_PL.json 2018-08-16 00:00:14 +02:00
Edi
e9ad38c7e8
Addition Instagram 2018-08-15 12:26:20 +02:00
Edi
7520bddb14
Addition Instagram 2018-08-15 12:25:07 +02:00
Edi
d99c6eb7c7
Translation de_DE 2018-08-11 13:03:19 +02:00
Edi
a2cf88fdb1
Translation de_CH 2018-08-11 13:01:55 +02:00
Edi
c9ba4d6e0d
Fix translation 2018-08-11 12:53:06 +02:00
Diego Najar
cb3d065376 3b2 2018-08-11 00:49:06 +02:00
Diego Najar
6d067b036c bug fixes: media manager and plugin API 2018-08-10 15:41:23 +02:00
Diego Najar
39d409ccc7 bug fix: install plugins 2018-08-09 23:15:52 +02:00
Diego Najar
5deb5020b7 Languages updated 2018-08-09 19:43:15 +02:00
Diego Najar
551614e7cc languages updates 2018-08-08 00:16:35 +02:00
Diego Najar
942f3c04cb change amount for number 2018-08-06 21:46:58 +02:00
Diego Najar
bb2023cb5b
Merge pull request #734 from kavin-90/master
add bootstrap pagination code with gap+numbers xD
2018-08-06 19:21:07 +03:00
Diego Najar
9c448b9d10
Merge pull request #735 from anaggh/master
Fix install script, allow navbar for md
2018-08-05 19:07:49 +03:00
Diego Najar
ec88e52aad bug fix when select the homepage 2018-08-05 18:04:38 +02:00
Diego Najar
d89e742fdf Change on variable name to , include new words to the dictionary 2018-08-05 17:54:20 +02:00
Anaggh S
939b2ba5f4 Fix install script, allow navbar for md 2018-08-04 19:28:26 +05:30
Sam
f67c4d29bd
add bootstrap pagination code with gap+numbers xD
created bootstrap pagination
2018-08-04 18:17:12 +05:30
Diego Najar
96f44aa286 navbar for mobiles devices 2018-08-04 12:44:37 +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
Diego Najar
5cdef56023 bug fix: check user is logged 2018-08-01 22:04:28 +02:00
Diego Najar
a515a588b2
Merge pull request #730 from anaggh/master
Small fixes
2018-08-01 16:15:27 +03:00
Anaggh S
92ece7eb7f Fix mobile responsiveness 2018-08-01 18:37:37 +05:30
Anaggh S
5fca9151bd Small fix 2018-08-01 18:20:22 +05:30
Anaggh S
d2dd02055f Fix grammar and typos 2018-08-01 18:16:12 +05:30
Anaggh S
f929f680e8 Fix mobile responsiveness 2018-08-01 17:22:59 +05:30
Diego Najar
1d7859bc58 bug fixes 2018-07-31 18:36:22 +02:00
Diego Najar
9c4380ff18 Bug fixes 2018-07-30 23:45:37 +02:00
Diego Najar
dcbd74dda2 Bug fixes 2018-07-30 23:43:12 +02:00
Diego Najar
5b63241d10 Bug fixes 2018-07-28 21:00:12 +02:00
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
4e20c841eb Merge branch 'master' of github.com:dignajar/bludit 2018-07-25 23:42:30 +02:00
Diego Najar
910545dae2 User object, new reader role for users 2018-07-25 23:42:00 +02:00
Diego Najar
33c89e8bd7 Plugin position implemented, fix in pagination 2018-07-20 18:36:47 +02:00
Diego Najar
763b0eee1a
Update README.md 2018-07-20 10:03:00 +02:00
Diego Najar
92a86c4fa7 add pagination to admin->content 2018-07-18 23:26:43 +02:00
Diego Najar
9712cd20f6 add pagination to admin->content 2018-07-18 23:16:30 +02:00
Diego Najar
91b8bb1097 change icons 2018-07-18 22:44:42 +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
35694980ab Bug fixes 2018-07-17 23:58:01 +02:00
Diego Najar
47e5994c94 Merge branch 'master' of github.com:dignajar/bludit 2018-07-17 19:13:14 +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
Diego Najar
6f800f6dfe
Update bludit-ajax.php 2018-07-17 13:53:50 +02:00
Diego Najar
8cfd7df062 Session in admin area and when you create the Login object 2018-07-14 15:17:06 +02:00
Diego Najar
f01528bf75 Merge branch 'master' of github.com:dignajar/bludit 2018-07-13 18:30:54 +02:00
Diego Najar
f9b65c5a13 Robots plugin, dynamic titles, fix permissions when upload images 2018-07-13 18:30:42 +02:00
Diego Najar
4e8629f3b1
Update README.md 2018-07-13 09:19:28 +02:00
Diego Najar
be8cf51393 Session in admin area, improves in creation content 2018-07-12 20:03:31 +02:00
Diego Najar
f0df4eb0ab Autosave bug fixes 2018-07-11 23:36:46 +02:00
Diego Najar
87c3b31b88 Datepicker for new content 2018-07-11 19:40:58 +02:00
Diego Najar
767c421858 fix when edit a category, log function improves, fix in login css 2018-07-10 19:53:53 +02:00
Diego Najar
e57420e7a5 Merge branch 'master' of github.com:dignajar/bludit 2018-07-10 18:38:00 +02:00
Diego Najar
43198bbcc3 Clean up, removed Quill 2018-07-10 18:37:46 +02:00
Diego Najar
e81a67d49c
Merge pull request #708 from kreativmind/patch-1
Create it.json
2018-07-07 14:34:00 +03:00
Diego Najar
384a771dd6
Update README.md 2018-07-07 12:12:41 +02:00
Diego Najar
abb439370f
Update README.md 2018-07-07 12:09:59 +02:00
Diego Najar
0134ec564d Merge branch 'master' of github.com:dignajar/bludit 2018-07-07 12:04:54 +02:00
Diego Najar
bb1cd60a8e Improves in Editor 2018-07-07 12:04:34 +02:00
Edi
da3f8b7d20
Update de_DE.json 2018-07-05 20:43:08 +02:00
Edi
1d3ae83ccf
Update de_CH.json 2018-07-05 20:40:05 +02:00
Edi
c91002a5fa
Link Newsletter 2018-07-05 20:39:12 +02:00
Diego Najar
8652daadf0 Clean up and Quill editor fixes 2018-07-03 23:04:08 +02:00
Diego Najar
be555b289b New Hook for plugins adminSidebar 2018-07-02 00:24:53 +02:00
Diego Najar
f253b833f2 clean up plugins and improve them 2018-07-01 14:17:24 +02:00
Jeremy Monroe
4984d54115
Create it.json
Need to use this file since it has Italian translation and fix en.json file with English translation
2018-06-25 22:49:28 -05:00
Diego Najar
597537bd0e Clean up and Bootstrap added to core 2018-06-25 23:17:43 +02:00
Diego Najar
e909ce7c58 Merge branch 'master' of github.com:bludit/bludit 2018-06-24 13:37:58 +02:00
Diego Najar
3635084bec check user is logged 2018-06-24 13:37:45 +02:00
Edi
5d5bed0348
Merge pull request #706 from Grazouillis/patch-1
Update FR corrections
2018-06-18 23:46:42 +02:00
Reka
ab8e12317a
Update FR corrections
2-3 spelling and grammatical errors :)
2018-06-17 15:38:21 +02:00
Edi
c3727f7cf6
Merge pull request #703 from jcqSCH/patch-2
100% translated to Portuguese (Brazil)
2018-06-12 00:28:15 +02:00
Edi
89a2693c9d
Merge pull request #704 from jcqSCH/patch-3
100% translated to Portuguese (Portugal)
2018-06-12 00:27:42 +02:00
Edi
7b69da6ff8
Merge pull request #705 from Mu9tafa-Online/patch-1
ar_MA / More translations added!
2018-06-12 00:27:07 +02:00
Jacques
b803a1d303
100% translated to Portuguese (Brazil)
• Fixed typos and misleading translations from Marcelo's previous version.
• Finished translation respecting the common terms in Brazilian Portuguese;
2018-06-11 12:44:30 -03:00
Mustafa-Online
463fabc4e5
more translations added! 2018-06-11 10:34:45 +02:00
Jacques
ac46570ddb
100% translated to Portuguese (Portugal)
• Fixed typos and misleading translations from Ricardo Pinto's previous version;
• Finished translation respecting the common terms in European Portuguese (a.k.a. Portuguese from Portugal);
2018-06-10 11:50:10 -03:00
Jacques
47ffc4dd9b
100% translated to Portuguese (Brazil)
• Fixed more typos and misleading translations from my previous version.
• Finished translation respecting the common terms in Brazilian Portuguese;
2018-06-10 11:47:39 -03:00
Diego Najar
02464b637b Simple stats, login, new roles for users 2018-06-10 13:54:55 +02:00
Diego Najar
682a80a084 Login frontend 2018-06-10 12:36:53 +02:00
Diego Najar
2eb8a4bfac Login frontend 2018-06-05 23:50:03 +02:00
Diego Najar
dbec5a86fc
Merge pull request #698 from Mu9tafa-Online/patch-1
Update (ar_MA.json) - translate days, months and more.
2018-06-04 16:53:15 +02:00
Mustafa-Online
f8b74778fd
translate months and more .. 2018-06-04 08:37:09 +02:00
Diego Najar
6157ed5cba Merge branch 'master' of github.com:dignajar/bludit 2018-06-03 21:52:08 +02:00
Diego Najar
2b050abaea Dashboard improves 2018-06-03 21:51:47 +02:00
Diego Najar
fa862a4be9
Merge pull request #697 from istek/patch-2
Update zh_CN.json
2018-06-03 15:46:39 +02:00
Stanley
24ddec03ef
Update zh_CN.json 2018-05-30 13:37:23 +08:00
Diego Najar
6984170dce New role Moderator for users 2018-05-20 21:48:43 +02:00
Diego Najar
605281d561 Form for plugins settingsn 2018-05-16 23:17:41 +02:00
Diego Najar
226ff3ce70 Fix insert image 2018-05-16 19:42:40 +02:00
Diego Najar
84de0a99a3 Edit user and password change 2018-05-15 20:12:15 +02:00
Diego Najar
ab746013ee Merge branch 'master' of github.com:dignajar/bludit 2018-05-14 00:00:27 +02:00
Diego Najar
4e04ca6b53 User profile, edit user, delete pages 2018-05-14 00:00:10 +02:00
Diego Najar
594f03d440
Merge pull request #691 from vorons/patch-2
Update ru_RU.json
2018-05-12 10:41:44 +02:00
Diego Najar
8d63b4d84d Cover image improves 2018-05-08 23:25:18 +02:00
Diego Najar
eb6966723d Autosave function 2018-05-08 00:15:40 +02:00
Сергей Ворон
8d73e4c459
Update ru_RU.json 2018-05-07 23:09:09 +08:00
Diego Najar
c06295a41f improves on content views 2018-05-02 19:59:45 +02:00
Diego Najar
75a7190ca0 Changes on admin panel, categories templates 2018-04-27 20:36:43 +02:00
Diego Najar
ab1d795259 Changes on admin panel, move some files, renew html 2018-04-22 17:45:31 +02:00
Edi
e8a5869405
Update en.json 2018-04-19 17:31:41 +02:00
Edi
98a3936b4c
Create it_IT.json 2018-04-19 17:24:41 +02:00
Diego Najar
4f3d8dab94
Merge pull request #684 from anaggh/master
Fix disable user option
2018-04-16 15:59:38 +02:00
Diego Najar
36ae2c06f1 Changes on admin panel, move some files, renew html 2018-04-15 22:23:11 +02:00
Anaggh S
b92f6aaee3 Fix disable user option 2018-04-15 12:58:49 +05:30
Diego Najar
34f23eb180 Merge branch 'master' of github.com:dignajar/bludit 2018-04-13 23:32:48 +02:00
Diego Najar
2deedb8766 Media manager insert and delete files, ajax files improves 2018-04-13 23:32:29 +02:00
Edi
e09d8413bc
Update de_DE.json 2018-04-12 14:46:34 +02:00
Edi
6f5b7e5dc3
Update de_CH.json 2018-04-12 14:45:25 +02:00
Diego Najar
29a4fd3cfa
Merge pull request #682 from Dipchikov/patch-3
Update bg_BG.json
2018-04-12 13:42:37 +02:00
Hristo Dipchikov
a45da4a62e
Update bg_BG.json 2018-04-12 13:47:37 +03:00
Diego Najar
2b2e24c84a Upload manager, multiples files 2018-04-09 22:56:12 +02:00
Diego Najar
070a0c40fe Bludit Media Manager and new theme for admin panel.. in progress 2018-04-04 23:46:36 +02:00
Diego Najar
44de235a5e Bludit v2.3.4 2018-04-02 11:21:45 +02:00
Diego Najar
0e27e31a84 Remove Google plugin 2018-03-30 19:10:07 +02:00
Diego Najar
b75288e362 GDPR 2018-03-28 23:34:36 +02:00
Diego Najar
2439c68ff0 Merge branch 'master' of github.com:dignajar/bludit 2018-03-27 18:40:21 +02:00
Diego Najar
c814c0da9e Sticky content 2018-03-27 18:40:03 +02:00
Diego Najar
c86d17843a
Merge pull request #680 from nogajun/japanese
update ja_JP.json
2018-03-27 13:46:30 +02:00
Jun NOGATA
007e031530 update ja_JP.json 2018-03-27 20:04:46 +09:00
Diego Najar
bf573fca1e
Merge pull request #677 from davede-git/master
Polish language pack
2018-03-25 18:56:57 +02:00
Dave
13837b9e36 Polish language pack
Another update for polish language pack.
2018-03-24 19:06:39 +01:00
Diego Najar
248c233d0c
Update README.md 2018-03-24 11:49:30 +01:00
Diego Najar
e3536a9e2e Remove buttons save and cancel 2018-03-24 11:31:41 +01:00
Diego Najar
21fb47d223
Merge pull request #676 from anaggh/patch-1
Fix change password bug
2018-03-24 11:22:54 +01:00
anaggh
5429d1d35f
Fix change password bug
https://github.com/bludit/bludit/issues/674
2018-03-24 13:47:24 +05:30
floppy0
f19d635e68 Google Analytics with EU GDPR 2018-03-23 15:07:27 +01:00
floppy0
c855c2fc88 Google Analytics with EU GDPR 2018-03-23 15:07:06 +01:00
Diego Najar
6467ee81fe
Merge pull request #672 from xm74/patch-6
Fix blockquote styles
2018-03-23 14:40:15 +01:00
Max Kostikov
736cc4ab66
Fix blockquote styles 2018-03-23 15:34:03 +02:00
Diego Najar
b3ed00f45d
Merge pull request #669 from Fastbyte01/master
Italian Translation
2018-03-22 10:11:12 +01:00
fastbyte
d455f024f3 Italian Translation
Added Italian Translation
2018-03-21 21:01:50 +01:00
fastbyte
149a4de081 Fixed typo
Fixed typo
2018-03-21 21:01:21 +01:00
Diego Najar
77b221618b Bludit v2.3.3 2018-03-20 18:41:11 +01:00
Diego Najar
282c5a2561 Change default color on buttons 2018-03-20 17:32:25 +01:00
Diego Najar
de9dc433cc Merge branch 'master' of github.com:dignajar/bludit 2018-03-20 17:21:09 +01:00
Diego Najar
fa84529ee6
Merge pull request #668 from Fastbyte01/master
Italian translation completed
2018-03-20 13:56:36 +01:00
Diego Najar
8b55ad1926 Missing translation 2018-03-19 21:55:20 +01:00
Diego Najar
d26dd4964d
Update README.md 2018-03-19 20:24:39 +01:00
Diego Najar
021d695a45
Update README.md 2018-03-19 20:17:32 +01:00
Diego Najar
4362d6add9 Enctype for theme html helper 2018-03-19 20:02:41 +01:00
Diego Najar
80f50b927b Change default color on buttons 2018-03-19 19:57:39 +01:00
Diego Najar
9b30b9aff6 More hooks for admin panel 2018-03-19 19:55:31 +01:00
fastbyte
c9334daeda Completed italian language
Updated and completed the italian language
2018-03-19 15:50:33 +01:00
fastbyte
02e76e5542 Added some italian translation
Added and fixed some italian translation
2018-03-18 04:22:32 +01:00
Edi
2df30d12b0
Merge pull request #664 from anaggh/master
Add pageBegin and pageEnd hooks to blogx
2018-03-11 00:15:58 +01:00
Edi
ff59e22288
Merge pull request #663 from Fred89/master
Update French lang pack for Bludit 2.3.1
2018-03-11 00:14:32 +01:00
Anaggh S
bf69f8bd3b Add pageBegin and pageEnd hooks to blogx 2018-03-10 21:33:40 +05:30
Frédéric K
d8cbd24403 Update French lang pack for Bludit 2.3.1 2018-03-10 15:43:31 +01:00
Diego Najar
70033e84f1 Bludit v2.3.1 2018-03-09 20:04:34 +01:00
Diego Najar
a7a074ec46 Bludit v2.3.1 2018-03-09 20:04:05 +01:00
Diego Najar
be5ad4aee1 Scroll down when the plugin is activated 2018-03-09 12:26:32 +01:00
Diego Najar
321225c6b7
Merge pull request #661 from anaggh/master
Fix pagination in blogx and alternative
2018-03-09 09:27:55 +01:00
Anaggh S
f527fe7c56 Remove redundant jquery files, use Theme::jquery 2018-03-09 00:20:39 +05:30
Diego Najar
afecc3946f
Update README.md 2018-03-08 19:17:32 +01:00
Anaggh S
ed15866770 Fix pagination in blogx and alternative 2018-03-08 23:43:28 +05:30
Diego Najar
33a5db37a3
Merge pull request #660 from anaggh/master
Update dependencies
2018-03-08 18:58:19 +01:00
Anaggh S
1c2bd6497f Update Parsedown to v1.7.1 2018-03-08 22:15:33 +05:30
Anaggh S
112c667941 Update UIKit to v2.27.5 2018-03-08 22:08:31 +05:30
Anaggh S
71dff6a50e Update jQuery to v3.3.1 2018-03-08 21:49:02 +05:30
floppy0
835ae75d72 comment rewritebase 2018-03-08 15:37:53 +01:00
Diego Najar
fc70852a11 Fix on Static pages plugin 2018-03-07 19:09:22 +01:00
Diego Najar
b9b6d811e3 Fix on Static pages plugin 2018-03-07 18:58:52 +01:00
Diego Najar
3a568b711d Fix on Static pages plugin 2018-03-07 18:53:40 +01:00
floppy0
639ecca509 updater plugin, in progress 2018-03-07 16:43:17 +01:00
floppy0
01f520509e skip directory feature 2018-03-07 15:43:41 +01:00
floppy0
acae61f9d8 Improves on Navigation and Static Pages plugin 2018-03-07 12:31:08 +01:00
Edi
b80053e6d5
Create de_DE.json 2018-03-07 00:19:57 +01:00
Edi
1e989b7005
Create de_CH.json 2018-03-07 00:19:33 +01:00
Edi
3088dbb4ad
Update de_DE.json 2018-03-06 23:55:38 +01:00
Edi
ee447db9a2
Update de_CH.json 2018-03-06 23:54:41 +01:00
Diego Najar
a396ed137a Bug fixes and AJAX implementation for version plugin 2018-03-06 23:50:31 +01:00
Diego Najar
74a15685c9 Spanish language updated 2018-03-06 20:09:18 +01:00
Diego Najar
f3d3dbefd0 Remove url filter /blog/ #557 2018-03-06 19:52:06 +01:00
Diego Najar
71528b2e5c Remove url filter /blog/ #557 2018-03-06 19:42:18 +01:00
floppy0
e7fe2f4cbf remove empty filters 2018-03-06 16:35:28 +01:00
Diego Najar
ab1bc9fbd0 improves on languages dictionaries 2018-03-06 00:02:02 +01:00
Diego Najar
095ba8bd72 Fixed SVG and html code on themes 2018-03-05 23:46:52 +01:00
Diego Najar
3f0ce73c90
Merge pull request #657 from aleksei86/patch-2
Update uk_UA.json
2018-03-05 20:48:20 +01:00
Aleksei Belta
db79b01285
Update uk_UA.json 2018-03-05 20:07:05 +02:00
floppy0
b13ee0e546 linkedin link 2018-03-05 10:57:02 +01:00
Diego Najar
1600972b48 Merge branch 'master' of github.com:dignajar/bludit 2018-03-05 00:44:18 +01:00
Diego Najar
acd090350a remove plugins 2018-03-05 00:44:08 +01:00
Diego Najar
52d40af54c
Update README.md 2018-03-05 00:28:58 +01:00
Edi
4330808b42
Update de_DE.json 2018-03-04 22:47:59 +01:00
Edi
60499b60db
Update de_CH.json 2018-03-04 22:37:05 +01:00
Diego Najar
4eb0d832fc Generate .htaccess and added rewritebase 2018-03-04 21:51:12 +01:00
Diego Najar
c59348ce98 Generate .htaccess and added rewritebase 2018-03-04 21:43:30 +01:00
Diego Najar
2bc925cced Merge branch 'master' of github.com:dignajar/bludit 2018-03-02 19:59:40 +01:00
Diego Najar
a1a4b3f9f0 Minor changes 2018-03-02 19:59:30 +01:00
floppy0
83b871df06 parameters from url 2018-03-02 16:37:17 +01:00
floppy0
40800414cb check mod_rewrite module 2018-03-02 16:03:00 +01:00
floppy0
0995fc8eea try to create the .htaccess 2018-03-02 15:10:48 +01:00
Edi
e937ad9b90
Update de_DE.json 2018-02-28 14:21:21 +01:00
Edi
77f07c937f
Update de_CH.json 2018-02-28 14:20:56 +01:00
floppy0
9a5824795f call recreate xml after save settings 2018-02-28 11:08:35 +01:00
Edi
85fe86a501
Update de_CH.json 2018-02-27 00:44:23 +01:00
Diego Najar
e01603bf73 Fix bug for php 5.3 2018-02-26 18:19:36 +01:00
Diego Najar
8d10eb8824 Delete backup and bug fixes 2018-02-26 17:44:39 +01:00
Diego Najar
31a83fa333 Merge branch 'master' of github.com:dignajar/bludit 2018-02-26 00:19:09 +01:00
Diego Najar
722d7b3288 Bug fixes 2018-02-26 00:18:21 +01:00
Diego Najar
57f88605cd
Merge pull request #623 from guleyc/patch-8
Create tr_TR.json
2018-02-25 21:13:39 +01:00
Diego Najar
c4b761cf1f
Merge pull request #624 from guleyc/patch-9
Create tr_TR.json
2018-02-25 21:13:28 +01:00
Diego Najar
9c8f9edb99
Merge pull request #625 from guleyc/patch-10
Create tr_TR.json
2018-02-25 21:13:12 +01:00
Diego Najar
2040e4cc86
Merge pull request #626 from guleyc/patch-11
Create tr_TR.json
2018-02-25 21:13:02 +01:00
Diego Najar
b37d34d260
Merge pull request #627 from guleyc/patch-12
Create tr_TR.json
2018-02-25 21:12:44 +01:00
Diego Najar
080b18800c
Merge pull request #628 from guleyc/patch-13
Create tr_TR.json
2018-02-25 21:12:30 +01:00
Diego Najar
863323b5e0
Merge pull request #629 from guleyc/patch-14
Create tr_TR.json
2018-02-25 21:12:21 +01:00
Diego Najar
5862a30a17
Merge pull request #630 from guleyc/patch-15
Create tr_TR.json
2018-02-25 21:12:06 +01:00
Diego Najar
8ad9922bf3 Languages updated 2018-02-25 21:10:28 +01:00
Diego Najar
21456b72b5 Languages updated 2018-02-25 20:42:57 +01:00
Diego Najar
5440900fb4 Improves on installer 2018-02-25 17:25:10 +01:00
Diego Najar
b558899f22 Merge branch 'master' of github.com:dignajar/bludit 2018-02-24 22:39:49 +01:00
Diego Najar
47b2f31431 Clean themes 2018-02-24 22:39:39 +01:00
floppy0
d6e6530be9 hide editing button 2018-02-23 15:53:16 +01:00
Diego Najar
cdf3879a8b Remove themes 2018-02-20 17:43:41 +01:00
floppy0
ea9a84b038 Redirect 302 to firt child 2018-02-20 16:07:38 +01:00
floppy0
6ab60337dd Redirect 302 to firt child 2018-02-20 16:06:49 +01:00
floppy0
e631b4cd29 Redirect 302 to firt child 2018-02-20 16:06:18 +01:00
floppy0
78307d90a9 Redirect 302 to firt child 2018-02-20 16:05:54 +01:00
floppy0
f51a40d28d Redirect 302 to firt child 2018-02-20 16:05:02 +01:00
floppy0
a8901a464e Redirect 302 to firt child 2018-02-20 15:51:07 +01:00
Diego Najar
7183a4cab2 Docs X theme 2018-02-18 20:46:48 +01:00
Diego Najar
27455f29e0 Docs X theme 2018-02-18 20:30:46 +01:00
Diego Najar
4698207431 Docs X theme 2018-02-17 11:32:05 +01:00
Diego Najar
38d45d078e absolutes urls for tinymce 2018-02-16 19:41:06 +01:00
Diego Najar
ea7f24b53a Reading time improves 2018-02-15 20:08:00 +01:00
floppy0
8807414d1b reading time 2018-02-15 14:51:21 +01:00
Diego Najar
4856a6316f
Merge pull request #638 from aleksei86/patch-1
Update uk_UA.json
2018-02-13 08:47:50 +01:00
Aleksei Belta
630c5ffbb4
Update uk_UA.json 2018-02-12 20:44:10 +02:00
Diego Najar
24a7e74de7
Merge pull request #622 from guleyc/patch-7
Update plugin.php
2018-02-12 15:08:40 +01:00
Diego Najar
602dda8d98
Merge pull request #620 from guleyc/patch-5
Update en.json
2018-02-12 15:08:18 +01:00
Diego Najar
84e066249b
Merge pull request #619 from guleyc/patch-4
Update tr_TR.json
2018-02-12 15:07:52 +01:00
Diego Najar
7253df6f73 Improves on performance for parent pages 2018-02-09 00:46:12 +01:00
floppy0
5a438ec442 improve children on pages 2018-02-08 16:53:35 +01:00
Diego Najar
55d304429d Docs X theme 2018-02-08 00:28:08 +01:00
Diego Najar
36a59cd82f Docs X theme 2018-02-08 00:20:00 +01:00
Diego Najar
8b237f818b Unsanitize content on new and edit pages 2018-02-07 20:15:33 +01:00
Diego Najar
6883836faf Docs X theme 2018-02-06 23:11:50 +01:00
Diego Najar
c6e8853b08 Plugin position 2018-02-06 18:27:18 +01:00
Diego Najar
2a0d694756 Plugin position 2018-02-06 18:26:59 +01:00
Edi
2e713683f3
Addition of missing characters 2018-02-05 14:16:49 +01:00
Edi
7b151bd931
Addition of missing characters 2018-02-05 14:16:19 +01:00
Diego Najar
a764d6f177 Social networks 2018-02-01 23:07:31 +01:00
Diego Najar
391cc9cbbf Social networks 2018-02-01 22:56:55 +01:00
Diego Najar
4fd4b6f4a9 Social networks 2018-02-01 22:55:26 +01:00
Diego Najar
b6891cc379 Social networks 2018-02-01 22:43:46 +01:00
Diego Najar
89744606c4 Social networks 2018-02-01 00:34:16 +01:00
Diego Najar
d57bf116df Merge branch 'master' of github.com:dignajar/bludit 2018-01-31 20:20:01 +01:00
Diego Najar
24aaf95959 Social networks 2018-01-31 20:19:53 +01:00
Diego Najar
9d84979f4b
Merge pull request #631 from guleyc/patch-16
Create tr_TR.json
2018-01-31 00:12:41 +01:00
Diego Najar
84947ab67f
Merge pull request #632 from guleyc/patch-17
Create tr_TR.json
2018-01-31 00:12:33 +01:00
Diego Najar
de1f446db5
Merge pull request #635 from xm74/patch-5
Update ru_RU.json
2018-01-30 19:46:30 +01:00
Max Kostikov
e032b8d186
Update ru_RU.json 2018-01-30 18:30:12 +02:00
Diego Najar
fb44ec04c0
Merge pull request #634 from guleyc/patch-19
Update tr_TR.json
2018-01-29 21:53:17 +01:00
Diego Najar
9bdb9c8115
Merge pull request #621 from guleyc/patch-6
Create tr_TR.json
2018-01-29 21:52:27 +01:00
Diego Najar
9b49a20e8d Load Bludit plugins 2018-01-28 23:33:50 +01:00
Diego Najar
914ddeacf5 alternative theme improves 2018-01-28 20:06:07 +01:00
Diego Najar
c522d56f37 alternative theme improves 2018-01-28 00:55:19 +01:00
Diego Najar
05d916e333 alternative theme improves 2018-01-27 20:34:26 +01:00
çağatay
8ee479dfac
Update tr_TR.json 2018-01-26 22:21:29 +03:00
çağatay
80be9584a5
Update tr_TR.json 2018-01-26 22:15:18 +03:00
çağatay
4d697802cd
Update tr_TR.json 2018-01-26 22:14:45 +03:00
çağatay
f2c3907293
Update tr_TR.json 2018-01-26 22:13:50 +03:00
çağatay
2118645072
Update tr_TR.json 2018-01-26 22:13:07 +03:00
çağatay
22c6fc4457
Create tr_TR.json 2018-01-26 22:10:04 +03:00
çağatay
51d26c30f8
Create tr_TR.json 2018-01-26 22:03:20 +03:00
çağatay
bf019d9fa2
Create tr_TR.json 2018-01-26 22:00:25 +03:00
çağatay
695d95df41
Create tr_TR.json 2018-01-26 21:58:20 +03:00
çağatay
1f403e609a
Create tr_TR.json 2018-01-26 21:56:25 +03:00
çağatay
83f6039c2c
Create tr_TR.json 2018-01-26 21:52:34 +03:00
çağatay
e1380de745
Update tr_TR.json 2018-01-26 21:51:52 +03:00
çağatay
29095cc6d7
Create tr_TR.json 2018-01-26 21:50:19 +03:00
çağatay
0ebe50f7ed
Create tr_TR.json 2018-01-26 21:46:42 +03:00
çağatay
13922e4066
Update tr_TR.json 2018-01-26 21:45:54 +03:00
çağatay
3654c9e7e9
Update tr_TR.json 2018-01-26 21:44:09 +03:00
çağatay
f8303aab83
Create tr_TR.json 2018-01-26 21:40:56 +03:00
çağatay
b315cd337c
Create tr_TR.json 2018-01-26 21:35:56 +03:00
çağatay
0bab2cdac2
Update plugin.php 2018-01-26 21:31:14 +03:00
çağatay
b86620112f
Create tr_TR.json 2018-01-26 21:30:35 +03:00
çağatay
50932bb156
Update en.json 2018-01-26 21:29:52 +03:00
çağatay
e97d193fa6
Update tr_TR.json 2018-01-26 21:09:15 +03:00
Diego Najar
6b827a7c8e Alternative theme and object variables lowercase 2018-01-25 23:58:42 +01:00
Diego Najar
b99ecd6128 alternative theme 2018-01-24 21:49:05 +01:00
Diego Najar
c10586568f Cover image for API 2018-01-23 17:40:27 +01:00
Diego Najar
40db0c6377 Update version and compatibility 2018-01-23 17:24:02 +01:00
Edi
ca8a6eb5ef
Create de_DE.json 2018-01-23 16:47:37 +01:00
Edi
145a1b2a42
Create de_CH.json 2018-01-23 16:47:18 +01:00
Edi
b8000255ff
Create de_DE.json 2018-01-23 16:45:25 +01:00
Edi
f5c7775082
Correction of typo 2018-01-23 16:45:03 +01:00
Edi
13dcd1515e
Create de_CH.json 2018-01-23 16:44:27 +01:00
Diego Najar
d51a37d15d
Update README.md 2018-01-23 00:24:41 +01:00
Diego Najar
13d681634a Implement #616 2018-01-22 22:07:04 +01:00
Diego Najar
62b30f4381 Bludit v2.2.0 2018-01-22 21:58:07 +01:00
Diego Najar
d9b2fb5b12 Remove icon for parent 2018-01-22 21:56:56 +01:00
Diego Najar
ca6d78009c Fix manage content 2018-01-22 20:33:53 +01:00
Diego Najar
019508bcc3 Readme update 2018-01-22 19:07:02 +01:00
Edi
d7fc35594e
Update nl_NL.json 2018-01-22 18:44:48 +01:00
Edi
9960b90f6f
Update nl_NL.json 2018-01-22 18:44:31 +01:00
Diego Najar
fff62b4f53
Update README.md 2018-01-22 11:21:57 +01:00
Diego Najar
30c6479731
Update README.md 2018-01-22 11:20:33 +01:00
Diego Najar
4de052aaa1 Merge branch 'master' of github.com:dignajar/bludit 2018-01-22 00:21:55 +01:00
Diego Najar
e116635328 Remove subpages for static pages 2018-01-22 00:21:47 +01:00
Diego Najar
e63e2d2a7c
Update README.md 2018-01-22 00:02:33 +01:00
Diego Najar
f2c59ee70b Improves on Manage Content view 2018-01-21 23:34:57 +01:00
Diego Najar
0de1f00d29 Improves on Manage Content view 2018-01-21 23:31:58 +01:00
Diego Najar
e17bc50bf2 Merge branch 'master' of github.com:dignajar/bludit 2018-01-21 23:25:15 +01:00
Diego Najar
809cd261b2 Improves on Manage Content view 2018-01-21 23:23:22 +01:00
Edi
c5650bd4b3
Revert 2018-01-21 22:43:03 +01:00
Edi
07620e2cb0
Revert 2018-01-21 22:42:37 +01:00
Edi
cdc0405ba1
Revert 2018-01-21 22:42:13 +01:00
Edi
a0527fe4b3
Revert 2018-01-21 22:41:47 +01:00
Edi
a81a400c4f
Revert 2018-01-21 22:41:21 +01:00
Edi
02ed1af7ee
Revert 2018-01-21 22:40:55 +01:00
Edi
f495ff11db
Revert 2018-01-21 22:40:21 +01:00
Edi
c44862f6c6
Revert 2018-01-21 22:39:30 +01:00
Edi
090ca426f9
Addition abreviation May 2018-01-21 22:27:55 +01:00
Edi
4fdd79cffd
Addition abbreviation May 2018-01-21 22:25:38 +01:00
Edi
61b85a9872
Addition abreviation May 2018-01-21 22:17:24 +01:00
Edi
5dc1f90034
Addition abbreviation May 2018-01-21 22:16:39 +01:00
Edi
8882246530
Addition abbreviation May 2018-01-21 22:14:14 +01:00
Edi
ba06e1fa6c
Correction of typo 2018-01-21 22:13:20 +01:00
Edi
0c299330b1
Addition abbreviation May 2018-01-21 22:12:39 +01:00
Edi
4ed61a7e88
Addition abrreviation May 2018-01-21 22:11:33 +01:00
Edi
166c95444f
Update nl_NL.json 2018-01-21 21:57:22 +01:00
Edi
203e120d17
Addition special chars 2018-01-21 17:10:34 +01:00
Diego Najar
b7b87be55c Merge branch 'master' of github.com:dignajar/bludit 2018-01-21 17:03:29 +01:00
Edi
1eb98ac842
Translation "read-more" 2018-01-21 17:01:03 +01:00
Edi
52b08bd17c
Update pt_BR.json 2018-01-21 16:59:30 +01:00
Edi
28ec99d35b
Update pt_PT.json 2018-01-21 16:59:01 +01:00
Edi
71e818ce44
Translation "read-more" 2018-01-21 16:57:16 +01:00
Edi
77ea4838e3
Update vi_VN.json 2018-01-21 16:54:15 +01:00
Edi
d847e9cb53
Update zh_TW.json 2018-01-21 16:53:13 +01:00
Edi
1076e3a763
Translation "read-more" 2018-01-21 16:51:16 +01:00
Edi
f35327dff4
Translation "read-more" 2018-01-21 16:49:40 +01:00
Edi
7b9c7153e5
Update fr_FR.json 2018-01-21 16:47:08 +01:00
Edi
d779a35c33
Translation "read-more" 2018-01-21 16:37:38 +01:00
Diego Najar
901f9247db Merge branch 'master' of github.com:dignajar/bludit 2018-01-21 16:35:56 +01:00
Diego Najar
d2a7b7ff08 Special characters on dictionary 2018-01-21 16:35:47 +01:00
Edi
f3361e0a8c
Translation "read-more" 2018-01-21 16:34:57 +01:00
Edi
53cc5a446b
Update de_DE.json 2018-01-21 16:23:10 +01:00
Edi
77d949fa41
Update de_CH.json 2018-01-21 16:22:31 +01:00
Diego Najar
85290cfbb6 Merge branch 'master' of github.com:dignajar/bludit 2018-01-21 16:15:36 +01:00
Diego Najar
9bbb4a6dc4 Update language files 2018-01-21 16:15:26 +01:00
Edi
758b97fc41
Adding "read-more" 2018-01-21 16:12:48 +01:00
Diego Najar
3dfbbcf055 Update language files 2018-01-21 16:07:28 +01:00
Diego Najar
a7d1ce1295 Update language files 2018-01-21 16:06:39 +01:00
Edi
a8df80273d
Addition of "read-more" 2018-01-21 16:06:05 +01:00
Edi
e86a7f7eab
Addition of "read-more" 2018-01-21 15:24:48 +01:00
Edi
b09e593ec4
Update ar_MA.json 2018-01-21 15:18:09 +01:00
Diego Najar
f5967ee9dc Bludit v2.1.2 2018-01-21 00:34:37 +01:00
Diego Najar
26a7525f02 Merge branch 'master' of github.com:dignajar/bludit 2018-01-21 00:19:26 +01:00
Diego Najar
7a7687b69d Bug fix, when parent is edited the childs disappear 2018-01-21 00:19:17 +01:00
Diego Najar
b6d05cb4c7
Update README.md 2018-01-20 23:59:23 +01:00
Diego Najar
d1598c0f3f remove autosave 2018-01-20 18:20:06 +01:00
Diego Najar
f27f8a639f Bug fix #602 2018-01-19 19:49:16 +01:00
Diego Najar
0101dbdd49 Bug fix #604 2018-01-19 19:37:06 +01:00
Edi
ecf9b8e3f1
Update fr_FR.json
Additon of "read-more".
2018-01-17 23:55:09 +01:00
Edi
48fc79b2c5
Update de_DE.json 2018-01-17 23:36:18 +01:00
Edi
3343cd09b3
Update de_CH.json
Addition of "read-more".
2018-01-17 23:35:39 +01:00
floppy0
71d0e149ed Merge branch 'master' of github.com:bludit/bludit 2018-01-17 15:57:09 +01:00
floppy0
71fc19efe8 Improves on add / edit a page 2018-01-17 15:57:00 +01:00
Diego Najar
24e841bc6e
Update README.md 2018-01-17 10:45:33 +01:00
Diego Najar
289a454ac1
Update README.md 2018-01-17 09:50:27 +01:00
Diego Najar
1d0d515e84
Update functions.php 2018-01-16 14:16:33 +01:00
Diego Najar
ca3ed6d268
Merge pull request #610 from anaggh/master
Fix static pages plugin
2018-01-15 23:29:20 +01:00
Anaggh S
5f3a06d653 Fix static pages plugin 2018-01-16 00:50:09 +05:30
Diego Najar
0ca346f977
Update README.md 2018-01-15 17:27:38 +01:00
floppy0
076fe7343c Bug fix for #608 2018-01-15 17:21:14 +01:00
floppy0
bcc986fa11 Bug fix for #606 2018-01-15 17:13:46 +01:00
Diego Najar
b740e660b8
Merge pull request #599 from marekrost/patch-1
Updated Czech translation
2018-01-14 19:35:35 +01:00
Diego Najar
0de005f2ae
Merge pull request #601 from vorons/patch-1
Update ru_RU.json
2018-01-11 09:40:45 +01:00
Сергей Ворон
5304d74e64
Update ru_RU.json 2018-01-11 09:05:43 +08:00
Diego Najar
d4bda55521 New plugin HTML Code 2018-01-07 12:45:47 +01:00
Diego Najar
6fb9dcda85 New plugin HTML Code 2018-01-07 12:17:03 +01:00
Marek Rost
6025f05f00
Updated Czech translation
Month and day translations + Minor fixes to unnatural translations.
2018-01-06 19:04:43 +01:00
Diego Najar
4baa55c7a0
Merge pull request #596 from guleyc/patch-3
Update tr_TR.json
2018-01-03 15:01:21 +01:00
çağatay
e9fe909a91
Update tr_TR.json 2018-01-02 19:36:50 +03:00
Diego Najar
0c0b104845 v2.1.1 2018-01-01 20:20:54 +01:00
Diego Najar
e4d7781dbe Bug fixes on Remember me function 2018-01-01 20:19:45 +01:00
Diego Najar
8217d8b873 Bug Fixed #532 2017-12-31 17:35:05 +01:00
Diego Najar
601359440d
Merge pull request #592 from xm74/patch-4
Update ru_RU.json
2017-12-31 15:39:15 +01:00
Max Kostikov
1cbddb0dd3
Update ru_RU.json
Stupid solution to avoid substring replacement in month / weekday
2017-12-30 22:36:56 +02:00
Diego Najar
c42f1e7683 Bug Fixed #589 2017-12-28 20:14:45 +01:00
Diego Najar
2097847b7a Fix for #588 2017-12-28 20:10:56 +01:00
Diego Najar
06a80db3cc minor fixes 2017-12-27 21:00:00 +01:00
Diego Najar
195b54aa69
Merge pull request #586 from xm74/patch-3
Update ru_RU.json
2017-12-27 15:08:06 +01:00
floppy0
4ded5485d8 functions for plugins 2017-12-27 14:44:57 +01:00
floppy0
d7f3f67b2f Class name instead of name 2017-12-27 14:19:28 +01:00
Max Kostikov
8d1f4ea49c
Update ru_RU.json
Added weekdays and months translation
2017-12-27 15:15:53 +02:00
floppy0
a2ac9461b9 dictionaries updated with dates 2017-12-27 13:06:08 +01:00
Diego Najar
c2d018dd81 Increase version 2017-12-26 17:57:19 +01:00
Diego Najar
970996f781 remove betas 2017-12-26 17:47:02 +01:00
Diego Najar
5f449ab111 Fixes on Language dictionaries 2017-12-26 17:45:02 +01:00
Diego Najar
a0ab20a816
Merge pull request #585 from guleyc/patch-2
Update tr_TR.json
2017-12-26 14:05:54 +01:00
çağatay
d30762e7ad
Update tr_TR.json 2017-12-25 20:49:14 +03:00
çağatay
f11d61d237
Update tr_TR.json 2017-12-25 20:47:07 +03:00
Diego Najar
db5c02e731 Minor changes 2017-12-20 20:37:17 +01:00
Diego Najar
af8ef33e2d Merge branch 'master' of github.com:dignajar/bludit 2017-12-20 00:25:52 +01:00
Diego Najar
8a85434732 Bug fix for 521 2017-12-20 00:25:42 +01:00
Diego Najar
318380dc16
Merge pull request #566 from xm74/master
Update Google plugin
2017-12-20 00:10:56 +01:00
Diego Najar
b3d36f66a4 Authors on languages dictionaries, date format on dashboard 2017-12-20 00:09:47 +01:00
Diego Najar
63b5c68a12
Merge pull request #578 from blog2read/master
German date expressions added
2017-12-19 23:54:37 +01:00
floppy0
7ed517fca1 hasParent method 2017-12-19 16:00:48 +01:00
Diego Najar
7a3cb64a0f class category and tag 2017-12-18 23:49:53 +01:00
Diego Najar
3b4b1c2f79 index.txt 2017-12-18 20:47:53 +01:00
Diego Najar
f581c855f4 remove themes 2017-12-18 20:46:16 +01:00
unknown
b70d07eb7f German date expressions added 2017-12-18 15:17:33 +01:00
Diego Najar
ff1abc1e36 bug fix #542 2017-12-17 21:16:30 +01:00
Diego Najar
c88bb01323
Merge pull request #575 from aleksei86/patch-6
Update uk_UA.json
2017-12-17 13:58:19 +01:00
Aleksei Babii
56d482de32
Update uk_UA.json 2017-12-16 20:34:47 +02:00
Diego Najar
e03c194656 Compatibility with php 5.3 2017-12-15 23:58:29 +01:00
Diego Najar
73729c1b5a TinyMCE 4.7.4 2017-12-13 19:54:07 +01:00
Diego Najar
2c8bba0771 remove submodule kernel panic 2017-12-13 19:34:40 +01:00
Diego Najar
165ae0ff21 Dates and languages, env variables in different filename, bug fixes 2017-12-10 22:14:12 +01:00
Diego Najar
530e0e2108 add theme kernel panic as submodule 2017-12-10 13:34:50 +01:00
Diego Najar
078fdb344c
Merge pull request #571 from xm74/patch-1
text.class.php update for PHP 7.2 compatibility
2017-12-09 20:32:22 +01:00
Diego Najar
15839a7580
Merge pull request #572 from xm74/patch-2
filesystem.class.php update for PHP 7.2 compatibility
2017-12-07 17:29:32 +01:00
Max Kostikov
cdec4580a2
Update to PHP 7.2 compatibility 2017-12-06 20:14:33 +02:00
Max Kostikov
c156c77002
update for PHP 7.2 compatibility 2017-12-06 19:49:53 +02:00
Max Kostikov
632d439975
Update plugin.php
revert labels linking
2017-11-28 14:57:38 +02:00
Diego Najar
4500fe78e1
Merge pull request #568 from HarleyDavidson86/patch-1
Update paginator.class.php
2017-11-28 13:08:27 +01:00
Diego Najar
03ae9a365f
Merge pull request #567 from marekrost/czech
Added czech language file
2017-11-28 13:05:23 +01:00
Diego Najar
981dc9ffb4 set not found parameters, and changes on date class 2017-11-26 16:04:57 +01:00
Dominik Sust
99f247562f
Update paginator.class.php
Correction at line 110: 
the right placeholder for previous page is "Previous Page" and not "Prev Page"
2017-11-24 14:15:30 +01:00
Marek Rost
4142181819 fixed too short translation for about section in administration 2017-11-22 22:43:23 +01:00
Marek Rost
64dc0033ea Added czech language file 2017-11-22 22:13:27 +01:00
Max Kostikov
8c81b9b383
Update plugin.php 2017-11-21 20:50:27 +02:00
Max Kostikov
40ad44ef63
Update plugin.php
Fixed Google HTML verification and tag displaying
2017-11-21 20:45:36 +02:00
Diego Najar
e162c03392 improves on filesystem class 2017-11-16 23:22:55 +01:00
Diego Najar
ffc238a98a Bludit Discovery 2017-11-16 23:21:23 +01:00
Diego Najar
913553e979 Backup plugin 2017-11-16 23:21:05 +01:00
Diego Najar
c3f74fe136
Merge pull request #560 from Dipchikov/patch-2
Update bg_BG.json
2017-11-11 15:17:24 +01:00
Diego Najar
17e35fd053 remove themes 2017-11-08 23:18:41 +01:00
Diego Najar
390864a9b2
Merge pull request #562 from bludit/v2.1-beta
V2.1 beta
2017-11-08 22:47:20 +01:00
Hristo Dipchikov
de9a55c534
Update bg_BG.json 2017-11-08 15:49:40 +02:00
Diego Najar
ce4fadf280 Remember me improves 2017-11-08 00:00:48 +01:00
Diego Najar
33a8d69faa Add Clean Blog Theme as submodule 2017-11-07 21:57:32 +01:00
Diego Najar
61b0845dd9 Add Clean Blog Theme as submodule 2017-11-07 21:49:59 +01:00
Diego Najar
6d91b9a4ad Remove Clean Blog 2017-11-07 21:43:56 +01:00
Diego Najar
3ac34c0b8d
Merge pull request #558 from Dipchikov/patch-1
Update bg_BG.json
2017-11-07 21:29:50 +01:00
Hristo Dipchikov
8bb095e321
Update bg_BG.json 2017-11-07 12:19:44 +02:00
Diego Najar
e8023c308f Remember me 2017-11-07 00:18:16 +01:00
Diego Najar
eb93088f87 video embed 2017-11-05 15:42:20 +01:00
Diego Najar
96bb193c00 video embed 2017-11-05 15:41:52 +01:00
Edi
54a570605a
Update home.php 2017-11-05 14:25:34 +01:00
Edi
e0cab4d86a
Update home.php 2017-11-05 14:22:29 +01:00
Edi
5a50efb195
Merge pull request #556 from clickwork-git/master
Theme Editorial
2017-11-04 14:08:33 +01:00
Edi
44d95e66c4
Addition of text/extract 2017-11-04 14:07:15 +01:00
Edi
28f44d0fdc
Merge pull request #5 from bludit/master
Pull request
2017-11-04 14:04:45 +01:00
Diego Najar
3f3fde21e9 Bludit v2.0.2 2017-11-02 23:43:13 +01:00
Diego Najar
49c5ceb46e
Merge pull request #554 from aleksei86/patch-4
Update uk_UA.json
2017-11-02 23:36:32 +01:00
Diego Najar
9c504b09b4
Merge pull request #555 from aleksei86/patch-5
Create uk_UA.json
2017-11-02 23:36:10 +01:00
Aleksei Babii
fe98aca837
Create uk_UA.json 2017-11-02 19:16:28 +02:00
Diego Najar
24ec5b0bcd web site for website 2017-11-01 21:29:55 +01:00
Aleksei Babii
ae706e184a
Update uk_UA.json 2017-11-01 21:23:39 +02:00
Diego Najar
d0c3f369aa Sanitize categories and tags 2017-11-01 19:38:56 +01:00
Diego Najar
2714560170 Merge branch 'master' of github.com:dignajar/bludit 2017-10-31 00:06:40 +01:00
Diego Najar
a73e0bb86d Bug fix: CleanURL and iconv issue 2017-10-31 00:06:06 +01:00
Diego Najar
8c35f1a0da
Merge pull request #549 from kaaleth/master
Polish language pack updated
2017-10-30 13:10:11 +01:00
Diego Najar
ebcb7a5b1f Open link on a new tab 2017-10-29 20:29:19 +01:00
Diego Najar
fb97bc83f5 Backup plugin not finished, Filesystem zip 2017-10-29 20:27:52 +01:00
Edi
7e4f9376e0
Merge pull request #550 from clickwork-git/master
Update of German translations
2017-10-29 13:26:45 +01:00
Edi
5f252ea20c
Update de_DE.json 2017-10-29 13:25:39 +01:00
Edi
80cb458e33
Update de_CH.json 2017-10-29 13:25:05 +01:00
Edi
75612e2dd5
Update de_DE.json 2017-10-29 13:24:13 +01:00
Edi
5e934179fb
Update de_CH.json 2017-10-29 13:23:22 +01:00
Edi
3eddfafc02
Merge pull request #4 from bludit/master
Merge pull request #543 from clickwork-git/master
2017-10-29 13:21:45 +01:00
Dave
6fbe439518 Polish language pack updated
Update for polish language
2017-10-28 14:41:30 +02:00
Edi
ed22ed940c Merge pull request #543 from clickwork-git/master
Update German translations
2017-10-26 10:51:33 +02:00
Edi
e71fa3e4fd Update de_DE.json 2017-10-26 10:50:39 +02:00
Edi
bb58f4e03d Update de_CH.json 2017-10-26 10:50:01 +02:00
Edi
6bb843c13a Merge pull request #3 from bludit/master
Pull request
2017-10-26 10:48:39 +02:00
Diego Najar
723b6273fd Merge branch 'master' of github.com:dignajar/bludit 2017-10-25 19:51:13 +02:00
Diego Najar
5fb337d761 timeout 10seconds 2017-10-25 19:50:57 +02:00
Diego Najar
bbccb1b102 Bug fix and added download icon 2017-10-25 19:50:38 +02:00
Diego Najar
0efa901099 Merge pull request #541 from ADTC/patch-1
Show Edit page Sidebar below all else in Mobile View
2017-10-25 19:01:00 +02:00
Diego Najar
d98e0082b2 Update README.md 2017-10-25 17:24:48 +02:00
Diego Najar
9222f6645f Update README.md 2017-10-25 17:19:31 +02:00
ADTC
ee73e26cbb Show Edit page Sidebar below all else in Mobile View 2017-10-25 19:13:02 +05:30
Edi
c2b181693b Merge pull request #538 from clickwork-git/master
Fix pagination
2017-10-24 12:05:37 +02:00
Edi
a82a28bd75 Float for pagination 2017-10-24 12:04:38 +02:00
Edi
8075e3bbfe Pagination 2017-10-24 12:03:43 +02:00
Diego Najar
73678629d3 Bludit v2.0.1 2017-10-23 22:50:22 +02:00
Diego Najar
f1c1bc7952 Merge pull request #536 from xm74/master
RU language for Static pages plugin
2017-10-23 22:46:31 +02:00
Diego Najar
2db7071468 Bug fixes home link enable disable 2017-10-23 22:13:58 +02:00
Diego Najar
98a1a8f34b Bug fixes home link enable disable 2017-10-23 22:11:56 +02:00
Edi
d290814437 Fix pagination 2017-10-23 18:23:26 +02:00
Edi
6c04056acf Merge pull request #537 from clickwork-git/master
Correction of typos
2017-10-23 12:28:54 +02:00
Edi
9aac2de4d8 Update home.php 2017-10-23 12:27:02 +02:00
Edi
dce50dcff9 Correction of typo 2017-10-23 12:24:51 +02:00
Edi
83747f5550 Merge pull request #2 from bludit/master
Pull request
2017-10-23 12:21:38 +02:00
Diego Najar
247e2298b5 Merge branch 'master' of github.com:dignajar/bludit 2017-10-22 21:28:51 +02:00
Diego Najar
c94c919f94 cleaning code 2017-10-22 21:28:44 +02:00
Max Kostikov
7b90e4bc18 Create ru_RU.json 2017-10-22 19:08:30 +02:00
Diego Najar
14a886ffcf Merge pull request #535 from xm74/master
Fixed RU language files
2017-10-22 18:43:42 +02:00
Max Kostikov
75e06d316a Delete ru-RU.json
wrong name
2017-10-22 16:39:35 +02:00
Max Kostikov
26da548a67 Create ru_RU.json 2017-10-22 16:39:16 +02:00
Max Kostikov
ec51cb39ac Delete ru_RU.json
wrong location
2017-10-22 16:39:00 +02:00
Diego Najar
25d2a113fd Google Analytics on head 2017-10-22 15:40:24 +02:00
Diego Najar
44696f115f Merge branch 'master' of github.com:dignajar/bludit 2017-10-22 14:36:24 +02:00
Diego Najar
047afee2e8 Bug fixes with static content https://github.com/bludit/bludit/issues/533 2017-10-22 14:36:16 +02:00
Diego Najar
6531bb05f7 Merge pull request #534 from xm74/master
Russian translation for Categories plugin
2017-10-22 11:29:36 +02:00
Diego Najar
4ccd4ae24d Keep errors internal 2017-10-21 20:35:45 +02:00
Diego Najar
df978c0a75 DOM helper on plugins 2017-10-21 20:30:59 +02:00
Diego Najar
20151c7f05 Added comments about station content variable 2017-10-21 20:30:20 +02:00
Diego Najar
5cd7e6f469 Remove parsedown extra 2017-10-21 20:29:56 +02:00
Max Kostikov
cadd931cde Update ru_RU.json 2017-10-21 18:18:11 +02:00
Max Kostikov
83f11d5b3f Create ru_RU.json 2017-10-21 17:04:53 +02:00
Max Kostikov
cdf4293722 Merge pull request #1 from bludit/master
sync
2017-10-21 16:23:27 +02:00
Diego Najar
d1a2627c65 Merge pull request #525 from xm74/master
Disqus plugin update
2017-10-21 15:26:12 +02:00
Diego Najar
6730794532 Merge pull request #530 from xm74/patch-1
Update en.json
2017-10-21 15:26:03 +02:00
Diego Najar
9667f214b6 Merge pull request #531 from xm74/patch-2
Update ru_RU.json
2017-10-21 15:25:53 +02:00
Diego Najar
b089edfa51 Bug fixes: Static content as parents 2017-10-20 20:34:22 +02:00
Max Kostikov
1290850800 Update ru_RU.json
add missing "Read more" definintion
2017-10-19 21:55:25 +02:00
Max Kostikov
a68641b0fe Update en.json
add missing "Read more" definintion
2017-10-19 21:53:58 +02:00
Edi
56041fb5a1 Merge pull request #529 from clickwork-git/master
Update theme Log
2017-10-19 21:27:57 +02:00
Edi
dd9a14bafc Fix language paginator 2017-10-19 21:26:49 +02:00
Edi
5719189990 Merge pull request #1 from bludit/master
Pull request
2017-10-19 21:24:39 +02:00
Max Kostikov
5b1fdcf0ed Update plugin.php
added localization for options
2017-10-19 16:07:53 +02:00
Max Kostikov
6b69807614 Create ru_RU.json 2017-10-19 16:04:41 +02:00
Max Kostikov
613d6103a0 Update plugin.php 2017-10-19 12:35:10 +02:00
Max Kostikov
6e66fc28a4 Update plugin.php 2017-10-19 12:29:07 +02:00
Max Kostikov
c0a6caac90 Update ru_RU.json 2017-10-19 12:20:26 +02:00
Max Kostikov
3ba13abc34 Update en.json 2017-10-19 12:19:54 +02:00
Diego Najar
3462cefc4d Merge pull request #512 from xm74/patch-5
Create ru_RU.json
2017-10-19 00:11:35 +02:00
Diego Najar
cdfca71513 Merge pull request #513 from xm74/patch-6
Create ru_RU.json
2017-10-19 00:11:27 +02:00
Diego Najar
dd3c31512d Merge pull request #514 from xm74/patch-7
Create ru_RU.json
2017-10-19 00:11:15 +02:00
Diego Najar
4d19ae3ddf Merge pull request #515 from xm74/patch-8
Create ru_RU.json
2017-10-19 00:11:03 +02:00
Diego Najar
74d65c59ff Merge pull request #516 from xm74/patch-9
Create ru_RU.json
2017-10-19 00:10:54 +02:00
Diego Najar
a44e3c7146 Merge pull request #517 from xm74/patch-10
Create ru_RU.json
2017-10-19 00:10:45 +02:00
Diego Najar
fd32f33d47 Merge pull request #518 from xm74/patch-11
Create ru_RU.json
2017-10-19 00:10:17 +02:00
Diego Najar
87e6d036ee Merge pull request #519 from xm74/patch-12
Create ru_RU.json
2017-10-19 00:10:01 +02:00
Diego Najar
f73914dacb Merge pull request #520 from xm74/patch-13
Create ru_RU.json
2017-10-19 00:09:51 +02:00
Diego Najar
59f24c3fb2 Bug fixes https://github.com/bludit/bludit/issues/524 2017-10-19 00:05:02 +02:00
Diego Najar
3fbc2ba94b Merge branch 'master' of github.com:dignajar/bludit 2017-10-18 18:21:53 +02:00
Diego Najar
8616aff440 Bug fixes https://github.com/bludit/bludit/issues/507 2017-10-18 18:21:44 +02:00
Diego Najar
9e2bc863eb Merge pull request #511 from xm74/patch-4
Create ru-RU.json
2017-10-18 18:13:18 +02:00
Diego Najar
a63335c260 Merge pull request #523 from Fred89/master
Full French Translation for Bludit 2
2017-10-18 18:07:42 +02:00
Diego Najar
90a90505b1 Merge pull request #510 from xm74/patch-3
Update ru_RU.json
2017-10-18 18:06:30 +02:00
Max Kostikov
944395b5af Update ru_RU.json 2017-10-18 12:40:18 +02:00
Frédéric K
3318fd4a7a Full French Translation for Bludit 2 2017-10-18 12:20:18 +02:00
Max Kostikov
95bf769d66 Update ru_RU.json 2017-10-18 01:13:38 +02:00
Max Kostikov
72cc28372b Update ru_RU.json 2017-10-18 01:12:26 +02:00
Max Kostikov
7d5d83ffeb Update ru_RU.json 2017-10-18 01:10:05 +02:00
Max Kostikov
74ab152273 Update ru_RU.json 2017-10-18 01:07:59 +02:00
Max Kostikov
7ee7696cec Create ru_RU.json 2017-10-18 00:23:01 +02:00
Max Kostikov
100e502702 Create ru_RU.json 2017-10-18 00:21:06 +02:00
Max Kostikov
e2df487d80 Create ru_RU.json 2017-10-18 00:18:42 +02:00
Max Kostikov
956fc8da54 Rename languages to ru_RU.json 2017-10-18 00:17:00 +02:00
Max Kostikov
c8ad9b810c Create ru_RU.json 2017-10-18 00:15:11 +02:00
Max Kostikov
4e0b6fe604 Create ru_RU.json 2017-10-18 00:12:38 +02:00
Max Kostikov
816e174ee1 Create ru_RU.json 2017-10-18 00:10:53 +02:00
Max Kostikov
86a86b5b3c Create ru_RU.json 2017-10-18 00:08:58 +02:00
Max Kostikov
3e4e42cde5 Create ru_RU.json 2017-10-18 00:05:35 +02:00
Max Kostikov
18780d0ae7 Create ru-RU.json 2017-10-18 00:02:01 +02:00
Max Kostikov
e9c7fa1323 Update ru_RU.json
new translations added
2017-10-17 23:45:38 +02:00
Edi
b97e84abf8 Merge pull request #506 from clickwork-git/master
Update German translations
2017-10-17 01:19:41 +02:00
Edi
53f44be4d2 Update de_CH.json 2017-10-17 01:17:30 +02:00
Edi
e8bc4962ec Update de_DE.json 2017-10-17 01:16:29 +02:00
Edi
0f9d21fd3b Update de_CH.json 2017-10-17 01:12:22 +02:00
Diego Najar
7e3562ab3e Bludit v2.0 2017-10-16 20:06:46 +02:00
Diego Najar
72055d4366 Bug fixes on Twitter Cards 2017-10-16 19:59:23 +02:00
Diego Najar
2cb85655af Merge branch 'master' of github.com:dignajar/bludit 2017-10-16 17:56:49 +02:00
Diego Najar
198dafdf4f right float 2017-10-16 17:46:38 +02:00
Edi
54b4d4aebd Merge pull request #505 from clickwork-git/master
Update German translation
2017-10-16 11:25:20 +02:00
Edi
bc14c68d2a Update de_DE.json 2017-10-16 11:24:35 +02:00
Edi
65b7fc4f38 Update de_CH.json 2017-10-16 11:23:52 +02:00
Edi
69f2aabd87 Merge pull request #504 from clickwork-git/master
Adding translation to plugin SimpleMDE
2017-10-16 11:18:18 +02:00
Edi
35b72c74f4 Update es.json 2017-10-16 11:17:20 +02:00
Edi
8f09944aa3 Update en.json 2017-10-16 11:16:59 +02:00
Edi
e2ecb60fd5 Update es.json 2017-10-16 11:14:32 +02:00
Edi
46908b767e Update en.json 2017-10-16 11:13:32 +02:00
Edi
4cdd1b51bb Definition placeholder 2017-10-16 11:11:07 +02:00
Edi
72f5d41fd0 Update de_CH.json 2017-10-16 11:08:35 +02:00
Edi
d19abe8c87 Update de_DE.json 2017-10-16 11:08:05 +02:00
Edi
39d2b30dfe Merge pull request #503 from clickwork-git/master
Update German translations
2017-10-15 19:12:25 +02:00
Edi
1c947134c8 Update de_CH.json 2017-10-15 19:10:16 +02:00
Edi
01d3afe412 Update de_DE.json 2017-10-15 19:09:38 +02:00
Edi
028bedd347 Update de_DE.json 2017-10-15 19:06:50 +02:00
Diego Najar
38d2a28796 compatibility 2017-10-15 18:48:23 +02:00
Diego Najar
0c772e3dd2 Social media 2017-10-15 18:15:31 +02:00
Diego Najar
6c18429113 Merge branch 'master' of github.com:dignajar/bludit 2017-10-15 18:07:23 +02:00
Diego Najar
9a7b17ef09 languges fixes 2017-10-15 18:06:56 +02:00
Edi
3d491cabc8 Merge pull request #502 from clickwork-git/master
Update of German translations
2017-10-15 16:21:35 +02:00
Edi
2119368960 Update de_DE.json 2017-10-15 16:20:30 +02:00
Edi
86a3e196cd Update de_CH.json 2017-10-15 16:19:49 +02:00
Edi
9202b49641 Create de_DE.json 2017-10-15 15:59:25 +02:00
Edi
15f95ee5a3 Create de_CH.json 2017-10-15 15:59:07 +02:00
Edi
05c618bc48 Create de_DE.json 2017-10-15 15:33:39 +02:00
Edi
7b0ecf70a1 Create de_CH.json 2017-10-15 15:33:23 +02:00
Edi
f02ac1f1a2 Update de_DE.json 2017-10-15 15:16:24 +02:00
Edi
3b742aea90 Update de_CH.json 2017-10-15 15:16:01 +02:00
Diego Najar
e8986d89ff languges updates 2017-10-14 20:07:23 +02:00
Diego Najar
f5eccf5d3c languges updates 2017-10-14 19:57:10 +02:00
Diego Najar
8fa81eb7f5 social networks 2017-10-14 18:19:37 +02:00
Diego Najar
63934cf82a Updated Gitter Link 2017-10-14 16:15:39 +02:00
Diego Najar
003bf35938 Bludit v2 and Bludit PRO 2017-10-14 15:51:38 +02:00
Diego Najar
440e913586 Merge pull request #491 from kaaleth/bluditv2
Polish language updated 2
2017-10-14 15:07:43 +02:00
Diego Najar
c74ca19319 Removed themes 2017-10-14 15:03:40 +02:00
Diego Najar
cbc2b1ddd4 Missing phrase on opengraph and twitter cards 2017-10-14 14:30:47 +02:00
Diego Najar
d4f1f078cc Cleaning Clean Blog 2017-10-14 14:19:37 +02:00
Edi
0fdfff1e67 Merge pull request #499 from clickwork-git/bluditv2
Update German translations
2017-10-14 12:58:56 +02:00
Edi
d0af28a9ae Update de_DE.json 2017-10-14 12:58:08 +02:00
Edi
bf27a511d2 Update de_CH.json 2017-10-14 12:57:38 +02:00
Edi
700f06ce3f Merge pull request #498 from clickwork-git/bluditv2
Addtion of German translations
2017-10-14 12:52:27 +02:00
Edi
824877ed3c Create de_DE.json 2017-10-14 12:51:39 +02:00
Edi
4f767f5e47 Create de_CH.json 2017-10-14 12:51:18 +02:00
Edi
0f5e37682a Merge pull request #497 from clickwork-git/bluditv2
Update German translations
2017-10-14 12:08:28 +02:00
Edi
f5a1130b02 Update de_DE.json 2017-10-14 12:05:24 +02:00
Edi
286c27d577 Update de_CH.json 2017-10-14 12:04:47 +02:00
Edi
f06e41b0ce Create de_DE.json 2017-10-14 11:21:40 +02:00
Edi
e2d0aa1d25 Create de_CH.json 2017-10-14 11:21:15 +02:00
Edi
7ff3308238 Create de_DE.json 2017-10-14 11:18:27 +02:00
Edi
4bed033808 Create de_CH.json 2017-10-14 11:17:55 +02:00
Edi
cefa58748c Create de_DE.json 2017-10-14 11:15:30 +02:00
Edi
3bf1403646 Create de_CH.json 2017-10-14 11:15:09 +02:00
Edi
cd4f9a6e75 Create de_DE.json 2017-10-14 11:07:56 +02:00
Edi
75696b458a Create de_CH.json 2017-10-14 11:07:33 +02:00
Edi
74d2490a9c Merge pull request #496 from clickwork-git/bluditv2
Creation and updates of German translations
2017-10-14 01:01:21 +02:00
Edi
0ba31980d3 Update de_CH.json 2017-10-14 00:59:07 +02:00
Edi
3c27a9cc95 Update de_DE.json 2017-10-14 00:58:41 +02:00
Edi
d31c519d8c Update de_DE.json 2017-10-14 00:46:38 +02:00
Edi
0e26dd6035 Update de_CH.json 2017-10-14 00:46:12 +02:00
Edi
a99fdb3fa5 Create de_DE.json 2017-10-14 00:42:46 +02:00
Edi
8630cb8600 Create de_CH.json 2017-10-14 00:42:22 +02:00
Edi
3528525fd5 Update de_DE.json 2017-10-14 00:38:34 +02:00
Edi
909d963946 Update de_CH.json 2017-10-14 00:38:07 +02:00
Edi
46858b42b0 Update de_DE.json 2017-10-14 00:31:01 +02:00
Edi
7b69d415dd Update de_CH.json 2017-10-14 00:30:27 +02:00
Edi
0284bd4b9e Rename de_CH.json to de_DE.json 2017-10-14 00:25:09 +02:00
Edi
508eae3c50 Create de_CH.json 2017-10-14 00:24:33 +02:00
Edi
19c3067fdb Merge pull request #3 from bludit/bluditv2
Bluditv2
2017-10-14 00:11:04 +02:00
Diego Najar
05c95ba3ea compatibility themes dictionary 2017-10-14 00:02:30 +02:00
Diego Najar
7e18d528cc Sitemap settings 2017-10-13 23:43:16 +02:00
Diego Najar
79a91a4f12 Sitemap settings 2017-10-13 23:42:19 +02:00
Diego Najar
69facb09b4 Sitemap settings 2017-10-13 23:40:23 +02:00
Diego Najar
0ebee8526a Tinymce changes on plugins, Dom Helper, changes on Clean Blog Theme 2017-10-13 23:38:24 +02:00
Edi
48d5c94dd1 Merge pull request #495 from clickwork-git/bluditv2
Update language files RSS Feed
2017-10-13 22:41:04 +02:00
Edi
a73f598f1b Create de_DE.json 2017-10-13 22:39:50 +02:00
Edi
8288b131f1 Create de_CH.json 2017-10-13 22:39:26 +02:00
Edi
90c3c1aeaa Update en.json 2017-10-13 22:36:12 +02:00
Edi
5a406f15d1 Merge pull request #494 from clickwork-git/bluditv2
Update German translations
2017-10-13 19:30:16 +02:00
Edi
2ac9855756 Update de_DE.json 2017-10-13 19:25:01 +02:00
Edi
84925900a4 Update de_CH.json 2017-10-13 19:24:35 +02:00
Edi
86c920616d Update de_CH.json 2017-10-13 19:16:54 +02:00
Edi
6515a6edf6 Update de_DE.json 2017-10-13 19:16:29 +02:00
Edi
08f0ed873b Update de_DE.json 2017-10-13 19:15:03 +02:00
Edi
9c6d42c6c7 Update de_CH.json 2017-10-13 19:14:41 +02:00
Edi
c613d9b103 Merge pull request #492 from clickwork-git/bluditv2
Update translation files
2017-10-13 13:15:35 +02:00
Edi
7d6752f32a Update en.json 2017-10-13 13:14:15 +02:00
Edi
eedea91186 Update de_DE.json 2017-10-13 13:11:38 +02:00
Edi
daa7040e64 Update de_CH.json 2017-10-13 13:08:18 +02:00
Edi
7e4f880a6a Merge pull request #2 from bludit/bluditv2
Bluditv2
2017-10-13 13:07:25 +02:00
Diego Najar
e461594898 Changes on themes 2017-10-13 00:20:16 +02:00
Diego Najar
d0e8e5c918 Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-10-13 00:15:43 +02:00
Diego Najar
63ed9cc11a Changes on themes 2017-10-13 00:15:13 +02:00
Dave
e8b9ec3ae7 Polish language updated 2 2017-10-12 12:34:33 +02:00
Edi
18b2983929 Merge pull request #489 from clickwork-git/bluditv2
Additions and updates of German translations
2017-10-12 00:40:18 +02:00
Edi
7105d50414 Update de_DE.json 2017-10-12 00:38:06 +02:00
Edi
e2daf11413 Update de_CH.json 2017-10-12 00:37:42 +02:00
Edi
04f7080cc2 Create de_DE.json 2017-10-12 00:37:05 +02:00
Edi
989d167572 Create de_CH.json 2017-10-12 00:36:48 +02:00
Edi
52e82dde3d Create de_DE.json 2017-10-12 00:23:10 +02:00
Edi
3476c46584 Create de_CH.json 2017-10-12 00:22:48 +02:00
Edi
59fc225ecc Update de_CH.json 2017-10-12 00:16:47 +02:00
Edi
8aa121fd3d Update de_DE.json 2017-10-12 00:16:21 +02:00
Edi
cfe7e73c44 Update de_DE.json 2017-10-11 23:43:22 +02:00
Edi
7e0334eefc Update de_CH.json 2017-10-11 23:42:53 +02:00
Edi
0650f03923 Update de_DE.json 2017-10-11 23:42:17 +02:00
Edi
a5d17d9278 Update de_CH.json 2017-10-11 23:41:51 +02:00
Edi
389b11e8f5 Create de_DE.json 2017-10-11 23:40:20 +02:00
Edi
af381c1be0 Create de_CH.json 2017-10-11 23:40:02 +02:00
Edi
f9c1555163 Create de_DE.json 2017-10-11 23:32:57 +02:00
Edi
4dd484988b Create de_CH.json 2017-10-11 23:32:40 +02:00
Edi
23daa78c31 Update de_DE.json 2017-10-11 23:19:45 +02:00
Edi
66983b8133 Update de_CH.json 2017-10-11 23:19:15 +02:00
Edi
e7bce77a5d Update de_DE.json 2017-10-11 23:18:08 +02:00
Edi
6aee84b8c7 Update de_CH.json 2017-10-11 23:17:42 +02:00
Edi
dd3167b73e Merge pull request #1 from bludit/bluditv2
Bluditv2
2017-10-11 23:15:49 +02:00
Diego Najar
1bd4d822e5 Welcome page 2017-10-11 21:17:47 +02:00
Diego Najar
bfefc2401b Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-10-11 21:12:54 +02:00
Diego Najar
48e4285732 Removed parsedownextra 2017-10-11 21:12:45 +02:00
Edi
e7e6cdf0e6 Merge pull request #487 from clickwork-git/bluditv2
Update language files
2017-10-11 12:13:26 +02:00
Edi
65537a9ed7 Update de_DE.json 2017-10-11 12:12:46 +02:00
Edi
c3f8329465 Update de_CH.json 2017-10-11 12:11:43 +02:00
Edi
cdb87cab63 Update de_CH.json 2017-10-11 12:10:58 +02:00
Edi
364bacd39c Update de_DE.json 2017-10-11 12:10:33 +02:00
Diego Najar
c13a7c0c21 Tinymce, and languages dictionaries on plugins 2017-10-11 00:39:06 +02:00
Diego Najar
8a807d422a Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-10-10 23:46:33 +02:00
Edi
f658b03b78 Merge pull request #486 from clickwork-git/bluditv2
Addition German translations to plugin API
2017-10-10 20:38:34 +02:00
Edi
34f9a39964 Create de_DE.json 2017-10-10 20:37:35 +02:00
Edi
9e23c4c40d Create de_CH.json 2017-10-10 20:37:07 +02:00
Edi
2fcf6a53b0 Merge pull request #485 from clickwork-git/bluditv2
Update language files plugin Disqus
2017-10-10 18:41:18 +02:00
Edi
7bcdff69ca Update en.json 2017-10-10 18:39:39 +02:00
Edi
c04221d1b6 Update en.json 2017-10-10 18:38:05 +02:00
Edi
ed1a537ca8 Update de_DE.json 2017-10-10 18:37:12 +02:00
Edi
ffdcecaeca Update de_CH.json 2017-10-10 18:35:35 +02:00
Edi
27755ebdd3 Update en.json 2017-10-10 18:30:36 +02:00
Edi
879085dfe2 Update en.json 2017-10-10 18:30:08 +02:00
Edi
75adaa85cc Merge pull request #484 from clickwork-git/bluditv2
Update language files
2017-10-10 18:19:47 +02:00
Edi
8e96e10d1d Update de_DE.json 2017-10-10 18:18:58 +02:00
Edi
0280ad443f Update de_CH.json 2017-10-10 18:16:33 +02:00
Edi
2d75ced0e5 Create de_DE.json 2017-10-10 17:56:38 +02:00
Edi
87c8534ef5 Create de_CH.json 2017-10-10 17:56:15 +02:00
Diego Najar
6f1a7ab01b Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-10-10 00:43:43 +02:00
Diego Najar
07b90eaad9 Tinymce plugin updates 2017-10-10 00:43:33 +02:00
Edi
51a95ea600 Merge pull request #483 from clickwork-git/bluditv2
German translations plugin Version
2017-10-09 23:38:02 +02:00
Edi
6bba8805f5 Create de_DE.json 2017-10-09 23:36:01 +02:00
Edi
7033dbf5da Create de_CH.json 2017-10-09 23:35:27 +02:00
Edi
1ec9a1c6c5 Merge pull request #482 from clickwork-git/bluditv2
Update language files
2017-10-09 22:56:00 +02:00
Edi
12694c746b Update de_CH.json 2017-10-09 22:54:14 +02:00
Edi
6fed7720ee Update de_DE.json 2017-10-09 22:53:41 +02:00
Edi
efd4f37f4c Update de_CH.json 2017-10-09 22:30:06 +02:00
Edi
5679aaa639 Correction of typo 2017-10-09 22:29:03 +02:00
Edi
08ad590ada Merge pull request #2 from bludit/bluditv2
Bluditv2
2017-10-09 22:25:20 +02:00
Diego Najar
62f81d7ea3 languages updated 2017-10-09 20:12:19 +02:00
Diego Najar
3f43331222 languages updated 2017-10-09 20:11:56 +02:00
Diego Najar
ca6ce87eae language updated 2017-10-09 20:08:18 +02:00
Diego Najar
f52bd49e1a removed some themes, minor changes 2017-10-08 20:33:21 +02:00
Diego Najar
33e6e3450e Story theme improves 2017-10-08 16:58:59 +02:00
Diego Najar
39d31cd2fb Micro theme bug fixes 2017-10-08 13:56:47 +02:00
Diego Najar
92f6cc299e RSS fixes, Micro theme improves 2017-10-07 21:49:41 +02:00
Diego Najar
57a9a13152 Developers section improved 2017-10-07 16:58:24 +02:00
Diego Najar
66c04835ff Minor changes on dashboard 2017-10-07 02:49:47 +02:00
Diego Najar
5fa3f56ed4 Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-10-07 02:45:26 +02:00
Diego Najar
b8eec33515 Opengraph and Twitter card now possible to select a default image, fixed regex on img abs 2017-10-07 02:45:03 +02:00
Diego Najar
26c59cea76 languages updated 2017-10-06 18:31:14 +02:00
Diego Najar
5e7915d2bf Ajax files improves 2017-10-06 18:28:06 +02:00
Diego Najar
9ec3431c70 Merge pull request #481 from anaggh/patch-1
Improve parsing
2017-10-05 17:08:38 +02:00
anaggh
88aa7b7a0c Improve parsing 2017-10-05 20:37:24 +05:30
Diego Najar
4f21defa47 Bludit v2.0 Beta 7 2017-10-04 23:42:14 +02:00
Diego Najar
c2c25d2bec Minor fixes 2017-10-04 00:00:54 +02:00
Diego Najar
e08d13a9af Pages for Content 2017-10-02 23:17:32 +02:00
Diego Najar
d4afe3b843 Pages for Content 2017-10-02 22:42:18 +02:00
Diego Najar
825898f110 Merge pull request #476 from clickwork-git/bluditv2
Update German translations
2017-10-01 19:19:14 +02:00
Diego Najar
074052492a Merge pull request #477 from Turqueso/bluditv2
Added Codepen to Social Medial
2017-10-01 19:17:13 +02:00
Turqueso
85f95b0119 Added Codepen to Social Medial 2017-09-29 15:02:05 -06:00
Diego Najar
0327612dc8 Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-09-29 19:07:11 +02:00
Diego Najar
03374adb28 Minor changes on plugin categories 2017-09-29 19:07:02 +02:00
Diego Najar
23b1bc6b2e New words 2017-09-29 19:06:45 +02:00
Diego Najar
341858ce02 Improves to get the content 2017-09-29 19:06:18 +02:00
Diego Najar
cfe4fb79a2 User roles fixes on dashboard 2017-09-29 19:05:36 +02:00
Edi
0408dcbe2d Update de_DE.json 2017-09-29 00:04:53 +02:00
Edi
457360490b Update de_CH.json 2017-09-29 00:04:15 +02:00
Edi
d7efbbe7c9 Update de_CH.json 2017-09-28 23:48:56 +02:00
Edi
f970d010fd Merge pull request #1 from dignajar/bluditv2
Merge pull request #475 from clickwork-git/bluditv2
2017-09-28 23:44:23 +02:00
Diego Najar
282a7be6ff Merge pull request #475 from clickwork-git/bluditv2
Update translations
2017-09-26 10:49:53 +02:00
Edi
e5f89a47e7 Update de_CH.json 2017-09-26 00:15:18 +02:00
Edi
f49a575728 Update de_DE.json 2017-09-26 00:14:42 +02:00
Edi
7ee081ff83 Update de_CH.json 2017-09-26 00:13:32 +02:00
Diego Najar
8f766d7a84 Merge pull request #472 from vait/bluditv2
Update ru_RU.json
2017-09-25 20:35:16 +02:00
Victor Grekov
915cea444a Update ru_RU.json
Added some translates
2017-09-24 23:21:26 +03:00
Victor Grekov
6e2815f8d7 Merge pull request #1 from dignajar/bluditv2
Bluditv2
2017-09-24 22:26:55 +03:00
Diego Najar
03dc9234a1 fixed grammar 2017-09-24 15:28:15 +02:00
Diego Najar
b5b22b986d remove Bludit logos 2017-09-24 14:54:12 +02:00
Diego Najar
f3f1d75544 Merge pull request #471 from clickwork-git/patch-1
Update de_CH.json
2017-09-24 01:26:48 +02:00
Diego Najar
4cc427370b Merge branch 'bluditv2' into patch-1 2017-09-24 01:26:37 +02:00
Diego Najar
63a1aa93f3 New words added to dictionaries 2017-09-24 01:25:08 +02:00
Diego Najar
165b730784 New words added to dictionaries 2017-09-24 01:23:12 +02:00
Diego Najar
9ce2492ade Bug fixes on dashboard 2017-09-24 01:17:37 +02:00
Edi
1d48b1c323 Update de_CH.json 2017-09-24 01:09:13 +02:00
Diego Najar
ccde1e2e29 Lang updated, improves on users 2017-09-23 15:15:29 +02:00
Diego Najar
5f6c43e73d API, write permissions 2017-09-23 13:10:05 +02:00
Diego Najar
1bd75ac2ee API improves, fixed url router 2017-09-22 23:11:08 +02:00
Diego Najar
c167e00c19 Bludit v2.0 beta 4 2017-09-21 21:56:16 +02:00
Diego Najar
62dd1d4338 Languages updates 2017-09-21 21:55:35 +02:00
Diego Najar
41c45a81bd Languages updates 2017-09-21 21:55:19 +02:00
Diego Najar
429ccadd2d Bug fixes on URL router 2017-09-21 20:42:03 +02:00
Diego Najar
7ab8303c7e Pages, and static pages 2017-09-20 23:06:04 +02:00
Diego Najar
dc3bfd511a Pages, and static pages 2017-09-20 23:01:21 +02:00
Diego Najar
a8101ea2f2 Pages, and static pages 2017-09-20 23:00:03 +02:00
Diego Najar
9eb880f6d3 Update url.class.php 2017-09-20 17:15:49 +02:00
Diego Najar
7c378836f2 Update url.class.php 2017-09-20 16:54:47 +02:00
Diego Najar
e96cfebb20 Update url.class.php 2017-09-20 16:51:54 +02:00
Diego Najar
bcd9f024f8 Merge pull request #469 from vait/bluditv2
Update ru_RU.json
2017-09-20 15:30:17 +02:00
Victor Grekov
3c8f8f6377 Some changes
Corrected the inclination
2017-09-20 01:02:06 +03:00
Victor Grekov
fe5e029080 Some grammar changes 2017-09-20 00:49:31 +03:00
Victor Grekov
ecdaf892ee Partially translated ru_RU.json 2017-09-20 00:44:00 +03:00
Diego Najar
648e78c0f7 Cleaning code 2017-09-15 21:37:44 +02:00
Diego Najar
d64c44520d Cleaning code 2017-09-15 21:26:06 +02:00
Diego Najar
1389b74493 Improve the router, added /blog/, minor changes on languages 2017-09-15 20:02:53 +02:00
Diego Najar
39b62882ad Languages dictionaries updated 2017-09-10 23:31:14 +02:00
Diego Najar
9798bbcd9b Improves on Manage pages and minor fixes 2017-09-10 23:09:44 +02:00
Diego Najar
caa96d4fa4 Updated language dictionaries and minor changes on CSS 2017-09-10 14:56:23 +02:00
Diego Najar
5b8d1233dc Updated language dictionaries and minor changes on CSS 2017-09-10 14:50:50 +02:00
Diego Najar
e4227394a8 Updated language dictionary, improves on Admin panel, Title on each section 2017-09-09 00:33:14 +02:00
Diego Najar
f38f426edf Minor changes on dashboard, update english language 2017-09-08 00:43:53 +02:00
Diego Najar
814ccb4fe0 Strip html tags for generate Friendly url 2017-09-08 00:15:52 +02:00
Diego Najar
3c3673fcab Language fixes 2017-09-06 20:11:28 +02:00
Diego Najar
975e514389 Autodetection language on Installer 2017-09-05 23:46:45 +02:00
Diego Najar
b1c752ec9f Changes on About, installer 2017-09-04 23:09:45 +02:00
Diego Najar
b95759995b Removed error page 2017-09-04 22:00:13 +02:00
Diego Najar
8e9578dcc4 Predefined pages, such as homepage and page not found 2017-09-04 19:09:37 +02:00
Diego Najar
6b15fcb427 Spanish and German lang 2017-09-04 00:12:36 +02:00
Diego Najar
6e003f051e Modifications on Language system, improve locales 2017-09-03 23:29:09 +02:00
Diego Najar
a1fccbac14 Fixed API and changes on themes 2017-08-30 20:02:31 +02:00
Diego Najar
24724a3c90 Docs theme updated 2017-08-26 12:19:33 +02:00
Diego Najar
ccfdfd0e15 Fixed highlight on sidebar 2017-08-22 20:02:38 +02:00
Diego Najar
92fe6db09e Fixed regex for Cli mode 2017-08-21 19:45:57 +02:00
Diego Najar
ad9c6ce6ef Bludit v2.0 beta 1 2017-08-12 22:38:15 +02:00
Diego Najar
d97b3f4bb9 Cleaning files 2017-08-12 21:43:33 +02:00
Diego Najar
fd26046f5e Cleaning files 2017-08-12 21:05:08 +02:00
Diego Najar
b6d4ddaebd Fixing labels 2017-08-12 20:54:35 +02:00
Diego Najar
647d623f1c External Cover Image 2017-08-11 21:26:28 +02:00
Diego Najar
7ae2d9749c External Cover Image 2017-08-11 21:22:26 +02:00
Diego Najar
252fe7df13 pagebreak 2017-08-10 19:55:50 +02:00
Diego Najar
647b815362 Merge pull request #457 from acrox999/bluditv2
Added pagebreak button to SimpleMDE
2017-08-10 19:32:43 +02:00
Hakim Zulkufli
94f161767f Added pagebreak button to SimpleMDE
A simple addition to the plugin's toolbar. I feel that the pagebreak function needs to be more noticeable by the users.
2017-08-10 23:25:43 +08:00
Diego Najar
3ae41bd710 minor fixes 2017-08-08 21:19:26 +02:00
Diego Najar
20da75fcf3 minor fixes 2017-08-08 00:55:14 +02:00
Diego Najar
a3c93ab255 RSS and Sitemap fixed links 2017-08-07 21:10:49 +02:00
Diego Najar
76aa418232 RSS and Sitemap fixed links 2017-08-07 21:10:38 +02:00
Diego Najar
6ee430dca7 Delete unused files, default logo 2017-08-07 21:03:04 +02:00
Diego Najar
d8f175907a Minor changes 2017-08-07 20:30:14 +02:00
Diego Najar
b4bf1d3023 Merge pull request #456 from acrox999/bluditv2
More Lingonberry updates.
2017-08-07 19:14:04 +02:00
Hakim Zulkufli
1cc3d59d3b Credits changes. 2017-08-07 16:46:17 +08:00
Hakim Zulkufli
6b08a04a5c More Lingonberry updates. Should be fully usable now.
Plugins not tested.
Sitebar plugins will never work as before. (Not included in the theme.)
2017-08-07 16:42:56 +08:00
Diego Najar
a8d701becb Lingoberry head html 2017-08-06 22:19:21 +02:00
Diego Najar
06cc081a59 Merge pull request #455 from acrox999/bluditv2
Paginator and Lingonberry.
2017-08-06 22:09:40 +02:00
Diego Najar
75527cd2ec Minor changes on get slug from content 2017-08-06 22:09:24 +02:00
Hakim Zulkufli
1832eca791 Lingonberry updated for Bludit V2.
Still very messy. I wanted to figure things out especially with the new pages system.
2017-08-07 03:50:01 +08:00
Hakim Zulkufli
f675259fe9 Paginator fix. 2017-08-07 03:47:17 +08:00
Diego Najar
7c55ac704c Minor changes on get slug from content 2017-08-06 17:27:30 +02:00
Diego Najar
c3cfa54149 Merge pull request #454 from acrox999/bluditv2
Generate title and description (if empty) from the content.
2017-08-06 17:10:08 +02:00
Hakim Zulkufli
e66834b5a6 A new function is created to achieve this, Text::truncate
which is based on Text::cut from the text.class.php helper.

Limit is set to 60 characters.

Example A:

Content has over 60 characters.
Title = First 60 characters + remaining characters of the last word + '...'
Example B:

Content has less than or equal to 60 characters
Title = All.
Example C:

Content only has one word but is over 60 characters.
Title = First 60 characters + '...'
Why B and C differ from each other?
Because we do not want the whole that one weird word
with over 60 characters to make its way to the title.
It's probably unrealistic, the code can be much cleaner
with B and C combined.

Feel free to discuss.
2017-08-06 22:17:34 +08:00
Diego Najar
dd06fb5a8a Tinymce n 2017-08-06 00:52:00 +02:00
Diego Najar
4b2ea853b8 Update description on plugins and lenguages files 2017-08-05 13:50:06 +02:00
Diego Najar
8362972b4f tinymce cloud, version plugin 2017-08-03 23:28:32 +02:00
Diego Najar
05c67fc473 Regex Rel to Abs img, improves on manage content 2017-08-02 01:11:57 +02:00
Diego Najar
3111c11ca3 plugins position 2017-07-30 23:15:33 +02:00
Diego Najar
e1866d05d5 bug fixes, improves on paginator, admin url filter 2017-07-30 14:25:16 +02:00
Diego Najar
efe9b742c7 bug fixes 2017-07-29 21:03:18 +02:00
Diego Najar
139dfee1ec bug fixes on webhooks 2017-07-29 01:33:30 +02:00
Diego Najar
21fafa9082 bug fixes on webhooks 2017-07-29 01:20:47 +02:00
Diego Najar
fdca541194 logos 2017-07-29 00:41:50 +02:00
Diego Najar
b785c761cd logos 2017-07-29 00:37:23 +02:00
Diego Najar
258e7304ab bug fixes 2017-07-29 00:08:19 +02:00
Diego Najar
2f31752fa8 remove title if empty 2017-07-28 20:52:04 +02:00
Diego Najar
32e453dd06 http code and message for http response 2017-07-28 19:37:06 +02:00
Diego Najar
7f14b15489 Fixed #447 2017-07-26 21:00:20 +02:00
Diego Najar
b7c2a9016d Fixed #450 2017-07-26 20:56:22 +02:00
Diego Najar
bd1cef2741 New micro theme, fixed response code for 404 2017-07-26 01:17:13 +02:00
Diego Najar
2cbf6c5750 Updating themes 2017-07-23 23:31:39 +02:00
Diego Najar
c4aba5a3f3 Themes Docs update Rainbow Highlight 2017-07-23 17:19:46 +02:00
Diego Najar
ae2cf1ba4e Themes Docs update Rainbow Highlight 2017-07-23 17:09:02 +02:00
Diego Najar
560f571bc3 Themes Docs for documentation pages and fixed parents 2017-07-23 17:02:06 +02:00
Diego Najar
cfcdbceed7 css 2017-07-23 01:06:10 +02:00
Diego Najar
1020966179 Parents by key 2017-07-23 00:38:05 +02:00
Diego Najar
219bee0b5f Parents by key 2017-07-23 00:25:20 +02:00
Diego Najar
df30ff1812 Kernel panic theme updated 2017-07-22 20:06:19 +02:00
Diego
fde3db2aba Font Awesome updated 2017-07-22 14:21:13 +02:00
Diego
b7bb0449b9 API improves 2017-07-19 22:50:08 +02:00
Diego
48a4077ebb Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-07-19 21:58:44 +02:00
Diego
24b6c23e62 removing posts 2017-07-17 20:03:28 +02:00
Diego Najar
5168d05e4b Merge branch 'bluditv2' of github.com:dignajar/bludit into bluditv2 2017-07-16 20:10:40 +02:00
Diego Najar
bfe3817ae2 Login and Security improves 2017-07-16 20:10:19 +02:00
Diego Najar
3934058b70 Merge pull request #446 from clickwork-git/bluditv2
Update de_CH.json
2017-07-16 01:29:52 +02:00
Diego Najar
76b0ab59a4 Login and Security improves 2017-07-16 01:23:34 +02:00
Diego Najar
7f8e012486 Login and Security improves 2017-07-16 00:42:37 +02:00
Diego Najar
0be75f22c4 Fixed installer, kernel panic theme, fixed content pages 2017-07-15 21:28:54 +02:00
Diego Najar
cb0ddf9069 Fixed installer, kernel panic theme, fixed content pages 2017-07-15 15:47:37 +02:00
Diego Najar
0676b0b768 fixed ajax calls 2017-07-13 22:39:04 +02:00
Diego Najar
7d196f8e16 minor changes 2017-07-13 20:06:39 +02:00
Diego Najar
0884a98649 jquery and font awasome for developers 2017-07-13 00:44:39 +02:00
Diego Najar
c3271298eb homepage, twitter card, improves 2017-07-11 23:53:53 +02:00
Diego Najar
325d6f79d5 page parents 2017-07-10 23:42:40 +02:00
Diego Najar
6e7613b181 page parents 2017-07-10 23:40:46 +02:00
Edi
3878e1ac25 Update de_CH.json 2017-07-10 23:06:02 +02:00
Edi
95b17be31c Update de_CH.json 2017-07-10 22:58:04 +02:00
Edi
5af87f14ad Merge pull request #2 from dignajar/bluditv2
Bluditv2
2017-07-10 22:52:39 +02:00
Diego Najar
e858f15f47 theme for docs 2017-07-09 22:59:54 +02:00
Diego Najar
549af03c1d new theme kernel panic 2017-07-09 22:04:00 +02:00
Diego Najar
b5a1cf7eca new logo 2017-07-08 16:59:14 +02:00
Diego Najar
45899d4853 new logo 2017-07-08 15:53:47 +02:00
Diego Najar
34a6535b12 new logo 2017-07-07 23:38:01 +02:00
Diego Najar
1c0038bc55 Climode and user db improved 2017-07-06 23:27:22 +02:00
Diego Najar
6fba1fd005 Auth token for users 2017-07-05 23:42:28 +02:00
Diego Najar
967cbb5179 Auth token for users 2017-07-05 23:30:30 +02:00
Diego Najar
168483f771 Pages parents fixed 2017-07-05 22:55:03 +02:00
Diego Najar
556e5a2f73 Climode rescan 2017-07-05 19:59:51 +02:00
Diego Najar
2aa992034b Plugins improves 2017-07-02 22:46:05 +02:00
Diego Najar
3504f2e6e7 Filesystem helper improved 2017-07-02 18:56:43 +02:00
Diego Najar
3066845489 Filesystem helper improved 2017-07-02 18:56:02 +02:00
Diego Najar
a9c4323353 Filesystem helper improved 2017-07-02 18:55:27 +02:00
Diego Najar
a4e143151d Plugin version and updates 2017-06-29 22:13:25 +02:00
Diego Najar
b1b0d6013d Plugin version 2017-06-28 22:27:17 +02:00
Diego Najar
5f3ec04f46 User updated, tcp helper, functions updated 2017-06-28 00:31:40 +02:00
Diego Najar
c28688dd6e bug fixes 2017-06-26 22:50:56 +02:00
Diego Najar
9d865eb6ce bug fixes 2017-06-25 22:54:59 +02:00
Diego Najar
304a57beca bug fixes 2017-06-23 00:41:00 +02:00
Diego Najar
c2cf10c39b Fixed, sticky and system pages 2017-06-22 23:50:12 +02:00
Diego Najar
1f5dd3ac99 Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-22 00:21:08 +02:00
Diego Najar
19d6ab347b Fixed pages plugin 2017-06-20 23:56:22 +02:00
Diego Najar
dce4130ae6 Cancel button 2017-06-19 23:43:54 +02:00
Diego Najar
c54e64a94d Improves on plugins, post method, improves on database for plugins, css styling 2017-06-19 23:14:38 +02:00
Diego Najar
ca9d1d81b9 Improves on plugins, post method, improves on database for plugins, css styling 2017-06-18 22:44:07 +02:00
Diego Najar
be02a51fcd Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-09 20:30:13 +02:00
Diego Najar
67b8a55dd6 Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-05 22:36:09 +02:00
Diego Najar
5559ac32fb Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-05 18:52:13 +02:00
Diego Najar
c0b71e96a7 Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-04 22:08:20 +02:00
Diego Najar
6ca24ac456 Bug fixes, developer area, google plugin updated, rss and sitemap updated 2017-06-04 21:08:31 +02:00
Diego Najar
dc25f269e2 Bug fixes, filter by category and tags 2017-06-01 00:22:20 +02:00
Diego Najar
818fdb453a Bug fixes, filter by category and tags 2017-05-31 20:17:21 +02:00
Diego Najar
4a7daf45a2 Absolute url, and more constanst for themes and plugins 2017-05-30 21:54:09 +02:00
Diego Najar
85f863f586 Absolute url on themes 2017-05-30 20:28:55 +02:00
Diego Najar
a90ff3e635 Division by zero fixed and installer updated 2017-05-30 19:18:18 +02:00
Diego Najar
0d783359fa New plugins and plugins updated for v2.0 2017-05-29 23:56:07 +02:00
Diego Najar
7d51652efc New plugins and plugins updated for v2.0 2017-05-27 19:46:46 +02:00
Diego Najar
3df2370b12 Editorial theme 2017-05-24 23:15:23 +02:00
Diego Najar
1f65933c04 new theme and paginator improves 2017-05-24 00:48:29 +02:00
Diego Najar
da6e352ca5 Improves on code, working on themes; helpers.. 2017-05-21 22:01:44 +02:00
Diego Najar
dfa786e68d Remove timemachine 2017-05-19 21:12:20 +02:00
Diego Najar
d837dc2589 Remove timemachine 2017-05-19 21:08:39 +02:00
Diego Najar
586edde1f3 Remove timemachine 2017-05-19 00:45:55 +02:00
Diego Najar
f383a83c02 Categories++ 2017-05-19 00:45:14 +02:00
Diego
457c981208 removing posts 2017-05-17 18:48:51 +02:00
Diego Najar
63fe327fe4 Categories++ 2017-05-17 00:04:53 +02:00
Diego Najar
95e6500993 Remove posts 2017-05-16 00:46:20 +02:00
Diego
20224b03f4 removing posts 2017-05-12 20:18:44 +02:00
Diego Najar
aa9ff9d229 Removing posts 2017-05-10 23:21:45 +02:00
Diego
5145694752 removing posts 2017-05-10 20:40:28 +02:00
Diego Najar
a6fab1c23b removing posts 2017-05-09 22:57:56 +02:00
Diego Najar
22898c5c6c removing posts 2017-05-09 00:24:15 +02:00
Diego Najar
16daff6abd improves on dbpages 2017-05-08 22:20:53 +02:00
Diego Najar
2a47beeae4 minor changes 2017-05-08 22:01:16 +02:00
Diego Najar
d3d19f5109 improves on dbpages 2017-05-08 21:26:06 +02:00
Diego
eef031c89f Fixed #424 2017-05-05 20:14:27 +02:00
Diego
6fec239937 remove categories 2017-05-04 22:36:49 +02:00
Diego
817f249ba5 Updates 2017-05-04 21:32:18 +02:00
Diego
182d1a6c04 Quill improves, parsedonw updated, rss updated 2017-05-04 20:35:05 +02:00
Diego
ce438a8e02 Improves for categories 2017-05-03 21:10:03 +02:00
Diego Najar
5a3c217cca Merge pull request #422 from acrox999/master
Retain PNG transparency.
2017-05-01 22:08:31 +02:00
Hakim Zulkufli
a720b7ea5c Revert "Quill plugin fix."
This reverts commit 84aa89a861.
2017-04-30 20:10:34 +08:00
Hakim Zulkufli
f793a5acbd Revert "Changed content input from textarea into div."
This reverts commit 743a88c29b.
2017-04-30 20:09:11 +08:00
Hakim Zulkufli
743a88c29b Changed content input from textarea into div.
This is to ensure that the area will be comaptible
with any text editor plugins.

I have tested with SimpleMDE and Quill. Both worked
completely fine.

Bonus: Added description of Quill's English locale.
2017-04-30 19:50:32 +08:00
Hakim Zulkufli
84aa89a861 Quill plugin fix.
Just making it work. It seems to be working fine on my end,
but user-defined toolbar options are not implemented yet.

The plugin now loads all toolbar options by default.
See: var toolbarOptions
2017-04-30 19:08:46 +08:00
Hakim Zulkufli
aebaed2a8c Retain PNG transparency.
Transparency data will be saved when cropping or resizing.
2017-04-30 17:03:33 +08:00
Diego Najar
dc553bae2f Merge pull request #419 from acrox999/master
Get relative time from content & Keep UUID
2017-04-29 20:25:37 +02:00
Hakim Zulkufli
27be5be17b Keep UUID
Fixed the broken implementation.
2017-04-30 01:43:32 +08:00
Hakim Zulkufli
5b6ae22f6a Get relative time from content.
(returns: "1 hour ago" or "1 hour, 1 minute, 1 second ago")
2017-04-30 00:17:54 +08:00
Diego
75645ce8ac Keep UUID when edit 2017-04-27 10:06:07 +02:00
Diego
a28a02164c UUID for posts and pages 2017-04-26 21:26:17 +02:00
Diego
ba43495ca4 Merge branch 'master' of github.com:dignajar/bludit 2017-04-26 20:16:46 +02:00
Diego
6648eec611 Minor changes on UI 2017-04-26 20:16:34 +02:00
Diego Najar
94c0faed3e Merge pull request #413 from Dipchikov/master
Add translation
2017-04-26 19:21:01 +02:00
Diego
3bd87ae297 Bug fixes 2017-04-26 19:19:43 +02:00
Diego
19ef56301e Bug fixes 2017-04-26 18:56:10 +02:00
Hristo Dipchikov
54cb9700af Add translation 2017-04-26 08:41:43 +03:00
Hristo Dipchikov
1fdbbbacf8 add bg 2017-04-26 08:35:28 +03:00
Diego Najar
d1c88a6fdb Merge pull request #410 from metaskop/adminfirstlast
[req171] First / Last page for admin area
2017-04-25 15:39:57 +02:00
Hristo Dipchikov
e2f09478c8 Update bg 2017-04-24 09:13:44 +03:00
Diego
9419a28e24 Category feature 2017-04-17 13:23:43 +02:00
Diego
a6bf83acdd Merge branch 'master' of github.com:dignajar/bludit 2017-04-17 12:49:18 +02:00
Diego
1ac65fe343 Category feature 2017-04-17 12:49:03 +02:00
metaskop
b1771a75db [req171] First / Last page for admin area 2017-04-15 21:53:24 +02:00
Diego Najar
d03d8b6ad8 Merge pull request #408 from metaskop/firstlastpage
[req171] added first / last page for paginator
2017-04-14 10:38:46 +02:00
metaskop
928856fe81 [req171] bug fixes 2017-04-10 17:29:10 +02:00
metaskop
57f32b6c2d [req171] first / last page front end implementation 2017-04-10 17:03:15 +02:00
metaskop
56b8b358ca [req171] first / last page front end implementation 2017-04-10 16:57:30 +02:00
Diego
96d3efaa65 Categories implementation 2017-03-26 20:51:32 +02:00
Diego
1138633e1f Merge branch 'master' of github.com:dignajar/bludit 2017-03-21 08:46:06 +01:00
Diego
2a1a4b5fca Categories database 2017-03-21 08:45:58 +01:00
Diego Najar
4e8c9c9bc6 Merge pull request #400 from Turqueso/master
Added Google Tag Manager to Google Tools Plugin
2017-03-19 14:13:14 +01:00
Turqueso
0679a48823 Added Google Tag Manager to Google Tools Plugin 2017-03-18 11:48:34 -07:00
Diego Najar
5e07474bb1 Merge pull request #397 from ADTC/plugin-theme-view
Icons in the Plugins and Themes pages
2017-03-14 09:13:28 +01:00
Diego Najar
451cfb278d Merge pull request #398 from clickwork-git/master
Fix Google+
2017-03-14 09:12:16 +01:00
ADTC
8fa754e449 Show incompatibility warning as an icon next to the version number
Signed-off-by: ADTC <send2adtc@gmail.com>
2017-03-14 12:35:11 +08:00
Edi
d6cf541c60 Fix Google+
Addition of missing code.
2017-03-14 01:34:07 +01:00
Edi
94e442d843 Merge pull request #4 from dignajar/master
Pull request
2017-03-14 01:32:10 +01:00
ADTC
daf3da5bbc Add a little left margin to gear icon
This is to keep some distance from the plugin name, especially in narrower
screens or when the browser window is resized to be narrower. It ensures
the placement still looks neat :)

Signed-off-by: ADTC <send2adtc@gmail.com>
2017-03-13 22:03:56 +08:00
ADTC
3ab6fc63c3 Fix spelling mistake in link attribute name (target)
The mistake caused the links to open in the same window/tab instead of a
new window or tab.

Signed-off-by: ADTC <send2adtc@gmail.com>
2017-03-13 21:42:28 +08:00
ADTC
b57020b421 Use an icon in the incompatibility warning message
The incompatibility warning message has an exclamation triangle icon to
call attention to it.

Signed-off-by: ADTC <send2adtc@gmail.com>
2017-03-13 21:41:29 +08:00
ADTC
e969cc95b2 Use icons for Activate/Deactive/Settings links
An unchecked checkbox icon is used for Activate (to show that it's
currently inactive). A checked checkbox icon is used for Deactivate (to
show that it's currently active). A gear icon is used for the Settings
link.

The checkbox icons are placed on the left side of the name, as checkboxes
usually appear. The gear icon is placed floated to the right side of the
name, to have a clean look.

The plugin list is more compact, and it's much easier to identify which
plugins are currently active, and which have settings. No need to read
any words!

The previously used words (with language dependency) is still used as the
tooltip (title) that is shown when the mouse hovers over the icons.

In the themes page, the checked checkbox icon denotes the curently active
theme, but doesn't do anything when clicked. This is by design, since only
one theme can be active at a time. For consistency sake, a circle (radio
button style) was not used.

Signed-off-by: ADTC <send2adtc@gmail.com>
2017-03-13 21:39:06 +08:00
Diego Najar
c9fc277b14 Merge pull request #392 from DaKnOb/license
Add LICENSE (MIT)
2017-02-05 21:49:23 +01:00
DaKnOb
b3ac07a51c Add LICENSE (MIT) 2017-01-31 20:07:04 +02:00
Diego Najar
64632f85a3 Merge pull request #388 from vorons/patch-22
Update ru_RU.json
2017-01-26 09:39:08 +01:00
Diego Najar
7d0b17b535 Merge pull request #387 from Allec-Bernz/patch-1
Upd ukrainian translation
2017-01-26 09:27:10 +01:00
Сергей Ворон
c03a3b6971 Update ru_RU.json 2017-01-23 14:44:37 +08:00
Aleksei
57b7da4855 Update uk_UA.json 2017-01-22 14:21:00 +02:00
Aleksei
c5fd419750 Update uk_UA.json 2017-01-22 14:19:53 +02:00
Aleksei
4a1e9503a5 Update uk_UA.json 2017-01-22 14:17:56 +02:00
Aleksei
3a7524f86d Update uk_UA.json 2017-01-22 14:17:11 +02:00
Aleksei
fd70d0a2ae Update uk_UA.json 2017-01-22 14:12:32 +02:00
Aleksei
f181640d9f Update uk_UA.json 2017-01-22 14:11:16 +02:00
Aleksei
8badfc2954 Update uk_UA.json 2017-01-22 14:10:00 +02:00
Diego Najar
e8896864f2 Merge pull request #386 from vorons/patch-21
Update ru_RU.json
2017-01-21 21:12:58 +01:00
Diego Najar
a91acdecbd Merge pull request #385 from oavivo/patch-1
Added missing entries based on EN
2017-01-21 21:12:40 +01:00
Сергей Ворон
09e9b7f9d1 Update ru_RU.json 2017-01-21 19:58:15 +08:00
oavivo
f376b8f8d4 Added missing entries based on EN 2017-01-18 08:49:43 +02:00
Diego Najar
bad35cf82a Merge pull request #381 from Dipchikov/master
Update language
2017-01-13 17:53:16 -03:00
Hristo Dipchikov
086acad961 Update language 2017-01-13 19:38:12 +02:00
Diego Najar
07a0ced697 Legend on textarea 2017-01-10 20:56:13 -03:00
Diego Najar
2e2d5e1000 Improves on GUI and Installer 2017-01-10 13:43:38 -03:00
Diego Najar
1e0e663c23 Merge pull request #379 from kadu247/patch-1
Create pt_PT.json
2016-12-06 10:16:51 -03:00
kadu247
19414e78d7 Create pt_PT.json
Adds Portuguese language
2016-12-06 05:04:44 +00:00
dignajar
4c0a03a21a a 2016-12-01 20:59:58 -03:00
dignajar
0dc4dbdebf Merge branch 'master' of github.com:dignajar/bludit 2016-12-01 20:51:57 -03:00
dignajar
9f77cefd67 a 2016-12-01 20:51:44 -03:00
Diego Najar
72c624db61 a 2016-12-01 15:09:29 -03:00
Diego Najar
89aec3a56d Merge pull request #375 from Dipchikov/master
Pages Bg update
2016-12-01 11:40:07 -03:00
Hristo Dipchikov
0c9f5c5847 Update bg_BG.json 2016-12-01 08:30:56 +02:00
Hristo Dipchikov
72cc97f6a8 Update Bg 2016-12-01 08:28:53 +02:00
dignajar
3c2ddf7804 API Plugin improves 2016-11-30 22:39:16 -03:00
Diego Najar
e1e612bfb0 Merge pull request #367 from alexonweb/master
Modification Pages Plugin
2016-11-30 14:19:59 -03:00
Alex Kita
9a1dca2f67 Update en_US.json 2016-11-23 19:59:09 +03:00
Alex Kita
c1adade902 Update ru_RU.json 2016-11-23 19:59:07 +03:00
Alex Kita
0c4d9597fa Update plugin.php
thank you for your patience
2016-11-23 19:59:02 +03:00
Diego Najar
3ff2ac0d53 a 2016-11-21 16:35:52 -03:00
Diego Najar
059dc463d6 Merge pull request #370 from glossyweb/patch-1
Create vi_VN.json
2016-11-21 15:02:07 -03:00
Diego Najar
e77e1891b7 Merge pull request #372 from anaggh/master
Add Spell Checker Option in SimpleMDE Plugin
2016-11-21 15:01:55 -03:00
anaggh
26c03bc9d7 Add Spell Checker Option to SimpleMDE Plugin
Default is off.
2016-11-19 14:00:53 +05:30
glossyweb
653e93b523 Create vi_VN.json
Add vietnamese language, try translate this week all phrases
2016-11-15 11:56:28 +07:00
alexonweb
f52bb20f87 Update en_US.json 2016-11-09 00:58:12 +03:00
alexonweb
9b541012c0 Update ru_RU.json 2016-11-09 00:57:24 +03:00
alexonweb
1b56a75cdf Update plugin.php 2016-11-09 00:56:41 +03:00
Diego Najar
dbaf520653 Merge pull request #363 from Allec-Bernz/patch-2
add 	2 ukr langfile
2016-10-31 10:54:00 -03:00
Diego Najar
05637617c4 Merge pull request #362 from Allec-Bernz/patch-1
upd ukr lang
2016-10-31 10:53:51 -03:00
Aleksei
156ea44e3c add ukr lang 2016-10-28 14:58:09 +03:00
Aleksei
d9d413a593 add ukr api lang file 2016-10-28 14:55:54 +03:00
Aleksei
388f527103 upd 2016-10-28 11:01:39 +03:00
dignajar
5b5a4e7690 Enable CLi mode on posts 2016-10-24 23:48:26 -03:00
dignajar
af832d4592 API Plugin, bug fixed 2016-10-19 18:03:56 -03:00
dignajar
443e1ab685 Merge branch 'master' of github.com:dignajar/bludit 2016-10-19 16:57:19 -03:00
dignajar
5ff7511863 API Plugin, bug fixed 2016-10-19 16:57:10 -03:00
Diego Najar
f6577ba33e Merge pull request #355 from Joery/master
Language: Improve Dutch translations
2016-10-17 14:51:37 -03:00
Diego Najar
115a7e75b0 Merge pull request #359 from marceloreis/master
Adds support for portuguese (brazilian) to Bludit.
2016-10-17 14:50:55 -03:00
Marcelo Reis
492fab6f16 Adds support for portuguese (brazilian) to Bludit.
I made a translation based on es_AR.json file, adapting some terms to
current brazilian usage.
2016-10-17 13:43:54 -02:00
Joery Zegers
e3739e8eca Merge pull request #1 from Joery/dev
Language: Translate plugins
2016-10-14 16:04:46 +02:00
Joery Zegers
0f236feb7a nl translation: translate plugins 2016-10-14 16:03:28 +02:00
Joery Zegers
363fb44436 nl translation: translate default theme 2016-10-14 16:03:14 +02:00
Joery Zegers
1c97053036 en translation: small typo fix 2016-10-14 16:03:00 +02:00
Joery Zegers
42cebdb40e nl translation: add files for translation 2016-10-14 15:43:20 +02:00
Joery
bb7243da21 nl translation: small fix 2016-10-13 09:13:52 +02:00
dignajar
3079bbbd76 Metadata updated for 1.5.2 2016-10-12 23:03:43 -03:00
dignajar
69184abf02 Bludit v1.5.2 2016-10-11 22:33:52 -03:00
Joery Zegers
d24a18c54d nl translation: improve existing lines 2016-10-11 11:28:25 +02:00
Joery Zegers
0e311141ee nl translation: translate new lines 2016-10-11 11:06:39 +02:00
Joery Zegers
6ca2a78e90 nl translation: spaces -> tabs 2016-10-11 11:00:51 +02:00
Joery Zegers
a6f76918f6 nl translation: add missing lines and equalize file 2016-10-11 10:55:20 +02:00
dignajar
c16dafefad Admin user fields 2016-10-10 22:39:17 -03:00
dignajar
97aaba1d0b Bludit v1.5.1 2016-10-10 18:09:29 -03:00
dignajar
365bb17ddf Minor updates 2016-10-10 18:08:00 -03:00
Diego Najar
5f41782819 Merge pull request #353 from anaggh/master
Update readme from docs
2016-10-07 10:13:44 -03:00
Anaggh Sreenath
8cc499f283 Update readme from docs 2016-10-07 17:16:45 +05:30
dignajar
8b61948965 Merge branch 'master' of github.com:dignajar/bludit 2016-10-06 10:18:46 -03:00
dignajar
114caa9b8c Bug fixed, when there are not pages 2016-10-06 10:18:38 -03:00
Diego Najar
ef58ba8daa Profile picture bug fixed 2016-10-05 16:56:16 -03:00
Diego Najar
6c90d825ce Merge pull request #350 from stelas/master
Patch for "failed to load external entity" errors in DOMDocument::load calls
2016-10-01 21:03:55 -03:00
Steffen Lange
c02a6d033a Added libxml_disable_entity_loader calls
Workaround for libxml_disable_entity_loader bug using PHP+FastCGI
2016-10-01 21:13:24 +02:00
Steffen Lange
4338a291f8 Added libxml_disable_entity_loader calls
Workaround for libxml_disable_entity_loader bug using PHP+FastCGI
2016-10-01 21:12:40 +02:00
dignajar
f4fa692165 Bludit v1.5 2016-09-30 17:51:39 -03:00
Diego Najar
98cb72c844 Merge pull request #348 from Chouchen/patch-1
Corrige une faute
2016-09-29 10:05:26 -03:00
Diego Najar
dc6b4ec0d2 Merge pull request #349 from Dipchikov/master
Update BG
2016-09-29 10:05:12 -03:00
Hristo Dipchikov
db19fecceb Update BG 2016-09-29 11:36:37 +03:00
Shikiryu
09127064fa Corrige une faute
It made my eye bleed.
2016-09-28 14:59:54 +02:00
Diego Najar
a9b2cc50ea Merge pull request #347 from vorons/patch-20
Update ru_RU.json
2016-09-28 00:18:30 -03:00
Сергей Ворон
a3d0552718 Update ru_RU.json 2016-09-28 10:19:56 +08:00
dignajar
17bd1d2f1a Spanish language updated 2016-09-27 21:17:39 -03:00
Diego Najar
e3950dc053 Merge pull request #342 from ffahri/patch-15
Update tr_TR.json
2016-09-27 20:53:27 -03:00
Diego Najar
ece3b500b9 Merge pull request #343 from ffahri/patch-17
Create tr_TR.json
2016-09-27 20:53:15 -03:00
Diego Najar
a08b224fee Merge pull request #344 from ffahri/patch-18
Create tr_TR.json
2016-09-27 20:53:07 -03:00
Diego Najar
7895fd2a04 Merge pull request #345 from clickwork-git/master
Changes and additions to the German language files.
2016-09-27 20:52:53 -03:00
dignajar
26670ae9a8 Minor fixes 2016-09-27 20:49:58 -03:00
Edi
efe69b9830 Addition of new phrases 2016-09-28 01:33:55 +02:00
Edi
981fb4cbd5 Addition of new phrases 2016-09-28 01:33:16 +02:00
Edi
0bdbab2adc Small changes 2016-09-28 01:28:38 +02:00
Edi
bae2b0d26b Small changes 2016-09-28 01:26:51 +02:00
Edi
3843825a94 Merge pull request #3 from dignajar/master
New pull request
2016-09-28 01:23:45 +02:00
Fahri YARDIMCI
e1bced38d6 Create tr_TR.json 2016-09-27 21:49:35 +03:00
Fahri YARDIMCI
2b3e29256d Create tr_TR.json 2016-09-27 21:47:40 +03:00
Fahri YARDIMCI
35f5ec36ed Update tr_TR.json 2016-09-27 21:44:29 +03:00
dignajar
185ffda5ca Tag in title of page 2016-09-26 00:25:40 -03:00
dignajar
7c3fab8cbd Security fixes 2016-09-25 23:57:11 -03:00
dignajar
c24a10a0c8 Security fixes 2016-09-25 23:30:06 -03:00
dignajar
3843d3ab27 Bug fixed 2016-09-25 19:06:23 -03:00
dignajar
4b29ea64d5 Links to new page and new post 2016-09-25 17:38:03 -03:00
dignajar
a4aeb4e6e9 jQuery new version 2016-09-25 15:48:38 -03:00
dignajar
73bd7e2998 1.5 beta1 2016-09-25 15:41:45 -03:00
dignajar
19188cfd98 Updates 2016-09-25 15:39:39 -03:00
dignajar
f4cc449177 Updates 2016-09-25 15:38:15 -03:00
dignajar
88a36bf433 Updates 2016-09-25 15:20:03 -03:00
dignajar
7336b17473 Updates 2016-09-24 13:25:13 -03:00
dignajar
0019e5c9c8 Updates 2016-09-24 13:24:56 -03:00
Diego Najar
d9941a8cde Merge pull request #339 from Dipchikov/master
Update translate
2016-09-22 10:26:15 -03:00
dignajar
6feb6c55ca profile picture return # 2016-09-21 23:12:29 -03:00
dignajar
9ab2806951 Updates 2016-09-21 23:03:30 -03:00
Hristo Dipchikov
ac3aa1ca9b Merge remote-tracking branch 'upstream/master' 2016-09-21 08:34:15 +03:00
dignajar
587470b664 Merge branch 'master' of github.com:dignajar/bludit 2016-09-20 23:18:20 -03:00
dignajar
36595b71aa jQuery updated, and minor fixes 2016-09-20 23:17:45 -03:00
Hristo Dipchikov
01b7e74361 Update 2016-09-19 10:43:06 +03:00
Hristo Dipchikov
689f9288d6 Merge remote-tracking branch 'upstream/master' 2016-09-19 10:03:13 +03:00
Diego Najar
a06cf6bc86 Merge pull request #337 from vorons/patch-19
Update ru_RU.json
2016-09-17 13:02:46 -03:00
Diego Najar
f283610eb2 Merge pull request #336 from clickwork-git/master
Romanian language file
2016-09-17 12:58:17 -03:00
Hristo Dipchikov
6b00944d8b fix 2016-09-17 13:33:42 +03:00
Hristo Dipchikov
ebb941b98e Bulgarian specialChars 2016-09-17 13:31:43 +03:00
Сергей Ворон
f699976374 Update ru_RU.json 2016-09-17 11:06:51 +08:00
Edi
fbddba3dc2 Create ro_RO.json 2016-09-17 00:43:48 +02:00
Edi
3fdfc12772 Merge pull request #2 from dignajar/master
New pull request
2016-09-17 00:42:54 +02:00
Hristo Dipchikov
ffce70ce16 Dashboard responsive update tranlation 2016-09-15 13:02:42 +03:00
Hristo Dipchikov
bc0577a62e Dashboard responsive update tranlation 2016-09-15 11:41:02 +03:00
Hristo Dipchikov
fe996e4d75 Merge remote-tracking branch 'upstream/master' 2016-09-15 08:20:44 +03:00
dignajar
8cd1446fd3 Dashboard responsive 2016-09-14 14:48:56 -03:00
Hristo Dipchikov
739a4183d2 Merge remote-tracking branch 'upstream/master' 2016-09-14 15:28:44 +03:00
Hristo Dipchikov
5febf55917 bg_BG update 2016-09-14 15:24:43 +03:00
Hristo Dipchikov
e0ea75d696 Merge remote-tracking branch 'refs/remotes/dignajar/master' 2016-09-14 15:22:37 +03:00
dignajar
fb924d6eaf Dashboard responsive 2016-09-14 00:14:31 -03:00
dignajar
d53ac5f0cf Dashboard responsive 2016-09-14 00:09:14 -03:00
dignajar
f99eda14af Dashboard responsive 2016-09-13 23:59:12 -03:00
Diego Najar
e14c57fbc2 Merge pull request #333 from clickwork-git/master
Update language files for v1.5
2016-09-12 14:12:07 -03:00
Edi
44918780b2 Update for v1.5 2016-09-08 21:04:12 +02:00
Edi
c6879fb3d7 Update for v1.5 2016-09-08 21:02:32 +02:00
Edi
e2069e3f50 Merge pull request #1 from dignajar/master
New pull request
2016-09-08 20:54:11 +02:00
dignajar
ed8233c0eb New Dashboard 2016-09-07 16:16:14 -03:00
dignajar
0e99046419 New Dashboard 2016-09-07 10:03:53 -03:00
dignajar
832e47e94a New feature, disable user account 2016-09-06 21:14:57 -03:00
dignajar
e040d96d4c Dashboard, Improves on Installer 2016-08-30 22:44:58 -03:00
dignajar
f14d3d69f7 Dashboard, Improves on Installer 2016-08-30 21:57:24 -03:00
Diego Najar
0f00c2fd2e Merge pull request #331 from alexandreteles/patch-1
Responsive images for 'log' default theme
2016-08-24 18:53:18 +02:00
Alexandre Teles
4aceba7f35 Responsive images for 'log' default theme
This is part of the fix for issue #287
2016-08-24 13:18:48 -03:00
Alexandre Teles
bd2c452643 Workaround for responsive images on ie 8
This is part of the fix for issue #287
2016-08-24 13:15:23 -03:00
Diego Najar
2e71042286 Merge pull request #328 from alexandreteles/patch-2
Added SVG image support for uploads
2016-08-22 21:13:32 +02:00
Diego Najar
940563a434 Merge pull request #327 from alexandreteles/patch-1
Decode HTML entities
2016-08-22 21:12:24 +02:00
Alexandre Teles
b6b72984d2 Create SVG thumbnails
Just to make #222 able to merge again
2016-08-22 15:12:46 -03:00
Alexandre Teles
acb32518ca Allow SVG upload
Just to make #222 able to merge again
2016-08-22 15:05:35 -03:00
Alexandre Teles
11ec813155 Decode HTML entities
Just to allow us to use HTML in the about section.
2016-08-22 14:50:34 -03:00
Diego Najar
ac263e4230 Merge pull request #319 from Dipchikov/master
Language Update
2016-08-18 18:58:31 +02:00
Diego Najar
77abf139a6 Merge pull request #321 from kaaleth/master
Polish language pack updated
2016-08-18 18:57:54 +02:00
Diego Najar
ceb0263ec2 Merge pull request #323 from vorons/patch-18
Update ru_RU.json
2016-08-18 18:57:40 +02:00
Сергей Ворон
0246e66868 Update ru_RU.json 2016-08-11 14:05:19 +08:00
Dave
fc9075dcfb Polish language pack updated
... to the latest version.
2016-08-10 19:33:24 +02:00
dignajar
a79de17b24 Dashboard, plugins and themes compatibility 2016-08-09 20:46:56 -03:00
dignajar
6f9064046a Working on Dashboard 2016-08-08 23:43:33 -03:00
Hristo Dipchikov
1e92d7c2fa update bg 2016-08-08 09:17:38 +03:00
Hristo Dipchikov
5562c16a67 Revert "test"
This reverts commit efdd2d1845.
2016-08-08 09:13:31 +03:00
Hristo Dipchikov
1e7f13e315 update bg_BG 2016-08-05 14:37:56 +03:00
Hristo Dipchikov
efdd2d1845 test 2016-08-05 11:19:05 +03:00
Diego Najar
46d88ed4e8 Merge pull request #317 from Dipchikov/master
bg_BG update
2016-08-02 15:54:23 +02:00
Hristo Dipchikov
05838e31a6 bg_BG 2016-08-02 10:41:31 +03:00
dignajar
9d868d93ff Merge branch 'master' of github.com:dignajar/bludit 2016-07-30 16:11:51 -03:00
dignajar
e3eb90ec3e Minor changes 2016-07-30 16:11:40 -03:00
Diego Najar
3d5695f875 Merge pull request #316 from janxb/patch-1
added PHP GD module to required modules.
2016-07-30 21:10:50 +02:00
janxb
dabcaa6a33 added php GD module to required modules.
Fixes issue #300
2016-07-29 10:28:19 +02:00
Diego Najar
a5af1ec827 Merge pull request #314 from janxb/patch-1
Fixed PHP notice after installation and javascript translations
2016-07-29 00:54:38 +02:00
dignajar
fae098ee6f Bug fixes, index.md compatibility 2016-07-25 20:43:41 -03:00
dignajar
44274331d8 Bug fixes, index.md compatibility 2016-07-25 20:40:51 -03:00
Diego Najar
2de4144254 Merge pull request #308 from zhouhao27/master
Support Simplifed Chinese
2016-07-25 17:26:13 +02:00
Diego Najar
74ed90a4dd Merge pull request #313 from janxb/patch-2
Fixed typo in translation. Fixes #294
2016-07-25 17:25:58 +02:00
janxb
38da30dd96 removed duplicated translation 2016-07-25 17:08:36 +02:00
janxb
3e94580a87 fixed typo in translation. fixes #294 2016-07-25 17:05:01 +02:00
janxb
19cc09847d fixed translation in javascript files 2016-07-25 16:57:39 +02:00
janxb
21f76faba3 fixed php notice after installation 2016-07-25 16:56:43 +02:00
Zhou Hao
9b0e2dc4cc Appending new text for translation into Simplified Chinese 2016-07-20 11:36:09 +08:00
Zhou Hao
67ea582e31 Support Simplifed Chinese 2016-07-20 11:22:54 +08:00
Diego Najar
5495e5b4bc Merge pull request #298 from ffahri/patch-14
Update tr_TR.json
2016-07-20 01:55:47 +02:00
Diego Najar
cb463dd0c4 Merge pull request #299 from praveenscience/patch-1
Corrected typo post to page.
2016-07-20 01:55:35 +02:00
Diego Najar
3e07984f10 Merge pull request #301 from Korfa84/patch-2
Create hu_HU.json
2016-07-20 01:55:10 +02:00
Diego Najar
9d8081d9ad Merge pull request #306 from xm74/master
Update russian translations
2016-07-20 01:54:51 +02:00
Max Kostikov
ce41b6f712 Create ru_RU.json 2016-07-18 18:14:32 +02:00
Max Kostikov
1e7d8ca80d Create ru_RU.json 2016-07-18 18:05:20 +02:00
Max Kostikov
dba8806e5c Update ru_RU.json 2016-07-18 18:01:28 +02:00
dignajar
30a85af81a Compatible variable updated 2016-07-17 18:02:37 -03:00
dignajar
a12c0ce8ee Merge branch 'master' of github.com:dignajar/bludit 2016-07-16 20:19:18 -03:00
dignajar
d3cc0f8e48 Cli mode updates, filename for posts and pages 2016-07-16 20:19:10 -03:00
Korfa84
6b9c0b079c Create hu_HU.json 2016-07-01 10:16:21 +02:00
Praveen Kumar
490b27db8f Corrected typo post to page.
Corrected typo post to page.
2016-06-28 12:03:49 +01:00
Fahri YARDIMCI
39422694ba Update tr_TR.json 2016-06-26 14:04:47 +03:00
Diego Najar
3514e98505 Merge pull request #296 from penglezos/patch-1
Greek Translation for Bludit
2016-06-22 22:18:58 -03:00
Panagiotis Englezos
dddc7e1cde Greek Translation for Bludit 2016-06-21 23:30:03 +03:00
dignajar
ceb0e29714 Plugins updates 2016-06-20 23:09:38 -03:00
dignajar
4fd80fde99 Plugins updates 2016-06-20 23:07:25 -03:00
dignajar
3165ee94a1 Bug fixed, Welcome text 2016-06-20 22:13:05 -03:00
dignajar
dadac9348e Bug fixed, compatible version 2016-06-20 22:06:52 -03:00
dignajar
a3a9f418b7 Jquery, Simplemde, UIKit, updates 2016-06-19 23:51:17 -03:00
dignajar
4ebdc344a0 Plugins and themes compatibility 2016-06-19 21:47:28 -03:00
dignajar
6dacbdbd54 Plugins and themes compatibility 2016-06-19 21:45:09 -03:00
dignajar
b5d2d44769 Amount of posts improves 2016-06-17 14:09:17 -03:00
dignajar
847f1a12d1 Merge branch 'master' of github.com:dignajar/bludit 2016-06-17 14:09:12 -03:00
dignajar
ccc9098ba9 Amount of posts improves 2016-06-17 14:08:08 -03:00
Diego Najar
493991d25f Merge pull request #289 from Max-malRichtig/bludit-patch-uploader
fix typo in uploader.php
2016-06-14 20:28:39 +02:00
Max-malRichtig
d2879f2a71 fix typo in uploader.php
init.php sets up different variables than the one used in here. ( 'IMG_' is missing )
2016-06-14 14:26:46 +02:00
Diego Najar
cf3ef56e60 Merge pull request #288 from tuomas-tk/master
Finnish language
2016-06-12 23:45:34 +02:00
Tuomas Karjalainen
01353e2f3a Finnish language
Translated Bludit to Finnish
2016-06-11 21:15:13 +03:00
dignajar
67b3d35e88 v1.3 2016-06-06 22:38:36 -03:00
dignajar
bcd6067555 v1.3 2016-06-06 21:53:27 -03:00
dignajar
b5ad8e45a0 Permissions changes 2016-06-06 21:22:46 -03:00
Diego Najar
eb46014b35 Merge pull request #262 from weizenspreu/master
Fixed translation and updated tags plugin
2016-06-07 02:21:06 +02:00
dignajar
bd184ac380 Minor changes on plugin opengraph 2016-06-06 21:11:19 -03:00
Diego Najar
c87ce7daad Merge pull request #285 from specktator/opengraph-patch
patch OpenGraph plugin
2016-06-07 01:59:21 +02:00
dignajar
7465724c54 Spanish language 2016-06-06 20:41:02 -03:00
dignajar
a7c18badae CSS fixes 2016-06-05 23:38:34 -03:00
dignajar
159199a470 Bug fix, plugin language dictionary 2016-06-05 23:24:15 -03:00
specktator
90b76bf8c3 patch OpenGraph plugin
`$og['image']` **is** `false` this segment. So, no reason to use it as suffix to the image url.
2016-06-05 06:41:22 +03:00
dignajar
2aed08be5f API plugin and changes on plugins system 2016-06-04 22:31:07 -03:00
dignajar
81eaf4cc06 Minor fixes on LOG theme 2016-06-02 22:37:52 -03:00
dignajar
15550f764d Merge branch 'master' of github.com:dignajar/bludit 2016-06-02 22:37:48 -03:00
dignajar
417821fdf0 Minor fixes on LOG theme 2016-06-02 22:15:31 -03:00
Diego Najar
506306c87e Merge pull request #280 from clickwork-git/master
New push request
2016-06-03 03:01:10 +02:00
Diego Najar
63336f8e4c Merge pull request #281 from Dipchikov/master
BG Language update
2016-06-03 03:00:57 +02:00
Diego Najar
13a4683b48 Merge pull request #283 from xm74/master
Update ru_RU.json
2016-06-03 03:00:45 +02:00
dignajar
209be50f32 Extreme friendly urls 2016-06-02 21:57:49 -03:00
dignajar
4a8749af98 Extreme friendly urls 2016-06-02 21:57:13 -03:00
Max Kostikov
0044690081 Update ru_RU.json
new fields added for Bludit 1.3
2016-06-01 22:44:33 +02:00
dignajar
b59d045de2 Lot theme updates 2016-05-31 22:20:27 -03:00
dignajar
d36205017f Logout button 2016-05-31 21:33:22 -03:00
Dipchikov
0ca218ca90 BG update 2016-05-31 10:00:23 +03:00
Edi
98b291f4b1 Small change 2016-05-31 02:14:28 +02:00
Edi
eca0a55246 Small change 2016-05-31 02:12:52 +02:00
Edi
eb2cc48059 Update for v1.3 2016-05-31 02:11:45 +02:00
Edi
5aa46b5d41 Update for v1.3 2016-05-31 02:09:53 +02:00
dignajar
100dce4c49 Comments on code and improves on API plugins 2016-05-30 00:36:13 -03:00
dignajar
13a1838d9c Comments on code and improves on API plugins 2016-05-29 21:50:48 -03:00
dignajar
d255f94933 New plugin, API 2016-05-29 14:50:20 -03:00
dignajar
dbf7a14854 New plugin, API 2016-05-29 14:21:11 -03:00
dignajar
9827b18b43 Dashboard more responsive 2016-05-28 21:54:18 -03:00
dignajar
fc79801a81 Dashboard more responsive 2016-05-28 16:47:54 -03:00
Diego Najar
2aa5fb253a Merge pull request #272 from xm74/master
Updates for few plugins
2016-05-28 16:28:52 +02:00
dignajar
a77e22d93b Improves on pages 2016-05-28 00:18:13 -03:00
dignajar
3c2ecccb74 Fixes, upload images 2016-05-26 18:48:41 -03:00
dignajar
82a9be8082 CSS updates 2016-05-23 23:32:06 -03:00
dignajar
708826cf86 New theme Log as default 2016-05-20 00:44:15 -03:00
dignajar
edb3ca4d13 New default theme based on Future Imperfect 2016-05-17 23:36:23 -03:00
dignajar
7e19e816e2 Improves on admin area 2016-05-09 21:27:05 -03:00
dignajar
eba94ce0d0 Simplemde updated, Uikit updated, Changes on CSS 2016-05-07 22:10:07 -03:00
dignajar
12f8de5da8 updates 2016-05-07 00:22:48 -03:00
dignajar
5f37660496 updates 2016-05-07 00:10:10 -03:00
Max Kostikov
d6cbe76087 Create ru_RU.json 2016-05-06 13:54:28 +02:00
Max Kostikov
6d59e8ef0c Create ru_RU.json 2016-05-06 13:52:21 +02:00
Diego Najar
8f8121e360 Merge pull request #273 from abdtif/master
arabic language for bludit
2016-05-06 02:35:09 +02:00
Max Kostikov
262eeb5b06 Update plugin.php
add Google verification code at title page only
2016-05-05 13:57:47 +02:00
Max Kostikov
bd4ca8222e Update plugin.php
leave verification code for main page only
2016-05-05 13:50:47 +02:00
Max Kostikov
32d4f2684a Update metadata.json
new edition
2016-05-05 13:45:28 +02:00
Diego Najar
f0cf4aa714 Merge pull request #268 from xm74/master
Update ru_RU.json
2016-05-05 05:12:55 +02:00
Max Kostikov
3c38a8ee0e Merge pull request #1 from vorons/patch-17
Update ru_RU.json
2016-05-04 08:26:30 +02:00
vorons
0cb81eb5ca Update ru_RU.json 2016-05-04 12:11:34 +08:00
Max Kostikov
8248dca510 Update ru_RU.json
added sorting options
2016-05-03 23:32:23 +02:00
Diego Najar
113dd97e90 Merge pull request #267 from xm74/master
Update settings-general.php
2016-04-29 19:50:15 +02:00
Max Kostikov
ebede14a27 Update settings-general.php
fixed bug in Instagram account link
2016-04-29 19:28:34 +02:00
abdtif
237d19d48d Arabic language rss plugin 2016-04-16 16:42:06 +01:00
abdtif
56c5cf2967 Update ar_MA.json 2016-04-16 11:06:43 +01:00
abdtif
cd25a7fe23 Update ar_MA.json 2016-04-16 10:13:24 +01:00
abdtif
a8664fa552 Update ar_MA.json 2016-04-15 17:53:52 +01:00
abdtif
0f9f733455 Rename ar_AR.json to ar_MA.json 2016-04-15 17:37:30 +01:00
abdtif
2edc12d7ad add " 2016-04-15 17:34:29 +01:00
abdtif
2ce828fb92 arabic languages for bludit 2016-04-15 16:08:57 +01:00
dignajar
68d5ff5a52 Sitemap updates 2016-04-03 19:20:24 -03:00
Diego Najar
46ea06a4c3 Merge pull request #258 from abdulhalim/patch-1
Create fa_IR.JSON
2016-04-03 12:39:11 -03:00
Kenneth Newwood
d083ea1507 Fixed translation and updated tags plugin
Instead of the default string $Language->get($string) previously
returned an empty string, breaking the default translation behaviour of
all default plugins except the tags plugin (which was fixed in the
course of the change).
2016-03-27 21:01:23 +02:00
abdulhalim
daad9694b5 Create fa_IR.JSON
Persian language for Bludit
2016-03-13 12:17:40 +03:30
Diego Najar
932da820b4 Merge pull request #254 from clickwork-git/master
New push request
2016-03-03 15:01:20 -03:00
Edi
52787e9157 Update ja_JP.json 2016-03-03 18:48:21 +01:00
Edi
2f27e64f3c Update es_VE.json 2016-03-03 18:47:54 +01:00
Edi
76646bcb05 Update es_ES.json 2016-03-03 18:47:30 +01:00
Edi
1d6fed11c8 Update es_AR.json 2016-03-03 18:47:04 +01:00
Edi
98b0eb9019 Create de_DE.json 2016-03-03 18:46:42 +01:00
Edi
7c3dfd6435 Create de_CH.json 2016-03-03 18:46:19 +01:00
Edi
dd6007f831 Update en_US.json
"Show home link" deleted.
2016-03-03 18:45:56 +01:00
Diego Najar
72f7f059c5 Merge pull request #252 from vorons/patch-16
Update ru_RU.json
2016-02-29 13:27:38 -03:00
vorons
1aed812170 Update ru_RU.json 2016-02-29 23:40:55 +08:00
Diego Najar
33c9d720de Merge pull request #251 from ffahri/patch-13
Update tr_TR.json
2016-02-29 11:58:53 -03:00
Diego Najar
d2d7c50679 Merge pull request #250 from Fred89/master
French update to bludit 1.1.2
2016-02-29 11:58:41 -03:00
Fahri YARDIMCI
40f0c9cb3f Update tr_TR.json 2016-02-29 12:00:37 +02:00
Frédéric K
29006c76eb French update to bludit 1.1.2 2016-02-29 10:18:12 +01:00
Frédéric K
61079f1b57 Merge remote-tracking branch 'dignajar/master' 2016-02-27 22:43:35 +01:00
dignajar
31126cae54 Bludit v1.1.2 2016-02-26 14:07:33 -03:00
dignajar
ee91c104fc Minor bug fixes 2016-02-26 12:32:18 -03:00
dignajar
e7208d8e9b Minor bug fixes 2016-02-26 11:42:28 -03:00
dignajar
3728ea8a98 Tags sorted low to high alphanumeric 2016-02-24 22:50:27 -03:00
dignajar
df65c9f295 Future imperfect favicon 2016-02-24 02:27:09 -03:00
dignajar
f72f224f0e jQuery 2.2.1 and Bludit menu v8 bug fixes 2016-02-24 02:22:24 -03:00
dignajar
8a640af1ce Pure theme readmore link 2016-02-22 00:13:36 -03:00
dignajar
f7c477991e Readme updated 2016-02-21 23:56:52 -03:00
Diego Najar
3abe5f9c16 Merge pull request #245 from danielelapira/patch-6
Update it_IT.json
2016-02-21 23:51:07 -03:00
Daniele La Pira
6d553931d4 Update it_IT.json
Update and fix
2016-02-20 23:09:10 +01:00
dignajar
67f04928be Installer symbolic link 2016-02-20 13:16:31 -03:00
Diego Najar
6c95724441 Merge pull request #244 from Allec-Bernz/tangerine
Upd Ukrainian localization
2016-02-20 13:08:47 -03:00
Aleksei
9c50c606a3 Upd Ukrainian localization 2016-02-20 17:56:56 +02:00
Diego Najar
324c03318d Merge pull request #243 from Dipchikov/master
bg_BG latest posts plugin
2016-02-19 10:46:56 -03:00
Dipchikov
2370e89cc7 bg_BG 2016-02-19 09:42:49 +02:00
dignajar
af34778541 Updates 2016-02-17 21:15:19 -03:00
dignajar
f079f6710c Themes updates 2016-02-17 00:13:44 -03:00
Diego Najar
e7109139ee Merge pull request #238 from clickwork-git/master
New push request
2016-02-15 20:31:29 -03:00
Edi
67d8d4070e Update tr_TR.json 2016-02-15 23:30:22 +01:00
Edi
e7917d7e23 Update tr_TR.json 2016-02-15 23:29:39 +01:00
Edi
e081ba08f7 Update tr_TR.json 2016-02-15 23:28:52 +01:00
Edi
444db15c39 Update tr_TR.json 2016-02-15 23:28:02 +01:00
Edi
defb3a00cb Update tr_TR.json 2016-02-15 23:27:07 +01:00
Edi
93f7c8c72e Update tr_TR.json 2016-02-15 23:23:44 +01:00
Edi
ef1ad19d43 JSON fix 2016-02-15 23:23:11 +01:00
Edi
2289bed540 Merge pull request #1 from dignajar/master
Merge pull request #237 from clickwork-git/master
2016-02-15 23:21:38 +01:00
Diego Najar
508348675f Merge pull request #237 from clickwork-git/master
New push request
2016-02-15 19:06:59 -03:00
Edi
f997c1d074 Update de_DE.json 2016-02-15 23:03:26 +01:00
Edi
8e09d61f5a Update de_DE.json 2016-02-15 23:01:34 +01:00
Edi
15137fe149 Update de_CH.json 2016-02-15 22:58:52 +01:00
Diego Najar
835ef67eda Merge pull request #234 from Dipchikov/master
bg-BG
2016-02-15 11:47:36 -03:00
Dipchikov
71dd3032d9 bg-BG 2016-02-15 08:44:10 +02:00
dignajar
c7ecd91021 Themes updates 2016-02-14 22:26:25 -03:00
dignajar
f1f560452d Themes updates 2016-02-14 18:53:37 -03:00
Diego Najar
0a988ba83b Merge pull request #233 from kaaleth/master
Polish language pack
2016-02-14 14:36:54 -03:00
dave
52745843cf Aktualizacja języka polskiego dla Bludit
- nowa wersja,
- drobne poprawki,
- aktualizacja do najnowszej wersji Bludit 1.1 beta 1
2016-02-14 18:28:36 +01:00
dignajar
059ec64e04 Languages updates 2016-02-14 14:07:52 -03:00
dignajar
717ffa015e Languages updates 2016-02-14 13:48:12 -03:00
dignajar
29756accfe Languages updates 2016-02-14 13:45:33 -03:00
dignajar
44bd776d9c Merge branch 'master' of github.com:dignajar/bludit 2016-02-14 13:42:51 -03:00
dignajar
aa2196f91f Themes updates 2016-02-14 13:34:25 -03:00
dignajar
225eaaf20a Updates 2016-02-13 21:16:35 -03:00
dignajar
9d12e07adf Updates 2016-02-13 21:15:19 -03:00
Diego Najar
4271d1e3f3 Merge pull request #232 from vorons/patch-15
Update ru_RU.json
2016-02-13 20:01:42 -03:00
vorons
7f6f8be62e Update ru_RU.json 2016-02-14 00:01:55 +08:00
Diego Najar
ea668451f5 Merge pull request #231 from Fred89/master
French lang pack update + Little Bludit lang forget fix
2016-02-13 12:44:02 -03:00
Frédéric K
5c051ba131 French lang pack update + Little Bludit lang forget fix 2016-02-13 10:58:34 +01:00
dignajar
23a19548fb Updates 2016-02-13 03:06:04 -03:00
dignajar
9e15ecb52b Updates 2016-02-13 03:00:28 -03:00
dignajar
2ee7cab4d7 Merge branch 'master' of github.com:dignajar/bludit 2016-02-13 02:50:58 -03:00
dignajar
3120ee3744 New tag system 2016-02-13 02:50:49 -03:00
Diego Najar
7fe14a8c72 Merge pull request #228 from nogajun/japanese
updated ja_JP.json
2016-02-11 15:21:22 -03:00
Jun NOGATA
18591df3da update ja_JP.json 2016-02-12 00:52:51 +09:00
Diego Najar
d0bae344e0 Merge pull request #227 from Dipchikov/master
add and fix bg_Bg
2016-02-11 11:15:44 -03:00
Dipchikov
91dadde53b add and fix bg_Bg 2016-02-11 09:00:42 +02:00
dignajar
95e9835867 Bludit Installer: timezone, language and locale autodetection 2016-02-09 22:10:12 -03:00
dignajar
34fff17d03 New Menu V8 for Images and improves on cover images 2016-02-09 20:18:00 -03:00
dignajar
bfa4756bf4 New Menu V8 for Images and improves on cover images 2016-02-09 20:02:51 -03:00
dignajar
cfc9d49950 Minor bug fixes 2016-02-06 20:44:43 -03:00
dignajar
791f2dfb00 SSL support 2016-02-06 18:41:27 -03:00
dignajar
f410f12d16 Improves, Disqus plugin 2016-02-06 18:05:58 -03:00
dignajar
7cdb2dd7f4 Improves, Disqus plugin 2016-02-06 17:48:11 -03:00
dignajar
e26b86fddd Bug fixes, plugins databases - Improves, Disqus plugin 2016-02-06 17:35:12 -03:00
Diego Najar
0729239517 Merge pull request #225 from Turqueso/master
last posts plugin tranlations to spanish
2016-02-02 16:48:58 -03:00
Luz Aramburo
83f7086203 Create es_VE.json 2016-02-02 11:06:47 -07:00
Luz Aramburo
03cb9cdff9 Create es_ES.json 2016-02-02 11:06:33 -07:00
Luz Aramburo
21036340ee Create es_AR.json 2016-02-02 11:06:03 -07:00
dignajar
7c20d94189 Updates 2016-02-01 23:56:55 -03:00
dignajar
c8a03c54a9 nl_NL language 2016-01-31 18:40:30 -03:00
dignajar
c15b83a0f3 Simplemde autosave 2016-01-30 20:03:32 -03:00
dignajar
8b65fecfb0 Simplemde autosave 2016-01-30 20:01:04 -03:00
dignajar
80a6b148c6 Sitemap improves 2016-01-30 01:25:08 -03:00
dignajar
999bfabcfc Sitemap improves 2016-01-30 01:24:47 -03:00
dignajar
4eb51ee37e Updater imrpoves 2016-01-29 13:10:53 -03:00
dignajar
221ce7e6f7 Updater imrpoves 2016-01-29 13:07:29 -03:00
dignajar
8da7137d7b Pages date updates 2016-01-28 20:20:59 -03:00
dignajar
0a71ae164a Pages date updates 2016-01-28 20:03:15 -03:00
dignajar
778e91166c Blogme theme improves 2016-01-28 01:05:15 -03:00
Diego Najar
1807308080 Merge pull request #218 from anaggh/master
Fix Security issue
2016-01-26 19:29:51 -03:00
Anaggh Sreenath
bdd594da0c Fix Security issue
Deny access to bl-content directory txt files instead of content
directory txt files.
2016-01-26 19:11:31 +05:30
Diego Najar
a2740a8113 Merge pull request #213 from Dipchikov/master
fix bg-BG
2016-01-25 19:28:03 -03:00
Diego Najar
3e9a75422f Merge pull request #214 from acrox999/master
Update: ms_MY
2016-01-25 19:27:50 -03:00
Diego Najar
71eda295d1 Merge pull request #216 from clickwork-git/master
Trsanlastions (themes)
2016-01-25 19:27:36 -03:00
Edi
b0dc082737 German translation 2016-01-25 17:22:53 +01:00
Edi
10177185a9 Swiss German translation 2016-01-25 17:22:32 +01:00
Edi
c11ddbd308 German translation 2016-01-25 17:19:01 +01:00
Edi
6ae827089d Delete de_DE.json 2016-01-25 17:18:40 +01:00
Edi
1f49431592 Swiss German translation 2016-01-25 17:13:45 +01:00
Edi
6fa6c19b76 Swiss German translation 2016-01-25 17:13:27 +01:00
Edi
30a9c18706 Swiss German translation 2016-01-25 17:08:27 +01:00
Edi
4045709390 Small modification 2016-01-25 17:07:57 +01:00
Edi
dbd60dde22 Merge pull request #14 from dignajar/master
Merge pull request #212 from clickwork-git/master
2016-01-25 16:57:38 +01:00
acrox999
818c250252 Fixed advanced and images tabs not showing when creating post or pages. 2016-01-25 15:15:33 +08:00
Dipchikov
b8f44c9054 fix bg-BG 2016-01-25 08:53:40 +02:00
Diego Najar
ff1a5c497a Merge pull request #212 from clickwork-git/master
New push request
2016-01-24 20:09:27 -03:00
Edi
686c185732 German translation 2016-01-24 23:49:15 +01:00
Edi
c8647ea7f9 Swiss German translation 2016-01-24 23:48:55 +01:00
Edi
6ee8019876 Corrections 2016-01-24 23:47:20 +01:00
Edi
485d48d709 Merge pull request #13 from dignajar/master
New pull request
2016-01-24 23:46:01 +01:00
dignajar
a9405e5d28 Theme language and minor changes on Blogme 2016-01-24 14:45:35 -03:00
Diego Najar
619661f18b Merge pull request #210 from acrox999/master
Few fixes and locale addition
2016-01-24 14:22:28 -03:00
acrox999
c8fab4debe Added Bahasa Melayu (ms_MY) locale. 2016-01-25 00:35:24 +08:00
acrox999
642410284f Fix typo(?) that breaks the functionality. 2016-01-24 23:30:10 +08:00
acrox999
8db1d093ba Try to get firstName before username 2016-01-24 19:29:29 +08:00
dignajar
bea4c3f169 Bug fixed, #206 2016-01-23 20:51:04 -03:00
dignajar
42b73c9324 Blogme responsive 2016-01-23 20:49:48 -03:00
Diego Najar
18b654cbe4 Merge pull request #205 from clickwork-git/master
New push request
2016-01-23 20:47:01 -03:00
Diego Najar
636e478c9e Merge pull request #207 from Allec-Bernz/tangerine
Upd to v1.0
2016-01-23 20:46:38 -03:00
Aleksei
ded5cdf13c Upd to v1.0 2016-01-23 19:25:11 +02:00
Edi
7441b2c33b Deleted line
Line 141 now at the bottom.
2016-01-23 01:32:38 +01:00
Edi
9c575d075f Additions v1.0 2016-01-23 01:30:06 +01:00
Edi
434a7fd8c8 Additions v1.0 2016-01-23 01:29:04 +01:00
Edi
ea874e1a6f Fix
Deleted a character that breaks the file.
2016-01-23 01:01:08 +01:00
Edi
359804abb8 Merge pull request #12 from dignajar/master
New pull request
2016-01-23 00:59:06 +01:00
dignajar
42d671c6c0 Plugin updates 2016-01-22 19:20:22 -03:00
dignajar
45dd310259 Plugins updated 2016-01-22 16:34:23 -03:00
dignajar
925f6e4f92 Plugin tags updated 2016-01-22 16:27:53 -03:00
Diego Najar
2288075874 Merge pull request #204 from nexx/master
[Tags Plugin] Enable sorting & beautify with ucfirst()
2016-01-22 16:22:27 -03:00
Simon Davie
98d07e1942 [Tags Plugin] Enable sorting & beautify with ucfirst()
Enable sorting of the tags shown when using the tags plugin. Options
for sorting are "Alphabetical", "Count" and "Date". Date is the
default as it is the current way of sorting.

Also, use PHP function ucfirst to beautify the tags list.

Translations added for en_US only.
2016-01-22 17:55:13 +00:00
dignajar
d294d9d5ad Merge branch 'master' of github.com:dignajar/bludit 2016-01-22 12:48:48 -03:00
dignajar
4e0dd27323 New theme Blogme 2016-01-22 12:48:26 -03:00
Diego Najar
bec0891187 Merge pull request #200 from Dipchikov/master
add and modify bg-BG
2016-01-22 09:58:44 -03:00
Diego Najar
494531a748 Merge pull request #203 from danielelapira/patch-5
Update it_IT.json
2016-01-22 09:58:18 -03:00
Daniele La Pira
46e8c74d58 Update it_IT.json 2016-01-22 10:21:52 +01:00
Dipchikov
30c20e8bd7 fix image size 2016-01-22 09:42:02 +02:00
Dipchikov
08104ed3c4 Merge remote-tracking branch 'upstream/master' 2016-01-22 09:16:34 +02:00
dignajar
c62d03ec3a New theme Blogme 2016-01-22 01:27:46 -03:00
dignajar
f129d44e15 New theme Blogme 2016-01-22 01:26:00 -03:00
dignajar
947a693a05 Installer minor fix 2016-01-21 19:13:31 -03:00
Diego Najar
1454cad459 Merge pull request #202 from ffahri/patch-12
Update tr_TR.json
2016-01-21 19:03:30 -03:00
Fahri YARDIMCI
532fd9c694 Update tr_TR.json 2016-01-21 22:05:13 +02:00
Dipchikov
8b517600f5 modify 2016-01-21 08:56:46 +02:00
Dipchikov
cb0ec66888 add 2016-01-21 08:51:00 +02:00
dignajar
e07e241527 Cover image on themes 2016-01-20 23:42:15 -03:00
dignajar
741e9c3935 Improves on Paginator 2016-01-20 23:18:02 -03:00
dignajar
983dc20f60 Improves on Paginator 2016-01-20 23:16:32 -03:00
dignajar
38326d8c63 Minor fixes, French language updates 2016-01-20 22:46:13 -03:00
dignajar
e7890f4a71 changes on directories names 2016-01-20 21:29:01 -03:00
dignajar
125f66861c remove directoryslash 2016-01-19 19:43:05 -03:00
dignajar
09e8aa601c Merge branch 'master' of github.com:dignajar/bludit 2016-01-19 00:01:19 -03:00
dignajar
504aab7c9e Pure theme updated 2016-01-19 00:01:08 -03:00
dignajar
4e6f54d72e Bug fixed autodetect language on the installer 2016-01-18 23:34:33 -03:00
Diego Najar
2dccee5ad3 Merge pull request #191 from vorons/patch-14
Update ru_RU.json
2016-01-18 23:30:01 -03:00
vorons
1da0ad3c10 Update ru_RU.json 2016-01-18 09:09:56 +08:00
dignajar
482cf96f35 Readme update 2016-01-17 20:30:54 -03:00
dignajar
a092cdc100 Readme update 2016-01-17 20:29:15 -03:00
dignajar
26cad1cce0 RSS on head tag 2016-01-17 19:05:46 -03:00
dignajar
abd470242f Little changes on Dashboard 2016-01-17 18:11:20 -03:00
dignajar
49cea3f152 Simplemde 1.9 2016-01-16 21:51:40 -03:00
dignajar
942f4b6165 Font Awesome fixes 2016-01-16 21:45:16 -03:00
dignajar
26b1ee0cec Bug fixed on paginator for tags 2016-01-16 21:11:58 -03:00
dignajar
a2a744c808 Merge branch 'master' of github.com:dignajar/bludit 2016-01-16 21:11:05 -03:00
dignajar
030b9e6d15 Improves on tag system 2016-01-16 11:01:29 -03:00
Diego Najar
e627cf0b3f Merge pull request #188 from Dipchikov/master
add small bg_BG changes
2016-01-15 16:24:00 -03:00
Diego Najar
d13a6b4924 Merge pull request #189 from danielelapira/patch-4
Update it_IT.json
2016-01-15 16:23:51 -03:00
Diego Najar
688cced2fa Merge pull request #190 from vorons/patch-13
Update ru_RU.json
2016-01-15 16:23:38 -03:00
vorons
6526f8ace2 Update ru_RU.json 2016-01-15 11:41:48 +08:00
Daniele La Pira
47dacf5fc5 Update it_IT.json
Blog Filter URI added
2016-01-14 08:26:40 +01:00
Dipchikov
47a3761c97 add small change 2016-01-14 08:43:10 +02:00
dignajar
0abe9599cc Metadata for plugins and themes 2016-01-14 01:43:24 -03:00
dignajar
5d0fde2daf Metadata for plugins and themes 2016-01-14 01:42:39 -03:00
dignajar
3ad93cf809 Metadata for plugins and themes 2016-01-14 01:42:18 -03:00
Diego Najar
7b8496d089 Merge pull request #187 from clickwork-git/master
New push request
2016-01-14 01:29:19 -03:00
Edi
f61dccbaf6 Additions and small change 2016-01-14 01:44:51 +01:00
Edi
9dd71578a0 Additions and small change 2016-01-14 01:43:37 +01:00
Edi
c1e7caf9e3 Merge pull request #11 from dignajar/master
New pull request
2016-01-14 01:29:06 +01:00
Diego Najar
4adfb31a54 Merge pull request #182 from ffahri/patch-11
Update TR_tr.json
2016-01-12 23:39:53 -03:00
dignajar
6772b41799 Hashing posts and pages 2016-01-12 00:36:48 -03:00
dignajar
696d49c9bc RSS Plugin, improves on code 2016-01-11 23:18:20 -03:00
dignajar
640b58ecdf RSS Plugin, improves on code 2016-01-11 19:51:00 -03:00
Fahri YARDIMCI
a74378b350 Update TR_tr.json 2016-01-08 22:42:59 +02:00
dignajar
9323fe2f5a Blog Filter URI added 2016-01-08 17:12:17 -03:00
dignajar
38d964ba1b latest post plugin 2016-01-08 13:22:18 -03:00
dignajar
5441a22ccf latest post plugin 2016-01-08 12:46:52 -03:00
dignajar
cc069d988d Error page removed from Sitemap 2016-01-08 00:08:06 -03:00
dignajar
5f3397b18f Opengraph with cover image 2016-01-08 00:04:59 -03:00
dignajar
652bc7353f Merge branch 'master' of github.com:dignajar/bludit 2016-01-07 21:19:45 -03:00
dignajar
1ac8fc5a92 Little fix 2016-01-07 21:19:34 -03:00
Diego Najar
e5a0449aff Merge pull request #176 from Dipchikov/master
add  cover-image
2016-01-07 21:03:21 -03:00
Diego Najar
1a2223fb71 Merge pull request #178 from clickwork-git/master
New push request
2016-01-07 21:03:01 -03:00
dignajar
9a4b233dda New hooks for plugins and Sitemap 2016-01-07 21:00:40 -03:00
dignajar
d1ebc605ae Merge branch 'master' of github.com:dignajar/bludit 2016-01-07 20:43:21 -03:00
dignajar
01dc40f442 New hooks for plugins and Sitemap 2016-01-07 20:43:09 -03:00
Edi
8f9d3c16ed Addition v.0.8 2016-01-05 01:40:30 +01:00
Edi
6b24ca4bf9 Addition v.0.8 2016-01-05 01:39:05 +01:00
Edi
f6a33066bd Merge pull request #10 from dignajar/master
New pull request
2016-01-05 01:34:03 +01:00
Dipchikov
a2a69367b2 add cover-image 2016-01-04 11:26:02 +02:00
Diego Najar
b90fc9283e Merge pull request #167 from ffahri/patch-10
New Bludit Images system v8 and Cover image
2016-01-03 22:10:41 -03:00
Diego Najar
0d038090b8 Merge pull request #166 from vorons/patch-12
Update ru_RU.json
2016-01-03 22:10:30 -03:00
Diego Najar
ad1b85efdf Merge pull request #173 from CryssDOTnet/patch-1
Update de_DE.json
2016-01-03 18:06:52 -03:00
Diego Najar
f6c59a5851 Merge pull request #175 from clickwork-git/master
New push request
2016-01-03 18:06:42 -03:00
dignajar
91d59bbab7 Improves Bludit Images v8 2016-01-03 18:05:39 -03:00
dignajar
08ff8b5930 Improves Bludit Images v8 2016-01-03 18:04:54 -03:00
Edi
165a55418a Update de_CH.json 2016-01-03 20:53:00 +01:00
Edi
12f0560151 Create de_CH.json 2016-01-03 20:43:40 +01:00
Edi
eaba570e64 Small modifications 2016-01-03 20:43:21 +01:00
Edi
4816df639c Create de_CH.json 2016-01-03 20:42:08 +01:00
Edi
375e56cc4e Create de_CH.json 2016-01-03 20:41:21 +01:00
Edi
4a3bc11773 Create de_CH.json 2016-01-03 20:39:53 +01:00
Edi
4c78ab8202 Small modification 2016-01-03 20:39:32 +01:00
Edi
47d53eab68 Create de_CH.json 2016-01-03 20:37:58 +01:00
Edi
47d60814fb Create de_CH.json 2016-01-03 20:37:17 +01:00
Edi
f13f4a3e11 Create de_CH.json 2016-01-03 20:34:51 +01:00
Edi
2344be93fb Create de_CH.json 2016-01-03 20:33:43 +01:00
Edi
70653872cf Create de_CH.json 2016-01-03 20:32:39 +01:00
Edi
aeeb036e7f Create de_CH.json 2016-01-03 20:31:24 +01:00
Edi
d064875a76 Merge pull request #9 from dignajar/master
New pull request
2016-01-03 20:29:42 +01:00
dignajar
631cbcb718 Profile picture png format 2016-01-02 19:51:12 -03:00
Christian
3832824aad Update de_DE.json
2 Typos fixed. (Spass -> Spaß for de_DE)
2016-01-01 19:29:25 +01:00
dignajar
82008f93e7 New class User 2015-12-31 20:31:51 -03:00
dignajar
1ad7b352cb New class User 2015-12-31 15:47:34 -03:00
dignajar
b4f71abd23 New Bludit Images system v8 and Cover image 2015-12-31 00:01:16 -03:00
dignajar
27dfd6cc6b Merge branch 'master' of github.com:dignajar/bludit 2015-12-30 21:36:48 -03:00
dignajar
f64096d176 New Bludit Images system v8 and Cover image 2015-12-30 21:35:28 -03:00
Diego Najar
4de7232bbb Merge pull request #169 from danielelapira/patch-3
New Bludit Images system v8 and Cover image
2015-12-30 09:19:15 -03:00
Diego Najar
6082db451f Merge pull request #168 from Dipchikov/master
bg_BG
2015-12-30 09:18:52 -03:00
Daniele La Pira
2bbf42eabe New Bludit Images system v8 and Cover image
New Bludit Images system v8 and Cover image.
Fix missing comma and translation improvements.
2015-12-30 09:05:41 +01:00
Dipchikov
5a118f4ea2 bg_BG 2015-12-30 09:03:27 +02:00
Fahri YARDIMCI
9d282325c8 New Bludit Images system v8 and Cover image
@update tr_TR
2015-12-29 20:23:44 +02:00
vorons
809c83c323 Update ru_RU.json 2015-12-29 10:58:33 +08:00
dignajar
64863d7038 New Bludit Images system v8 and Cover image 2015-12-28 19:28:42 -03:00
Diego Najar
e0e78920fe Merge pull request #164 from ffahri/patch-9
added 218-222 line
2015-12-28 11:15:41 -03:00
Fahri YARDIMCI
45a07b21c9 added 218-222 line , forgot comma 2015-12-27 13:43:48 +02:00
Fahri YARDIMCI
a60e806a70 added 218-222 line 2015-12-27 13:41:59 +02:00
Diego Najar
d10bd4996a Merge pull request #161 from danielelapira/patch-2
Update to version 0.7
2015-12-22 10:36:02 -03:00
Daniele La Pira
f9986571a2 Update to version 0.7
Added missing voices
2015-12-22 10:06:20 +01:00
Diego Najar
61f0f8664d Merge pull request #160 from danielelapira/patch-1
Update it_IT.json
2015-12-20 14:07:35 -03:00
Daniele La Pira
eeb8f70610 Update it_IT.json
Better translation, fix and updates.
2015-12-20 13:16:16 +01:00
Diego Najar
8625655fc3 Merge pull request #159 from Dipchikov/master
fix bg_BG
2015-12-18 09:06:00 -03:00
Dipchikov
78e57e2b8d fix bg_BG 2015-12-18 08:56:58 +02:00
Diego Najar
04c4f1de6f Merge pull request #158 from clickwork-git/master
New push request
2015-12-14 22:28:40 -03:00
Edi
5dbd340725 Typo 2015-12-15 01:54:56 +01:00
Edi
ebedf1a28f Addition Bludit-Tutorial 2015-12-15 01:53:53 +01:00
Edi
c06665160d Merge pull request #8 from dignajar/master
New pull request
2015-12-15 01:49:44 +01:00
Diego Najar
4dfe1abdac Merge pull request #155 from ethan42411/master
Update zh_TW.json
2015-12-12 11:53:20 -03:00
Diego Najar
b9ccd17d8d Merge pull request #156 from Dipchikov/master
fix bg_BG
2015-12-12 11:52:52 -03:00
dignajar
2f9bd0b63b Added seconds to database time, Social fields for user profile 2015-12-11 20:11:53 -03:00
Dipchikov
07bfd97af0 fix 2015-12-10 13:41:43 +02:00
Ethan Chen
67e4c1c909 Update zh_TW
Update zh_TW
2015-12-10 10:59:49 +08:00
Ethan Chen
86493d3a26 Merge pull request #9 from dignajar/master
Merge update from dignajar
2015-12-10 10:58:30 +08:00
dignajar
e5d3e8e4c6 TinyMCE updates 2015-12-09 23:23:21 -03:00
dignajar
ea1f91a02b updated 2015-12-09 21:30:44 -03:00
dignajar
b59ec701ac TinyMCE updated 2015-12-08 22:10:46 -03:00
dignajar
7dba06e473 Bug fixed, base url 2015-12-08 21:56:31 -03:00
Diego Najar
9123603d41 Merge pull request #151 from Dipchikov/master
Update bg_BG
2015-12-04 19:57:49 -03:00
Diego Najar
a70d978adb Merge pull request #152 from ffahri/master
Translated Plugins to Turkish
2015-12-04 19:57:34 -03:00
Dipchikov
98cc8dbfb9 Update bg_BG 2015-12-04 15:48:20 +02:00
Fahri YARDIMCI
44db0b1371 Create tr_TR.json @plugins_tinymce_fixed 2015-12-04 11:17:49 +02:00
Fahri YARDIMCI
31faad812d Create tr_TR.json @plugins_tags_fixed 2015-12-04 11:17:11 +02:00
Fahri YARDIMCI
482e7f72b8 Create tr_TR.json @plugins_simplemde_fixed 2015-12-04 11:16:26 +02:00
Fahri YARDIMCI
45640fdee8 Create tr_TR.json @plugins_pages_fixed 2015-12-04 11:15:05 +02:00
Fahri YARDIMCI
e4c08a2c7a Create tr_TR.json @plugins_disqus_fixed 2015-12-04 11:13:59 +02:00
Fahri YARDIMCI
c89df73e18 Create tr_TR.json @plugins_maintance_fixed 2015-12-04 11:12:45 +02:00
Fahri YARDIMCI
db9f43fc1f Create tr_TR.json @plugins_about_fixed 2015-12-04 11:11:21 +02:00
Fahri YARDIMCI
e647d2592c Update tr_TR.json 2015-12-04 11:07:37 +02:00
Dipchikov
295e5cfd36 Update 2015-12-04 10:32:52 +02:00
Diego Najar
13219b1997 Merge pull request #148 from Allec-Bernz/citrus
Upd to v0.7
2015-12-03 23:23:42 -03:00
Diego Najar
64ccd6df9d Merge pull request #150 from 18jaguar18/patch-8
Update to the latest version
2015-12-03 12:40:03 -03:00
18jaguar18
71502c874f Update to the latest version 2015-12-03 09:58:09 +01:00
Aleksey
76bf616b19 Upd to v0.7 2015-12-02 20:15:31 +02:00
Diego Najar
00e22d76f1 Merge pull request #137 from vorons/patch-11
Update ru_RU.json
2015-12-02 12:47:33 -03:00
Fahri YARDIMCI
bdce15093b Create tr_TR.json @plugins_google_f 2015-12-02 17:21:23 +02:00
vorons
3d089517fa Update ru_RU.json 2015-12-02 16:31:05 +08:00
1026 changed files with 70602 additions and 23065 deletions

18
.github/issue_template.md vendored Normal file
View file

@ -0,0 +1,18 @@
Please follow the next steps. The issue will be closed if the following steps are not completed. Thank you. (You can remove this line).
### Describe your problem
Complete here.
### Steps to reproduce the problem
Complete here.
### Bludit version
Complete here.
### PHP version
If you do not know remove this line.
### PHP logs
If you do not know remove this line.
The default settings of the PHP Error Log file varies from OS to OS. The location of the error log file itself can be set manually in the php.ini file. On a Windows server, in IIS, it may be something like `error_log = C:\log_files\php_errors.log` in Linux it may be a value of `/var/log/php_errors.log`.

37
.gitignore vendored
View file

@ -1,7 +1,32 @@
.DS_Store
!themes/pure
themes/*
content/databases
content/pages
content/posts
content/uploads
dbgenerator.php
bl-content/*
!bl-content/.keep
bl-content-migrator
bl-plugins/timemachine
bl-plugins/timemachine-x
bl-plugins/discovery
bl-plugins/updater
bl-plugins/medium-editor
bl-plugins/quill
bl-plugins/yandex-metrica/
bl-plugins/domain-migrator/
bl-plugins/tail-writer/
bl-kernel/bludit.pro.php
bl-kernel/admin/themes/gris
bl-themes/docs
bl-themes/typerite
bl-themes/docsx
bl-themes/editorial
bl-themes/mediumish
bl-themes/clean-blog
bl-themes/grayscale
bl-themes/massively
bl-themes/hyperspace
bl-themes/striped
bl-themes/log
bl-themes/micro
bl-themes/tagg
bl-themes/small
bl-themes/future-imperfect
bl-themes/social-network

View file

@ -5,11 +5,15 @@ AddDefaultCharset UTF-8
# Enable rewrite rules
RewriteEngine on
# Deny direct access to .txt files
RewriteRule ^content/(.*)\.txt$ - [R=404,L]
# Base directory
RewriteBase /
# Deny direct access to the next directories
RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [PT,L]
</IfModule>

7
.prettierrc Normal file
View file

@ -0,0 +1,7 @@
{
"semi": true,
"singleQuote": true,
"useTabs": false,
"tabWidth": 2,
"printWidth": 100
}

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2015-2023 Diego Najar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1,46 +1,52 @@
[Bludit](http://www.bludit.com/) — Flat file CMS
================================================
Create your own Blog in seconds.
# [Bludit](https://www.bludit.com/)
Fast, simple, extensible and Flat file CMS.
Bludit the Simple, Fast, and Flexible CMS.
- [Documentation](http://docs.bludit.com)
- [Help and Support](http://forum.bludit.com)
- [Plugins](https://github.com/dignajar/bludit-plugins)
- [Themes](https://github.com/dignajar/bludit-themes)
- [More plugins and themes](http://forum.bludit.com/viewforum.php?f=14)
With Bludit, you can build your own website or blog in just seconds. Its completely free, open-source, and easy to use. Bludit stores content in JSON format, eliminating the need for database installation or configuration. All you need is a web server with PHP support.
Social
------
As a Flat-File CMS, Bludit offers unparalleled flexibility and speed. Plus, with support for both Markdown and HTML code, creating and managing content has never been easier.
- [Twitter](https://twitter.com/bludit)
- [Facebook](https://www.facebook.com/bluditcms)
- [Google+](https://plus.google.com/+Bluditcms)
- [Freenode IRC](https://webchat.freenode.net) channel #bludit
## Resources
[![Join the chat at https://gitter.im/dignajar/bludit](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/dignajar/bludit?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
- [Plugins](https://plugins.bludit.com)
- [Themes](https://themes.bludit.com)
- [Documentation](https://docs.bludit.com)
- News and announcement on [Twitter](https://twitter.com/bludit), [Facebook](https://www.facebook.com/bluditcms), and [Reddit](https://www.reddit.com/r/bludit/)
- Talk & Chat on [Discord](https://discord.gg/CFaXEdZWds)
- Help and Support on [Forum](https://forum.bludit.org)
- Bugs reports on [Github Issues](https://github.com/bludit/bludit/issues)
Requirements
------------
## Requirements
You only need a web server with PHP support.
- PHP 5.3 or higher.
- Webserver with PHP support.
- PHP v5.6 or higher version.
- PHP [mbstring](http://php.net/manual/en/book.mbstring.php) module for full UTF-8 support.
- Webserver:
* Apache with [mod_rewrite](http://httpd.apache.org/docs/current/mod/mod_rewrite.html) module.
* Lighttpd with [mod_rewrite](http://redmine.lighttpd.net/projects/1/wiki/docs_modrewrite) module.
* Nginx with [ngx_http_rewrite_module](http://nginx.org/en/docs/http/ngx_http_rewrite_module.html) module.
* PHP Built-in web server
- PHP [gd](http://php.net/manual/en/book.image.php) module for image processing.
- PHP [dom](http://php.net/manual/en/book.dom.php) module for DOM manipulation.
- PHP [json](http://php.net/manual/en/book.json.php) module for JSON manipulation.
Installation guide
------------------
## Installation
1. Download the latest version from http://www.bludit.com/bludit_latest.zip
2. Extract the zip file into a directory like `bludit`.
3. Upload the directory `bludit` to your hosting server.
4. Done!
1. Download the latest version from the official page: [Bludit.com](https://www.bludit.com)
2. Extract the zip file into a directory, such as `bludit`.
3. Upload the `bludit` directory to your web server or hosting.
4. Visit your domain (e.g., https://example.com/bludit/).
5. Follow the Bludit Installer to set up your website.
License
-------
Bludit is opensource software licensed under the [MIT license](https://tldrlegal.com/license/mit-license)
## Quick installation for testing
You can use PHP Built-in web server (`php -S localhost:8000`) or [Docker image](https://hub.docker.com/r/bludit/docker/)
## Support Bludit
Bludit is open-source and free to use, but if you find the project useful and would like to support its development, you can contribute on [Patreon](https://www.patreon.com/bePatron?c=921115&rid=2458860). As a token of our appreciation, supporters will receive Bludit PRO.
If you prefer, you can also make a one-time donation to buy us a coffee or beer. Every contribution helps us continue to improve Bludit and provide the best possible experience for our users.
- [PayPal](https://www.paypal.me/bludit/10)
- BTC (Network BTC): bc1qtets5pdj73uyysjpegfh2gar4pfywra4rglcph
- ETH (Network ETH): 0x0d7D58D848aA5f175D75Ce4bC746bAC107f331b7
## License
Bludit is open source software licensed under the [MIT license](https://tldrlegal.com/license/mit-license).

0
bl-content/.keep Normal file
View file

View file

@ -0,0 +1,120 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
class dbJSON {
public $db;
public $dbBackup;
public $file;
public $firstLine;
// $file, the JSON file.
// $firstLine, TRUE if you want to remove the first line, FALSE otherwise
function __construct($file, $firstLine=true)
{
$this->file = $file;
$this->db = array();
$this->dbBackup = array();
$this->firstLine = $firstLine;
if (file_exists($file)) {
// Read JSON file
$lines = file($file);
// Remove the first line, the first line is for security reasons
if ($firstLine) {
unset($lines[0]);
}
// Regenerate the JSON file
$implode = implode($lines);
// Unserialize, JSON to Array
$array = $this->unserialize($implode);
if (empty($array)) {
$this->db = array();
$this->dbBackup = array();
} else {
$this->db = $array;
$this->dbBackup = $array;
}
}
}
public function restoreDB()
{
$this->db = $this->dbBackup;
return true;
}
// Returns the number of rows in the database
public function count()
{
return count($this->db);
}
// Returns the value from the field
public function getField($field)
{
if (isset($this->db[$field])) {
return $this->db[$field];
}
return $this->dbFields[$field];
}
// Save the JSON file
public function save()
{
$data = '';
if ($this->firstLine) {
$data = "<?php defined('BLUDIT') or die('Bludit CMS.'); ?>".PHP_EOL;
}
// Serialize database
$data .= $this->serialize($this->db);
// Backup the new database.
$this->dbBackup = $this->db;
// LOCK_EX flag to prevent anyone else writing to the file at the same time.
if (file_put_contents($this->file, $data, LOCK_EX)) {
return true;
} else {
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to save the database file.', LOG_TYPE_ERROR);
return false;
}
}
// Returns a JSON encoded string on success or FALSE on failure
private function serialize($data)
{
if (DEBUG_MODE) {
return json_encode($data, JSON_PRETTY_PRINT);
}
return json_encode($data);
}
// Returns the value encoded in json in appropriate PHP type
private function unserialize($data)
{
// NULL is returned if the json cannot be decoded
$decode = json_decode($data, true);
if ($decode===NULL) {
Log::set(__METHOD__.LOG_SEP.'Error trying to read the JSON file: '.$this->file, LOG_TYPE_ERROR);
return false;
}
return $decode;
}
public function getDB()
{
return $this->db;
}
// Truncate all the rows
public function truncate()
{
$this->db = array();
return $this->save();
}
}

View file

@ -0,0 +1,191 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
/*
Database structure
{
"videos": {
"name": "Videos",
"template: "",
"description: "",
"list": [ "my-page", "second-page" ]
},
"pets": {
"name": "Pets",
"template: "",
"description: "",
"list": [ "cats-and-dogs" ]
}
}
*/
class dbList extends dbJSON
{
public $db = array();
function __construct($file)
{
parent::__construct($file);
}
public function keys()
{
return array_keys($this->db);
}
// Returns the list of keys filter by pageNumber
// $pageNumber start in 1
public function getList($key, $pageNumber, $numberOfItems)
{
if (!isset($this->db[$key])) {
Log::set(__METHOD__.LOG_SEP.'Error key does not exist '.$key);
return false;
}
// List of keys
$list = $this->db[$key]['list'];
// Returns all the items from the list
if ($numberOfItems==-1) {
return $list;
}
// The first page number is 1, so the real is 0
$realPageNumber = $pageNumber - 1;
$chunks = array_chunk($list, $numberOfItems);
if (isset($chunks[$realPageNumber])) {
return $chunks[$realPageNumber];
}
// Out of index,returns FALSE
return false;
}
public function generateKey($name)
{
global $L;
$key = Text::cleanUrl($name);
if (Text::isEmpty($key)) {
$key = $L->g('empty');
}
while (isset($this->db[$key])) {
$key++;
}
return $key;
}
// Add a new item to the dblist
// $args => 'name', 'template', 'description', list'
public function add($args)
{
$key = $this->generateKey($args['name']);
$this->db[$key]['name'] = Sanitize::removeTags($args['name']);
$this->db[$key]['template'] = isset($args['template'])?Sanitize::removeTags($args['template']):'';
$this->db[$key]['description'] = isset($args['description'])?Sanitize::removeTags($args['description']):'';
$this->db[$key]['list'] = isset($args['list'])?$args['list']:array();
$this->sortAlphanumeric();
$this->save();
return $key;
}
public function remove($key)
{
if (!isset($this->db[$key])) {
Log::set(__METHOD__.LOG_SEP.'The key does not exist, key: '.$key);
return false;
}
unset($this->db[$key]);
return $this->save();
}
// Edit an item to the dblist
// $args => 'name', 'oldkey', 'newKey', 'template', 'description'
public function edit($args)
{
if ( isset($this->db[$args['newKey']]) && ($args['newKey']!==$args['oldKey']) ) {
Log::set(__METHOD__.LOG_SEP.'The new key already exists. Key: '.$args['newKey'], LOG_TYPE_WARN);
return false;
}
$this->db[$args['newKey']]['name'] = Sanitize::removeTags($args['name']);
$this->db[$args['newKey']]['template'] = isset($args['template'])?Sanitize::removeTags($args['template']):'';
$this->db[$args['newKey']]['description'] = isset($args['description'])?Sanitize::removeTags($args['description']):'';
$this->db[$args['newKey']]['list'] = $this->db[$args['oldKey']]['list'];
// Remove the old category
if ($args['oldKey'] !== $args['newKey']) {
unset( $this->db[$args['oldKey']] );
}
$this->sortAlphanumeric();
$this->save();
return $args['newKey'];
}
// Sort the categories by "Natural order"
public function sortAlphanumeric()
{
// Sort key alphanumeric strings, a01, a10, b10, c02
return ksort($this->db);
}
// Returns the name associated to the key, FALSE if the key doesn't exist
public function getName($key)
{
if (isset($this->db[$key])) {
return $this->db[$key]['name'];
}
return false;
}
// Returns an array with key=>name of the list
public function getKeyNameArray()
{
$tmp = array();
foreach($this->db as $key=>$fields) {
$tmp[$key] = $fields['name'];
}
return $tmp;
}
// Returns the number of items in the list
public function countItems($key)
{
if (isset($this->db[$key])) {
return count($this->db[$key]['list']);
}
return 0;
}
public function exists($key)
{
return isset( $this->db[$key] );
}
public function existsName($name)
{
foreach ($this->db as $key=>$fields) {
if ($name==$fields['name']) {
return true;
}
}
return false;
}
// Returns an array with a portion of the database filtered by key
// Returns array( 'key'=>'', 'name'=>'', 'template'=>'', 'description'=>'', list'=>array() )
public function getMap($key)
{
if (isset($this->db[$key])) {
$tmp = $this->db[$key];
$tmp['key'] = $key;
return $tmp;
}
return false;
}
}

View file

@ -0,0 +1,354 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
class Plugin
{
// (string) directory name, just the name
// Ex: sitemap
public $directoryName;
// (string) Absolute database filename and path
// Ex: /www/bludit/bl-content/plugins/sitemap/db.php
public $filenameDb;
// (string) Absolute metadata filename and path
// Ex: /www/bludit/bl-plugins/sitemap/metadata.json
public $filenameMetadata;
// (array) Plugin metadata
// Ex: array('author'=>'',...., 'notes'=>'')
public $metadata;
// (string) Class name
// Ex: pluginSitemap
public $className;
// (array) Database unserialized
public $db;
// (array) Database fields, only for initialize
public $dbFields;
// (boolean) Enable or disable default Save and Cancel button on plugin settings
public $formButtons;
// (array) List of custom hooks
public $customHooks;
function __construct()
{
$this->dbFields = array();
$this->customHooks = array();
$reflector = new ReflectionClass(get_class($this));
// Directory name
$this->directoryName = basename(dirname($reflector->getFileName()));
// Class Name
$this->className = $reflector->getName();
$this->formButtons = true;
// Call the method init() from the children
$this->init();
// Init empty database with default values
$this->db = $this->dbFields;
$this->filenameDb = PATH_PLUGINS_DATABASES . $this->directoryName . DS . 'db.php';
// --- Metadata ---
$this->filenameMetadata = PATH_PLUGINS . $this->directoryName() . DS . 'metadata.json';
$metadataString = file_get_contents($this->filenameMetadata);
$this->metadata = json_decode($metadataString, true);
// If the plugin is installed then get the database
if ($this->installed()) {
$Tmp = new dbJSON($this->filenameDb);
$this->db = $Tmp->db;
$this->prepare();
}
}
public function save()
{
$tmp = new dbJSON($this->filenameDb);
$tmp->db = $this->db;
return $tmp->save();
}
public function includeCSS($filename)
{
return '<link rel="stylesheet" type="text/css" href="' . $this->domainPath() . 'css/' . $filename . '?version=' . BLUDIT_VERSION . '">' . PHP_EOL;
}
public function includeJS($filename)
{
return '<script charset="utf-8" src="' . $this->domainPath() . 'js/' . $filename . '?version=' . BLUDIT_VERSION . '"></script>' . PHP_EOL;
}
// Returns absolute URL and path of the plugin directory
// This function helps to include CSS or Javascript files with absolute URL
public function domainPath()
{
return DOMAIN_PLUGINS . $this->directoryName . '/';
}
// Returns relative path of the plugin directory
// This function helps to include CSS or Javascript files with relative URL
public function htmlPath()
{
return HTML_PATH_PLUGINS . $this->directoryName . '/';
}
// Returns absolute path of the plugin directory
// This function helps to include PHP libraries or some file at server level
public function phpPath()
{
return PATH_PLUGINS . $this->directoryName . DS;
}
public function phpPathDB()
{
return PATH_PLUGINS_DATABASES . $this->directoryName . DS;
}
// Returns the value of the key from the metadata of the plugin, FALSE if the key doesn't exist
public function getMetadata($key)
{
if (isset($this->metadata[$key])) {
return $this->metadata[$key];
}
return false;
}
// Set a key / value on the metadata of the plugin
public function setMetadata($key, $value)
{
$this->metadata[$key] = $value;
return true;
}
// Returns the value of the field from the database
// (string) $field
// (boolean) $html, TRUE returns the value sanitized, FALSE unsanitized
public function getValue($field, $html = true)
{
if (isset($this->db[$field])) {
if ($html) {
return $this->db[$field];
} else {
return Sanitize::htmlDecode($this->db[$field]);
}
}
return $this->dbFields[$field];
}
public function label()
{
return $this->getMetadata('label');
}
public function name()
{
return $this->getMetadata('name');
}
public function description()
{
return $this->getMetadata('description');
}
public function author()
{
return $this->getMetadata('author');
}
public function email()
{
return $this->getMetadata('email');
}
public function website()
{
return $this->getMetadata('website');
}
public function position()
{
return $this->getValue('position');
}
public function version()
{
return $this->getMetadata('version');
}
public function releaseDate()
{
return $this->getMetadata('releaseDate');
}
public function className()
{
return $this->className;
}
public function formButtons()
{
return $this->formButtons;
}
public function isCompatible()
{
$bluditRoot = explode('.', BLUDIT_VERSION);
$compatible = explode(',', $this->getMetadata('compatible'));
foreach ($compatible as $version) {
$root = explode('.', $version);
if ($root[0] == $bluditRoot[0] && $root[1] == $bluditRoot[1]) {
return true;
}
}
return false;
}
public function directoryName()
{
return $this->directoryName;
}
// Return TRUE if the installation success, otherwise FALSE.
public function install($position = 1)
{
if ($this->installed()) {
return false;
}
// Create workspace
$workspace = $this->workspace();
mkdir($workspace, DIR_PERMISSIONS, true);
// Create plugin directory for the database
mkdir(PATH_PLUGINS_DATABASES . $this->directoryName, DIR_PERMISSIONS, true);
$this->dbFields['position'] = $position;
// Sanitize default values to store in the file
foreach ($this->dbFields as $key => $value) {
$value = Sanitize::html($value);
settype($value, gettype($this->dbFields[$key]));
$this->db[$key] = $value;
}
// Create the database
return $this->save();
}
public function uninstall()
{
// Delete database
$path = PATH_PLUGINS_DATABASES . $this->directoryName;
Filesystem::deleteRecursive($path);
// Delete workspace
$workspace = $this->workspace();
Filesystem::deleteRecursive($workspace);
return true;
}
// Returns TRUE if the plugin is installed
// This function just check if the database of the plugin is created
public function installed()
{
return file_exists($this->filenameDb);
}
public function workspace()
{
return PATH_WORKSPACES . $this->directoryName . DS;
}
public function init()
{
// This method is used on children classes
// The user can define his own field of the database
}
public function prepare()
{
// This method is used on children classes
// The user can prepare the plugin, when it is installed
}
public function post()
{
$args = $_POST;
foreach ($this->dbFields as $field => $value) {
if (isset($args[$field])) {
$finalValue = Sanitize::html($args[$field]);
if ($finalValue === 'false') {
$finalValue = false;
} elseif ($finalValue === 'true') {
$finalValue = true;
}
settype($finalValue, gettype($value));
$this->db[$field] = $finalValue;
}
}
return $this->save();
}
public function type()
{
return $this->getMetadata('type');
}
public function setField($field, $value)
{
$this->db[$field] = Sanitize::html($value);
return $this->save();
}
public function setPosition($position)
{
return $this->setField('position', $position);
}
// Returns the parameters after the URI, FALSE if the URI doesn't match with the webhook
// Example: https://www.mybludit.com/api/foo/bar
public function webhook($URI = false, $returnsAfterURI = false, $fixed = true)
{
global $url;
if (empty($URI)) {
return false;
}
// Check URI start with the webhook
$startString = HTML_PATH_ROOT . $URI;
$URI = $url->uri();
$length = mb_strlen($startString, CHARSET);
if (mb_substr($URI, 0, $length) != $startString) {
return false;
}
$afterURI = mb_substr($URI, $length);
if (!empty($afterURI)) {
if ($fixed) {
return false;
}
if ($afterURI[0] != '/') {
return false;
}
}
if ($returnsAfterURI) {
return $afterURI;
}
Log::set(__METHOD__ . LOG_SEP . 'Webhook requested.');
return true;
}
}

View file

@ -0,0 +1,4 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Title of the page
$layout['title'] = $L->g('About') . ' - ' . $layout['title'];

View file

@ -0,0 +1,40 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
activatePlugin('pluginAPI');
$apiURL = DOMAIN_BASE.'api/';
$pluginAPI = getPlugin('pluginAPI');
$apiToken = $pluginAPI->getToken();
$username = $login->username();
$admin = new User($username);
$authToken = $admin->tokenAuth();
$output = array(
'apiURL'=>$apiURL,
'username'=>$username,
'apiToken'=>$apiToken,
'authToken'=>$authToken
);
exit(json_encode($output));
?>

View file

@ -0,0 +1,26 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('Categories');

View file

@ -0,0 +1,53 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
$plugin = false;
$pluginClassName = $layout['parameters'];
// Check if the plugin exists
if (isset($plugins['all'][$pluginClassName])) {
$plugin = $plugins['all'][$pluginClassName];
} else {
Redirect::page('plugins');
}
// Check if the plugin has the method form()
if (!method_exists($plugin, 'form')) {
Redirect::page('plugins');
}
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
// Add to syslog
$syslog->add(array(
'dictionaryKey'=>'plugin-configured',
'notes'=>$plugin->name()
));
// Call the method post of the plugin
$plugin->post();
Alert::set( $L->g('The changes have been saved') );
Redirect::page('configure-plugin/'.$plugin->className());
}
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] = $L->g('Plugin').' - '.$plugin->name().' - '.$layout['title'];

View file

@ -0,0 +1,60 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin', 'editor', 'author'));
// ============================================================================
// Functions
// ============================================================================
// Returns the content belongs to the current user if the user has the role Editor
function filterContentOwner($list) {
global $login;
global $pages;
$tmp = array();
foreach ($list as $pageKey) {
if ($pages->db[$pageKey]['username']==$login->username()) {
array_push($tmp, $pageKey);
}
}
return $tmp;
}
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
$published = $pages->getList($url->pageNumber(), ITEMS_PER_PAGE_ADMIN);
$drafts = $pages->getDraftDB(true);
$scheduled = $pages->getScheduledDB(true);
$static = $pages->getStaticDB(true);
$sticky = $pages->getStickyDB(true);
$autosave = $pages->getAutosaveDB(true);
// If the user is an Author filter the content he/she can edit
if (checkRole(array('author'), false)) {
$published = filterContentOwner($published);
$drafts = filterContentOwner($drafts);
$scheduled = filterContentOwner($scheduled);
$static = filterContentOwner($static);
$sticky = filterContentOwner($sticky);
}
// Check if out of range the pageNumber
if (empty($published) && $url->pageNumber()>1) {
Redirect::page('content');
}
// Title of the page
$layout['title'] .= ' - '.$L->g('Manage content');

View file

@ -0,0 +1,66 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Functions
// ============================================================================
function updateBludit() {
global $site;
global $syslog;
// New installation
if ($site->currentBuild()==0) {
$site->set(array('currentBuild'=>BLUDIT_BUILD));
}
// Check if Bludit need to be update
if ( ($site->currentBuild() < BLUDIT_BUILD) || isset($_GET['update']) ) {
Log::set('UPDATE SYSTEM - Starting.');
// Updates only for version less than Bludit v3.0 rc-3
if ($site->currentBuild()<='20180910') {
@mkdir(PATH_WORKSPACES, DIR_PERMISSIONS, true);
$plugins = array('simple-stats', 'pluginRSS', 'pluginSitemap', 'pluginTimeMachineX', 'pluginBackup');
foreach ($plugins as $plugin) {
if (pluginActivated($plugin)) {
Log::set('UPDATE SYSTEM - Re-enable plugin: '.$plugin);
deactivatePlugin($plugin);
activatePlugin($plugin);
}
}
}
// Updates only for version less than Bludit v3.1
if ($site->currentBuild()<='20180921') {
@mkdir(PATH_UPLOADS_PAGES, DIR_PERMISSIONS, true);
$site->set(array('imageRelativeToAbsolute'=>true, 'imageRestrict'=>false));
}
// Set the current build number
$site->set(array('currentBuild'=>BLUDIT_BUILD));
Log::set('UPDATE SYSTEM - Finished.');
// Add to syslog
$syslog->add(array(
'dictionaryKey'=>'system-updated',
'notes'=>'Bludit v'.BLUDIT_VERSION
));
}
}
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
// Try update Bludit
updateBludit();
// Title of the page
$layout['title'] .= ' - '.$L->g('Dashboard');

View file

@ -0,0 +1,51 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// This function is used on the VIEW to show the tables
function printTable($title, $array) {
echo '<h2 class="mb-2 mt-4">'.$title.'</h2>';
echo '<table class="table table-striped mt-3">
<tbody>
';
foreach ($array as $key=>$value) {
if($value===false) { $value = 'false'; }
elseif($value===true) { $value = 'true'; }
echo '<tr>';
echo '<td>'.$key.'</td>';
if (is_array($value)) {
echo '<td>'.json_encode($value).'</td>';
} else {
echo '<td>'.Sanitize::html($value).'</td>';
}
echo '</tr>';
}
echo '
</tbody>
</table>
';
}
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
$layout['title'] .= ' - '.$L->g('Developers');

View file

@ -0,0 +1,44 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if ($_POST['action']=='delete') {
deleteCategory($_POST);
} elseif ($_POST['action']=='edit') {
editCategory($_POST);
}
Redirect::page('categories');
}
// ============================================================================
// Main after POST
// ============================================================================
$categoryKey = $layout['parameters'];
if (!$categories->exists($categoryKey)) {
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to get the category: '.$categoryKey);
Redirect::page('categories');
}
$categoryMap = $categories->getMap($categoryKey);
// Title of the page
$layout['title'] .= ' - '.$L->g('Edit Category').' [ '.$categoryMap['name'] . ' ] ';

View file

@ -0,0 +1,86 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
if (checkRole(array('author'), false)) {
try {
$pageKey = isset($_POST['key']) ? $_POST['key'] : $layout['parameters'];
$page = new Page($pageKey);
} catch (Exception $e) {
Alert::set($L->g('You do not have sufficient permissions'));
Redirect::page('dashboard');
}
if ($page->username()!==$login->username()) {
// Add to syslog
$syslog->add(array(
'dictionaryKey'=>'access-denied',
'notes'=>$login->username()
));
Alert::set($L->g('You do not have sufficient permissions'));
Redirect::page('dashboard');
}
}
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if ($_POST['type']==='delete') {
if (deletePage($_POST['key'])) {
Alert::set( $L->g('The changes have been saved') );
}
} else {
$key = editPage($_POST);
if ($key!==false) {
Alert::set( $L->g('The changes have been saved') );
Redirect::page('edit-content/'.$key);
}
}
Redirect::page('content');
}
// ============================================================================
// Main after POST
// ============================================================================
try {
$pageKey = $layout['parameters'];
$page = new Page($pageKey);
} catch (Exception $e) {
Log::set(__METHOD__.LOG_SEP.'Error occurred when trying to get the page: '.$pageKey, LOG_TYPE_ERROR);
Redirect::page('content');
}
// Images prefix directory
define('PAGE_IMAGES_KEY', $page->uuid());
// Images and thubmnails directories
if (IMAGE_RESTRICT) {
define('PAGE_IMAGES_DIRECTORY', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : HTML_PATH_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/'));
define('PAGE_IMAGES_URL', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : DOMAIN_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/'));
define('PAGE_THUMBNAILS_DIRECTORY', PATH_UPLOADS_PAGES.PAGE_IMAGES_KEY.DS.'thumbnails'.DS);
define('PAGE_THUMBNAILS_HTML', HTML_PATH_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/thumbnails/');
define('PAGE_THUMBNAILS_URL', DOMAIN_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/thumbnails/');
} else {
define('PAGE_IMAGES_DIRECTORY', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : HTML_PATH_UPLOADS));
define('PAGE_IMAGES_URL', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : DOMAIN_UPLOADS));
define('PAGE_THUMBNAILS_DIRECTORY', PATH_UPLOADS_THUMBNAILS);
define('PAGE_THUMBNAILS_HTML', HTML_PATH_UPLOADS_THUMBNAILS);
define('PAGE_THUMBNAILS_URL', DOMAIN_UPLOADS_THUMBNAILS);
}
// Title of the page
$layout['title'] .= ' - '.$L->g('Edit content').' - '.$page->title();

View file

@ -0,0 +1,60 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
// Prevent non-administrators to change other users
if ($login->role()!=='admin') {
$_POST['username'] = $login->username();
unset($_POST['role']);
}
if (isset($_POST['deleteUserAndDeleteContent']) && ($login->role()==='admin')) {
$_POST['deleteContent'] = true;
deleteUser($_POST);
} elseif (isset($_POST['deleteUserAndKeepContent']) && ($login->role()==='admin')) {
$_POST['deleteContent'] = false;
deleteUser($_POST);
} elseif (isset($_POST['disableUser']) && ($login->role()==='admin')) {
disableUser(array('username'=>$_POST['username']));
} else {
editUser($_POST);
}
Alert::set($L->g('The changes have been saved'));
if ($login->role()==='admin') {
Redirect::page('users');
}
Redirect::page('edit-user/'.$login->username());
}
// ============================================================================
// Main after POST
// ============================================================================
$username = $layout['parameters'];
// Prevent non-administrators to change other users
if ($login->role()!=='admin') {
$username = $login->username();
}
try {
$user = new User($username);
} catch (Exception $e) {
Redirect::page('users');
}
// Title of the page
$layout['title'] = $L->g('Edit user').' - '.$layout['title'];

View file

@ -0,0 +1,39 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
$pluginClassName = $layout['parameters'];
if (!activatePlugin($pluginClassName)) {
Log::set('Fail when try to activate the plugin.', LOG_TYPE_ERROR);
}
if (isset($plugins['all'][$pluginClassName])) {
$plugin = $plugins['all'][$pluginClassName];
} else {
Redirect::page('plugins');
}
if (method_exists($plugin, 'form')) {
Redirect::page('configure-plugin/'.$pluginClassName);
}
Redirect::page('plugins#'.$pluginClassName);

View file

@ -0,0 +1,30 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
$themeDirectory = $layout['parameters'];
// Activate theme
activateTheme($themeDirectory);
// Redirect
Redirect::page('themes');

View file

@ -0,0 +1,80 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
// ============================================================================
// Functions
// ============================================================================
function checkLogin($args)
{
global $security;
global $login;
global $L;
if ($security->isBlocked()) {
Alert::set($L->g('IP address has been blocked').'<br>'.$L->g('Try again in a few minutes'), ALERT_STATUS_FAIL);
return false;
}
if ($login->verifyUser($_POST['username'], $_POST['password'])) {
if (isset($_POST['remember'])) {
$login->setRememberMe($_POST['username']);
}
// Renew the token. This token will be the same inside the session for multiple forms.
$security->generateTokenCSRF();
if (isset($_GET['enableAPI'])) {
Redirect::page('api');
}
Redirect::page('dashboard');
return true;
}
// Bruteforce protection, add IP to the blacklist
$security->addToBlacklist();
// Create alert
Alert::set($L->g('Username or password incorrect'), ALERT_STATUS_FAIL);
return false;
}
function checkRememberMe()
{
global $security;
global $login;
if ($security->isBlocked()) {
return false;
}
if ($login->verifyUserByRemember()) {
$security->generateTokenCSRF();
Redirect::page('dashboard');
return true;
}
return false;
}
// ============================================================================
// Main before POST
// ============================================================================
if ($_SERVER['REQUEST_METHOD']!=='POST') {
checkRememberMe();
}
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD']=='POST') {
checkLogin($_POST);
}
// ============================================================================
// Main after POST
// ============================================================================

View file

@ -0,0 +1,25 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
if ($login->logout()) {
Redirect::admin();
}

View file

@ -0,0 +1,32 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (createCategory($_POST)) {
Redirect::page('categories');
}
}
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('New category');

View file

@ -0,0 +1,52 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin', 'editor', 'author'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
createPage($_POST);
Redirect::page('content');
}
// ============================================================================
// Main after POST
// ============================================================================
// UUID of the page is need it for autosave and media manager
$uuid = $pages->generateUUID();
// Images prefix directory
define('PAGE_IMAGES_KEY', $uuid);
// Images and thubmnails directories
if (IMAGE_RESTRICT) {
define('PAGE_IMAGES_DIRECTORY', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : HTML_PATH_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/'));
define('PAGE_IMAGES_URL', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : DOMAIN_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/'));
define('PAGE_THUMBNAILS_DIRECTORY', PATH_UPLOADS_PAGES.PAGE_IMAGES_KEY.DS.'thumbnails'.DS);
define('PAGE_THUMBNAILS_HTML', HTML_PATH_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/thumbnails/');
define('PAGE_THUMBNAILS_URL', DOMAIN_UPLOADS_PAGES.PAGE_IMAGES_KEY.'/thumbnails/');
} else {
define('PAGE_IMAGES_DIRECTORY', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : HTML_PATH_UPLOADS));
define('PAGE_IMAGES_URL', (IMAGE_RELATIVE_TO_ABSOLUTE? '' : DOMAIN_UPLOADS));
define('PAGE_THUMBNAILS_DIRECTORY', PATH_UPLOADS_THUMBNAILS);
define('PAGE_THUMBNAILS_HTML', HTML_PATH_UPLOADS_THUMBNAILS);
define('PAGE_THUMBNAILS_URL', DOMAIN_UPLOADS_THUMBNAILS);
}
// Title of the page
$layout['title'] = $L->g('New content').' - '.$layout['title'];

View file

@ -0,0 +1,32 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (createUser($_POST)) {
Redirect::page('users');
}
}
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('Add a new user');

View file

@ -0,0 +1,29 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
changePluginsPosition(explode(',',$_POST['plugin-list']));
Redirect::page('plugins-position');
}
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('Plugins');

View file

@ -0,0 +1,26 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('Plugins');

View file

@ -0,0 +1,31 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
editSettings($_POST);
Redirect::page('settings');
}
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('Advanced Settings');

View file

@ -0,0 +1,24 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Main after POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
$themes = buildThemes();
// Title of the page
$layout['title'] .= ' - '.$L->g('Themes');

View file

@ -0,0 +1,26 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
$pluginClassName = $layout['parameters'];
deactivatePlugin($pluginClassName);
Redirect::page('plugins');

View file

@ -0,0 +1,51 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
// Prevent non-administrators to change other users
$username = $_POST['username'];
if ($login->role()!=='admin') {
$username = $login->username();
}
if (changeUserPassword(array(
'username'=>$username,
'newPassword'=>$_POST['newPassword'],
'confirmPassword'=>$_POST['confirmPassword']
))) {
if ($login->role()==='admin') {
Redirect::page('users');
}
Redirect::page('edit-user/'.$login->username());
}
}
// ============================================================================
// Main after POST
// ============================================================================
// Prevent non-administrators to change other users
if ($login->role()!=='admin') {
$layout['parameters'] = $login->username();
}
try {
$username = $layout['parameters'];
$user = new User($username);
} catch (Exception $e) {
Redirect::page('users');
}
// Title of the page
$layout['title'] = $L->g('Change password').' - '.$layout['title'];

View file

@ -0,0 +1,31 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Check role
// ============================================================================
checkRole(array('admin'));
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main after POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if( $_SERVER['REQUEST_METHOD'] == 'POST' )
{
$site->set($_POST);
}
// ============================================================================
// Main after POST
// ============================================================================
// Title of the page
$layout['title'] .= ' - '.$L->g('Users');

View file

@ -0,0 +1,58 @@
a {
color: #0078D4;
}
a:hover {
color: #003f6f;
text-decoration: none;
}
.bg-success {
background-color: #8BC34A!important;
}
.text-primary {
color: #0078D4!important;
}
.text-danger {
color: #D40000!important;
}
a.text-danger:focus,
a.text-danger:hover {
color: #790000!important;
}
/* Buttons */
.btn-primary {
background-color: #0078D4;
border-color: #0078D4;
}
.btn-primary:hover {
background-color: #4585CF;
border-color: #4a90e2;
}
.btn-light.focus, .btn-light:focus {
box-shadow: none;
}
.btn.focus, .btn:focus {
box-shadow: none;
}
/* Form */
.form-control:focus {
box-shadow: none;
}
/* Tables */
.table-striped tbody tr:nth-of-type(odd) {
background-color: rgba(0, 0, 0, 0.02);
}
.table thead th {
font-size: 0.8em;
text-transform: uppercase!important;
}

View file

@ -0,0 +1,367 @@
html {
height: 100%;
font-size: 0.9rem;
background: #fcfcfc;
}
body {
background: #fcfcfc;
}
/* Prevent events in iframes */
/* iframe{
pointer-events: none;
} */
/*
ICONS
*/
.fa {
margin-right: .5rem !important;
line-height: inherit;
}
/*
SIDEBAR
*/
div.sidebar .nav-item a {
padding-left: 0;
padding-right: 0;
color: #555;
padding-top: 5px;
padding-bottom: 5px;
}
div.sidebar .nav-item a:hover {
color: #0078D4;
}
div.sidebar .nav-item h4 {
font-size: 1.2em;
text-transform: uppercase;
font-weight: 400;
margin-top: 10px;
}
/*
AUTOCOMPLETE SEARCH
*/
.search-suggestion {
padding: 5px;
}
.search-suggestion-options {
font-size: 0.9em;
padding-top: 2px;
}
/*
BOOTSTRAP Hacks
*/
@media (min-width: 1200px) {
.container {
max-width: 1250px;
}
}
/* for small devices */
@media (max-width: 575.98px) {
#jsmediaManagerButton,
#jscategoryButton,
#jsdescriptionButton {
width: 100%;
text-align: left;
}
}
.btn-light {
color: #212529;
background-color: #f3f3f3;
border-color: #ced4d9;
}
.btn-form {
background-color: #F3F3F3;
border-color: #DDD;
color: #000;
}
.btn-form:hover {
background-color: rgb(228, 228, 228);
border-color: #DDD;
color: #000;
}
code {
padding: 3px 5px 2px;
margin: 0 1px;
background: #eaeaea;
background: rgba(0, 0, 0, .07);
color: #444;
}
.list-group-sortable {
cursor: pointer;
}
.modal-body {
padding: 2rem;
}
.modal-footer {
background-color: rgb(247, 247, 247);
}
.modal-dialog .btn-link {
color: #000;
}
/*
LOGIN
*/
body.login {
background: rgb(255, 255, 255);
background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(250, 250, 250, 1) 53%);
height: 100%;
}
/*
DASHBOARD
*/
#dashboard ul.list-group.list-group-striped li {
border: none;
word-break: break-word;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
#dashboard ul.list-group.list-group-striped li:nth-of-type(even) {
background: #f1f1f1;
}
#dashboard div.quick-links-icons {
font-size: 3em;
width: 100%;
}
#dashboard a.quick-links {
color: #777;
}
#dashboard a.quick-links:hover {
text-decoration: none;
color: #4586d4;
}
#hello-message {
padding: 10px 0;
margin-bottom: 20px;
}
#hello-message span.oi {
top: 3px;
}
.ct-series-a .ct-line {
/* Set the colour of this series line */
stroke: #4a90e2;
/* Control the thikness of your lines */
stroke-width: 2px;
/* Create a dashed line with a pattern */
}
.ct-series-a .ct-point {
/* Colour of your points */
stroke: #4a90e2;
/* Size of your points */
stroke-width: 8px;
}
/*
ALERT
*/
#alert {
display: none;
position: fixed;
text-align: center;
border-radius: 0px;
border: 0;
z-index: 1000;
bottom: 0;
right: 0;
margin: 0;
}
.alert-success {
background-color: #4586d4;
border-left: 6px solid #abd1ff !important;
color: #ffffff;
}
.alert-danger {
background-color: #d44545;
border-left: 6px solid #ff9c9c !important;
color: #ffffff;
}
/*
PLUGINS
*/
.plugin-form label {
display: block;
margin-top: 1rem !important;
}
.plugin-form input[type="text"],
.plugin-form textarea,
.plugin-form select {
display: block;
width: 100%;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: .25rem;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.plugin-form textarea {
min-height: 120px;
}
.plugin-form span.tip {
display: block;
font-size: 80%;
font-weight: 400;
margin-top: .25rem;
color: #6c757d !important;
}
/*
Manage > Content
*/
td.child {
padding-left: 30px;
}
/*
Manage > New Content
*/
#jseditor {
background: #fff;
padding: 10px 5% !important;
font-size: 16px;
line-height: 1.5em;
border: 1px solid #ced4da;
}
#jseditorSidebar {
display: none;
height: calc(100% - 45px);
width: 50%;
max-width: 350px;
position: absolute;
z-index: 50;
top: 45px;
right: 15px;
background-color: #fff;
overflow-x: hidden;
transition: 0.5s;
border-left: 1px solid #ccc;
border-right: 1px solid #ccc;
border-top: 1px solid #ccc;
}
@media (max-width: 575.98px) {
#jseditorSidebar {
width: 100%;
max-width: 100%;
right: 0;
}
#jseditorToolbarRight button {
font-size: 0px !important;
}
#jseditorToolbarRight button span {
font-size: 16px !important;
}
.contentTools .btn {
font-size: 0px !important;
margin-right: 5px;
}
.contentTools .btn span {
font-size: 16px !important;
}
}
#jseditorSidebar nav {
background: #f3f3f3;
}
#jseditorSidebar nav a {
color: #000;
}
#jseditorSidebar .nav-tabs .nav-link {
border: none;
}
#jseditorSidebar .nav-link.active {
background: none;
border: none;
border-bottom: 3px solid #ccc;
}
#jsshadow {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(72, 72, 72, 0.7);
z-index: 10;
display: none;
}
img.profilePicture {
width: 30px;
height: 30px;
border-radius: 30px;
border: 1px solid #ccc;
}
/* Switch button */
.switch-button {
font-size: 0.9em;
text-transform: uppercase;
cursor: pointer;
}
.switch-icon-publish {
color: #1cb11c;
}

View file

@ -0,0 +1,17 @@
<script charset="utf-8">
function showAlert(text) {
console.log("[INFO] Function showAlert() called.");
$("#alert").html(text);
$("#alert").slideDown().delay(<?php echo ALERT_DISAPPEAR_IN*1000 ?>).slideUp();
}
<?php if (Alert::defined()): ?>
setTimeout(function(){ showAlert("<?php echo Alert::get() ?>") }, 500);
<?php endif; ?>
$(window).click(function() {
$("#alert").hide();
});
</script>
<div id="alert" class="alert <?php echo (Alert::status()==ALERT_STATUS_FAIL)?'alert-danger':'alert-success' ?>"></div>

View file

@ -0,0 +1,262 @@
<?php
// Preload the first 10 files to not call via AJAX when the user open the first time the media manager
$listOfFilesByPage = Filesystem::listFiles(PAGE_THUMBNAILS_DIRECTORY, '*', '*', MEDIA_MANAGER_SORT_BY_DATE, MEDIA_MANAGER_NUMBER_OF_FILES);
$preLoadFiles = array();
if (!empty($listOfFilesByPage[0])) {
foreach ($listOfFilesByPage[0] as $file) {
$filename = Filesystem::filename($file);
array_push($preLoadFiles, $filename);
}
}
// Amount of pages for the paginator
$numberOfPages = count($listOfFilesByPage);
?>
<div id="jsmediaManagerModal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="container-fluid">
<div class="row">
<div class="col p-3">
<!--
UPLOAD INPUT
-->
<h3 class="mt-2 mb-3"><i class="fa fa-image"></i> <?php $L->p('Images'); ?></h3>
<div id="jsalertMedia" class="alert alert-warning d-none" role="alert"></div>
<!-- Form and Input file -->
<form name="bluditFormUpload" id="jsbluditFormUpload" enctype="multipart/form-data">
<div class="custom-file">
<input type="file" class="custom-file-input" id="jsimages" name="images[]" multiple>
<label class="custom-file-label" for="jsimages"><?php $L->p('Choose images to upload'); ?></label>
</div>
</form>
<!-- Progress bar -->
<div class="progress mt-3">
<div id="jsbluditProgressBar" class="progress-bar bg-primary" role="progressbar" style="width:0%"></div>
</div>
<!--
IMAGES LIST
-->
<!-- Table for list files -->
<table id="jsbluditMediaTable" class="table mt-3">
<tr>
<td><?php $L->p('There are no images'); ?></td>
</tr>
</table>
<!-- Paginator -->
<nav id="jsbluditMediaTablePagination"></nav>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
<?php
echo 'var preLoadFiles = '.json_encode($preLoadFiles).';';
?>
function openMediaManager() {
$('#jsmediaManagerModal').modal('show');
}
function closeMediaManager() {
$('#jsmediaManagerModal').modal('hide');
}
// Remove all files from the table
function cleanTable() {
$('#jsbluditMediaTable').empty();
}
function showMediaAlert(message) {
$("#jsalertMedia").html(message).removeClass('d-none');
}
function hideMediaAlert() {
$("#jsalertMedia").addClass('d-none');
}
// Show the files in the table
function displayFiles(files, numberOfPages = <?= $numberOfPages ?>) {
if (!Array.isArray(files)) {
return false;
}
// Clean table
cleanTable();
// Regenerate the table
if (files.length > 0) {
$.each(files, function(key, filename) {
var thumbnail = "<?php echo PAGE_THUMBNAILS_URL; ?>"+filename;
var image = "<?php echo PAGE_IMAGES_URL; ?>"+filename;
tableRow = '<tr id="js'+filename+'">'+
'<td style="width:80px"><img class="img-thumbnail" alt="200x200" src="'+thumbnail+'" style="width: 50px; height: 50px;"><\/td>'+
'<td class="information">'+
'<div class="text-secondary pb-2">'+filename+'<\/div>'+
'<div>'+
'<a href="#" class="mr-3 text-primary" onClick="editorInsertMedia(\''+image+'\'); closeMediaManager();"><i class="fa fa-plus-circle"></i><?php $L->p('Insert') ?><\/a>'+
'<a href="#" class="mr-3 text-primary" onClick="editorInsertMedia(\''+thumbnail+'\'); closeMediaManager();"><i class="fa fa-image"></i><?php $L->p('Insert thumbnail') ?><\/a>'+
'<a href="#" class="mr-3 text-primary" onClick="editorInsertLinkedMedia(\''+thumbnail+'\',\''+image+'\'); closeMediaManager();"><i class="fa fa-link"></i><?php $L->p('Insert linked thumbnail') ?><\/a>'+
'<a href="#" class="text-primary" onClick="setCoverImage(\''+filename+'\'); closeMediaManager();"><i class="fa fa-desktop"></i><?php $L->p('Set as cover image') ?><\/button>'+
'<a href="#" class="float-right text-danger" onClick="deleteMedia(\''+filename+'\')"><i class="fa fa-trash-o"></i><?php $L->p('Delete') ?><\/a>'+
'<\/div>'+
'<\/td>'+
'<\/tr>';
$('#jsbluditMediaTable').append(tableRow);
});
mediaPagination = '<ul class="pagination justify-content-center flex-wrap">';
for (var i = 1; i <= numberOfPages; i++) {
mediaPagination += '<li class="page-item"><button type="button" class="btn btn-link page-link" onClick="getFiles('+i+')">'+i+'</button></li>';
}
mediaPagination += '</ul>';
$('#jsbluditMediaTablePagination').html(mediaPagination);
}
if (files.length == 0) {
$('#jsbluditMediaTable').html("<p><?php (IMAGE_RESTRICT ? $L->p('There are no images for the page') : $L->p('There are no images')) ?></p>");
$('#jsbluditMediaTablePagination').html('');
}
}
// Get the list of files via AJAX, filter by the page number
function getFiles(pageNumber) {
$.post(HTML_PATH_ADMIN_ROOT+"ajax/list-images",
{ tokenCSRF: tokenCSRF,
pageNumber: pageNumber,
uuid: "<?php echo PAGE_IMAGES_KEY ?>",
path: "thumbnails" // the paths are defined in ajax/list-images
},
function(data) { // success function
if (data.status==0) {
displayFiles(data.files, data.numberOfPages);
} else {
console.log(data.message);
}
}
);
}
// Delete the file and the thumbnail if exist
function deleteMedia(filename) {
$.post(HTML_PATH_ADMIN_ROOT+"ajax/delete-image",
{ tokenCSRF: tokenCSRF,
filename: filename,
uuid: "<?php echo PAGE_IMAGES_KEY; ?>"
},
function(data) { // success function
if (data.status==0) {
getFiles(1);
} else {
console.log(data.message);
}
}
);
}
function setCoverImage(filename) {
var image = "<?php echo PAGE_IMAGES_URL; ?>"+filename;
$("#jscoverImage").val(filename);
$("#jscoverImagePreview").attr("src", image);
}
function uploadImages() {
// Remove current alerts
hideMediaAlert();
var images = $("#jsimages")[0].files;
for (var i=0; i < images.length; i++) {
// Check file type/extension
const validImageTypes = ['image/gif', 'image/jpeg', 'image/png', 'image/svg+xml', 'image/webp'];
if (!validImageTypes.includes(images[i].type)) {
showMediaAlert("<?php echo $L->g('File type is not supported. Allowed types:').' '.implode(', ',$GLOBALS['ALLOWED_IMG_EXTENSION']) ?>");
return false;
}
// Check file size and compare with PHP upload_max_filesize
if (images[i].size > UPLOAD_MAX_FILESIZE) {
showMediaAlert("<?php echo $L->g('Maximum load file size allowed:').' '.ini_get('upload_max_filesize') ?>");
return false;
}
};
// Clean progress bar
$("#jsbluditProgressBar").removeClass().addClass("progress-bar bg-primary");
$("#jsbluditProgressBar").width("0");
// Data to send via AJAX
var formData = new FormData($("#jsbluditFormUpload")[0]);
formData.append("uuid", "<?php echo PAGE_IMAGES_KEY ?>");
formData.append("tokenCSRF", tokenCSRF);
$.ajax({
url: HTML_PATH_ADMIN_ROOT+"ajax/upload-images",
type: "POST",
data: formData,
cache: false,
contentType: false,
processData: false,
xhr: function() {
var xhr = $.ajaxSettings.xhr();
if (xhr.upload) {
xhr.upload.addEventListener("progress", function(e) {
if (e.lengthComputable) {
var percentComplete = (e.loaded / e.total)*100;
$("#jsbluditProgressBar").width(percentComplete+"%");
}
}, false);
}
return xhr;
}
}).done(function(data) {
if (data.status==0) {
$("#jsbluditProgressBar").removeClass("bg-primary").addClass("bg-success");
// Get the files for the first page, this include the files uploaded
getFiles(1);
} else {
$("#jsbluditProgressBar").removeClass("bg-primary").addClass("bg-danger");
showMediaAlert(data.message);
}
});
}
$(document).ready(function() {
// Display the files preloaded for the first time
displayFiles(preLoadFiles);
// Select image event
$("#jsimages").on("change", function(e) {
uploadImages();
});
// Drag and drop image
$(window).on("dragover dragenter", function(e) {
e.preventDefault();
e.stopPropagation();
openMediaManager();
});
// Drag and drop image
$(window).on("drop", function(e) {
e.preventDefault();
e.stopPropagation();
$("#jsimages").prop("files", e.originalEvent.dataTransfer.files);
uploadImages();
});
});
</script>

View file

@ -0,0 +1,77 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-dark text-uppercase d-block d-lg-none">
<div class="container">
<span class="navbar-brand">
<?php echo (defined('BLUDIT_PRO'))?'BLUDIT PRO':'BLUDIT' ?></span>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>">
<?php $L->p('Dashboard') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ROOT ?>">
<?php $L->p('Website') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-content' ?>">
<?php $L->p('New content') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'content' ?>">
<?php $L->p('Content') ?></a>
</li>
<?php if (!checkRole(array('admin'),false)): ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'edit-user/'.$login->username() ?>">
<?php $L->p('Profile') ?></a>
</li>
<?php endif; ?>
<?php if (checkRole(array('admin'),false)): ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'categories' ?>">
<?php $L->p('Categories') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>">
<?php $L->p('Users') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'settings' ?>">
<?php $L->p('Settings') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>">
<?php $L->p('Plugins') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>">
<?php $L->p('Themes') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>">
<?php $L->p('About') ?></a>
</li>
<?php endif; ?>
<?php if (checkRole(array('admin'),false)): ?>
<?php
if (!empty($plugins['adminSidebar'])) {
foreach ($plugins['adminSidebar'] as $pluginSidebar) {
echo '<li class="nav-item">';
echo $pluginSidebar->adminSidebar();
echo '</li>';
}
}
?>
<?php endif; ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>">
<?php $L->p('Logout') ?></a>
</li>
</ul>
</div>
</div>
</nav>

View file

@ -0,0 +1,80 @@
<!-- Use .flex-column to set a vertical direction -->
<ul class="nav flex-column pt-4">
<li class="nav-item mb-4" style="margin-left: -4px;">
<img src="<?php echo HTML_PATH_CORE_IMG ?>logo.svg" width="20" height="20" alt="bludit-logo"><span class="ml-2 align-middle"><?php echo (defined('BLUDIT_PRO'))?'BLUDIT PRO':'BLUDIT' ?></span>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>"><span class="fa fa-dashboard"></span><?php $L->p('Dashboard') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="<?php echo HTML_PATH_ROOT ?>"><span class="fa fa-home"></span><?php $L->p('Website') ?></a>
</li>
<li class="nav-item mt-3">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'new-content' ?>"><span style="color: #0078D4;" class="fa fa-plus-circle"></span><?php $L->p('New content') ?></a>
</li>
<?php if (!checkRole(array('admin'),false)): ?>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'content' ?>"><span class="fa fa-archive"></span><?php $L->p('Content') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'edit-user/'.$login->username() ?>"><span class="fa fa-user"></span><?php $L->p('Profile') ?></a>
</li>
<?php endif; ?>
<?php if (checkRole(array('admin'),false)): ?>
<li class="nav-item mt-3">
<h4><?php $L->p('Manage') ?></h4>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'content' ?>"><span class="fa fa-folder"></span><?php $L->p('Content') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'categories' ?>"><span class="fa fa-bookmark"></span><?php $L->p('Categories') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>"><span class="fa fa-users"></span><?php $L->p('Users') ?></a>
</li>
<li class="nav-item mt-3">
<h4><?php $L->p('Settings') ?></h4>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'settings' ?>"><span class="fa fa-gear"></span><?php $L->p('General') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>"><span class="fa fa-puzzle-piece"></span><?php $L->p('Plugins') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>"><span class="fa fa-desktop"></span><?php $L->p('Themes') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'about' ?>"><span class="fa fa-info"></span><?php $L->p('About') ?></a>
</li>
<?php endif; ?>
<?php if (checkRole(array('admin', 'editor'),false)): ?>
<?php
if (!empty($plugins['adminSidebar'])) {
echo '<li class="nav-item"><hr></li>';
foreach ($plugins['adminSidebar'] as $pluginSidebar) {
echo '<li class="nav-item">';
echo $pluginSidebar->adminSidebar();
echo '</li>';
}
}
?>
<?php endif; ?>
<li class="nav-item mt-5">
<a class="nav-link" href="<?php echo HTML_PATH_ADMIN_ROOT.'logout' ?>"><span class="fa fa-arrow-circle-right"></span><?php $L->p('Logout') ?></a>
</li>
</ul>

View file

@ -0,0 +1,98 @@
<!DOCTYPE html>
<html>
<head>
<title><?php echo $layout['title'] ?></title>
<meta charset="<?php echo CHARSET ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="noindex,nofollow">
<meta name="generator" content="Bludit">
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_CORE_IMG.'favicon.png?version='.BLUDIT_VERSION ?>">
<!-- CSS -->
<?php
echo Theme::cssBootstrap();
echo Theme::cssLineAwesome();
echo Theme::css(array(
'bludit.css',
'bludit.bootstrap.css'
), DOMAIN_ADMIN_THEME_CSS);
echo Theme::css(array(
'jquery.datetimepicker.min.css',
'select2.min.css',
'select2-bootstrap4.min.css'
), DOMAIN_CORE_CSS);
?>
<!-- Javascript -->
<?php
echo Theme::jquery();
echo Theme::jsBootstrap();
echo Theme::jsSortable();
echo Theme::js(array(
'jquery.datetimepicker.full.min.js',
'select2.full.min.js',
'functions.js'
), DOMAIN_CORE_JS, null);
?>
<!-- Plugins -->
<?php Theme::plugins('adminHead') ?>
</head>
<body class="h-100">
<!-- Plugins -->
<?php Theme::plugins('adminBodyBegin') ?>
<!-- Javascript dynamic generated by PHP -->
<?php
echo '<script charset="utf-8">'.PHP_EOL;
include(PATH_CORE_JS.'variables.php');
echo '</script>'.PHP_EOL;
echo '<script charset="utf-8">'.PHP_EOL;
include(PATH_CORE_JS.'bludit-ajax.php');
echo '</script>'.PHP_EOL;
?>
<!-- Overlay background -->
<div id="jsshadow"></div>
<!-- Alert -->
<?php include('html/alert.php'); ?>
<!-- Navbar, only for small devices -->
<?php include('html/navbar.php'); ?>
<div class="container h-100">
<!-- 25%/75% split on large devices, small, medium devices hide -->
<div class="row h-100">
<!-- LEFT SIDEBAR - Display only on large devices -->
<div class="sidebar col-lg-2 d-none d-lg-block">
<?php include('html/sidebar.php'); ?>
</div>
<!-- RIGHT MAIN -->
<div class="col-lg-10 pt-3 pb-1 h-100">
<?php
if (Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php')) {
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
} elseif ($layout['plugin'] && method_exists($layout['plugin'], 'adminView')) {
echo $layout['plugin']->adminView();
} else {
echo '<h1 class="text-center">'.$L->g('Page not found').'</h1>';
echo '<h2 class="text-center">'.$L->g('Choose a page from the sidebar.').'</h2>';
}
?>
</div>
</div>
</div>
<!-- Plugins -->
<?php Theme::plugins('adminBodyEnd') ?>
</body>
</html>

View file

@ -0,0 +1,403 @@
<?php
class Bootstrap
{
public static function modal($args)
{
$buttonSecondary = $args['buttonSecondary'];
$buttonSecondaryClass = $args['buttonSecondaryClass'];
$buttonPrimary = $args['buttonPrimary'];
$buttonPrimaryClass = $args['buttonPrimaryClass'];
$modalText = $args['modalText'];
$modalTitle = $args['modalTitle'];
$modalId = $args['modalId'];
return <<<EOF
<div id="$modalId" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
<h3>$modalTitle</h3>
<p>$modalText</p>
</div>
<div class="modal-footer">
<button type="button" class="btn $buttonSecondaryClass" data-dismiss="modal">$buttonSecondary</button>
<button type="button" class="btn $buttonPrimaryClass">$buttonPrimary</button>
</div>
</div>
</div>
</div>
EOF;
}
public static function link($args)
{
$options = 'href="' . $args['href'] . '"';
if (isset($args['class'])) {
$options .= ' class="' . $args['class'] . '"';
}
if (isset($args['target'])) {
$options .= ' target="' . $args['target'] . '"';
}
if (isset($args['icon'])) {
return '<a ' . $options . '><span class="fa fa-' . $args['icon'] . '"></span>' . $args['title'] . '</a>';
}
return '<a ' . $options . '>' . $args['title'] . '</a>';
}
public static function pageTitle($args)
{
$icon = $args['icon'];
$title = $args['title'];
return <<<EOF
<h2 class="mt-0 mb-3">
<span class="fa fa-$icon" style="font-size: 0.9em;"></span><span>$title</span>
</h2>
EOF;
}
public static function formOpen($args)
{
$class = empty($args['class']) ? '' : 'class="' . $args['class'] . '"';
$id = empty($args['id']) ? '' : 'id="' . $args['id'] . '"';
$enctype = empty($args['enctype']) ? '' : 'enctype="' . $args['enctype'] . '"';
$action = empty($args['action']) ? 'action=""' : 'action="' . $args['action'] . '"';
$method = empty($args['method']) ? 'method="post"' : 'method="' . $args['method'] . '"';
$style = empty($args['style']) ? '' : 'style="' . $args['style'] . '"';
return <<<EOF
<form $class $enctype $id $method $action $style autocomplete="off">
EOF;
}
public static function formClose()
{
return <<<EOF
</form>
<script>
$(document).ready(function() {
// Prevent the form submit when press enter key.
$("form").keypress(function(e) {
if ((e.which == 13) && (e.target.type !== "textarea")) {
return false;
}
});
});
</script>
EOF;
}
public static function formTitle($args)
{
$title = $args['title'];
return <<<EOF
<h6 class="mt-4 mb-2 pb-2 border-bottom text-uppercase">$title</h6>
EOF;
}
public static function formInputTextBlock($args)
{
$name = $args['name'];
$disabled = empty($args['disabled']) ? '' : 'disabled';
$placeholder = isset($args['placeholder']) ? $args['placeholder'] : '';
$value = isset($args['value']) ? $args['value'] : '';
$id = 'js' . $name;
if (isset($args['id'])) {
$id = $args['id'];
}
$tip = '';
if (!empty($args['tip'])) {
$tip = '<small class="form-text text-muted">' . $args['tip'] . '</small>';
}
$class = 'form-group m-0';
if (isset($args['class'])) {
$class = $args['class'];
}
$labelClass = 'mt-4 mb-2 pb-2 border-bottom text-uppercase w-100';
if (isset($args['labelClass'])) {
$labelClass = $args['labelClass'];
}
$label = '';
if (!empty($args['label'])) {
$label = '<label class="' . $labelClass . '" for="' . $id . '">' . $args['label'] . '</label>';
}
$type = 'text';
if (isset($args['type'])) {
$type = $args['type'];
}
return <<<EOF
<div class="$class">
$label
<input type="text" dir="auto" value="$value" class="form-control" id="$id" name="$name" placeholder="$placeholder" $disabled>
$tip
</div>
EOF;
}
public static function formInputFile($args)
{
$id = 'js' . $args['name'];
if (isset($args['id'])) {
$id = $args['id'];
}
$class = 'custom-file';
if (isset($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$html = '<div class="' . $class . '">';
$html .= '<input type="file" class="custom-file-input" id="' . $id . '">';
$html .= '<label class="custom-file-label" for="' . $id . '">' . $args['label'] . '</label>';
$html .= '</div>';
return $html;
}
public static function formTextarea($args)
{
$id = 'js' . $args['name'];
if (isset($args['id'])) {
$id = $args['id'];
}
$class = 'form-control';
if (isset($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$html = '<div class="form-group row">';
if (!empty($args['label'])) {
$html .= '<label for="' . $id . '" class="col-sm-2 col-form-label">' . $args['label'] . '</label>';
}
$html .= '<div class="col-sm-10">';
$html .= '<textarea class="' . $class . '" id="' . $id . '" name="' . $args['name'] . '" rows="' . $args['rows'] . '" placeholder="' . $args['placeholder'] . '">' . $args['value'] . '</textarea>';
if (isset($args['tip'])) {
$html .= '<small class="form-text text-muted">' . $args['tip'] . '</small>';
}
$html .= '</div>';
$html .= '</div>';
return $html;
}
public static function formTextareaBlock($args)
{
$id = 'js' . $args['name'];
if (isset($args['id'])) {
$id = $args['id'];
}
$class = 'form-control';
if (!empty($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$html = '<div class="form-group m-0">';
if (!empty($args['label'])) {
$html .= '<label class="mt-4 mb-2 pb-2 border-bottom text-uppercase w-100" for="' . $id . '">' . $args['label'] . '</label>';
}
$html .= '<textarea class="' . $class . '" id="' . $id . '" name="' . $args['name'] . '" rows="' . $args['rows'] . '" placeholder="' . $args['placeholder'] . '">' . $args['value'] . '</textarea>';
if (!empty($args['tip'])) {
$html .= '<small class="form-text text-muted">' . $args['tip'] . '</small>';
}
$html .= '</div>';
return $html;
}
public static function formInputText($args)
{
$name = $args['name'];
$disabled = empty($args['disabled']) ? '' : 'disabled';
$readonly = empty($args['readonly']) ? '' : 'readonly';
$placeholder = isset($args['placeholder']) ? $args['placeholder'] : '';
$value = isset($args['value']) ? $args['value'] : '';
$id = 'js' . $name;
if (isset($args['id'])) {
$id = $args['id'];
}
$tip = '';
if (isset($args['tip'])) {
$tip = '<small class="form-text text-muted">' . $args['tip'] . '</small>';
}
$label = '';
if (isset($args['label'])) {
$label = '<label for="' . $id . '" class="col-sm-2 col-form-label">' . $args['label'] . '</label>';
}
$class = 'form-control';
if (isset($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$type = 'text';
if (isset($args['type'])) {
$type = $args['type'];
}
return <<<EOF
<div class="form-group row">
$label
<div class="col-sm-10">
<input class="$class" id="$id" name="$name" value="$value" placeholder="$placeholder" type="$type" dir="auto" $disabled $readonly>
$tip
</div>
</div>
EOF;
}
public static function formCheckbox($args)
{
$labelForCheckbox = isset($args['labelForCheckbox']) ? $args['labelForCheckbox'] : '';
$placeholder = isset($args['placeholder']) ? $args['placeholder'] : '';
$tip = isset($args['tip']) ? '<small class="form-text text-muted">' . $args['tip'] . '</small>' : '';
$value = isset($args['value']) ? $args['value'] : '';
$name = $args['name'];
$id = 'js' . $name;
if (isset($args['id'])) {
$id = $args['id'];
}
$disabled = isset($args['disabled']) ? 'disabled' : '';
$class = 'form-group m-0';
if (isset($args['class'])) {
$class = $args['class'];
}
$labelClass = 'mt-4 mb-2 pb-2 border-bottom text-uppercase w-100';
if (isset($args['labelClass'])) {
$labelClass = $args['labelClass'];
}
$type = 'text';
if (isset($args['type'])) {
$type = $args['type'];
}
$label = '';
if (!empty($args['label'])) {
$label = '<label class="' . $labelClass . '">' . $args['label'] . '</label>';
}
$checked = $args['checked'] ? 'checked' : '';
$value = $checked ? '1' : '0';
return <<<EOF
<div class="$class">
$label
<div class="form-check">
<input type="hidden" name="$name" value="$value"><input id="$id" type="checkbox" class="form-check-input" onclick="this.previousSibling.value=1-this.previousSibling.value" $checked>
<label class="form-check-label" for="$id">$labelForCheckbox</label>
$tip
</div>
</div>
EOF;
}
public static function formSelect($args)
{
$id = 'js' . $args['name'];
if (isset($args['id'])) {
$id = $args['id'];
}
$class = 'custom-select';
if (isset($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$html = '<div class="form-group row">';
if (isset($args['label'])) {
$html .= '<label for="' . $id . '" class="col-sm-2 col-form-label">' . $args['label'] . '</label>';
}
$html .= '<div class="col-sm-10">';
$html .= '<select id="' . $id . '" name="' . $args['name'] . '" class="' . $class . '">';
foreach ($args['options'] as $key => $value) {
$html .= '<option ' . (($key == $args['selected']) ? 'selected' : '') . ' value="' . $key . '">' . $value . '</option>';
}
$html .= '</select>';
if (isset($args['tip'])) {
$html .= '<small class="form-text text-muted">' . $args['tip'] . '</small>';
}
$html .= '</div>';
$html .= '</div>';
return $html;
}
public static function formSelectBlock($args)
{
$id = 'js' . $args['name'];
if (isset($args['id'])) {
$id = $args['id'];
}
$class = 'custom-select';
if (!empty($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$html = '<div class="form-group m-0">';
if (!empty($args['label'])) {
$html .= '<label class="mt-4 mb-2 pb-2 border-bottom text-uppercase w-100" for="' . $id . '">' . $args['label'] . '</label>';
}
$html .= '<select id="' . $id . '" name="' . $args['name'] . '" class="' . $class . '">';
if (!empty($args['emptyOption'])) {
$html .= '<option value="">' . $args['emptyOption'] . '</option>';
}
foreach ($args['options'] as $key => $value) {
$html .= '<option ' . (($key == $args['selected']) ? 'selected' : '') . ' value="' . $key . '">' . $value . '</option>';
}
$html .= '</select>';
if (!empty($args['tip'])) {
$html .= '<small class="form-text text-muted">' . $args['tip'] . '</small>';
}
$html .= '</div>';
return $html;
}
public static function formInputHidden($args)
{
return '<input type="hidden" id="js' . $args['name'] . '" name="' . $args['name'] . '" value="' . $args['value'] . '">';
}
public static function alert($args)
{
$class = 'alert';
if (!empty($args['class'])) {
$class = $class . ' ' . $args['class'];
}
$text = $args['text'];
return <<<EOF
<div class="$class" role="alert">$text</div>
EOF;
}
}

View file

@ -0,0 +1,57 @@
<!DOCTYPE html>
<html>
<head>
<title>Bludit</title>
<meta charset="<?php echo CHARSET ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="noindex,nofollow">
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_CORE_IMG . 'favicon.png?version=' . BLUDIT_VERSION ?>">
<!-- CSS -->
<?php
echo Theme::cssBootstrap();
echo Theme::css(array(
'bludit.css',
'bludit.bootstrap.css'
), DOMAIN_ADMIN_THEME_CSS);
?>
<!-- Javascript -->
<?php
echo Theme::jquery();
echo Theme::jsBootstrap();
?>
<!-- Plugins -->
<?php Theme::plugins('loginHead') ?>
</head>
<body class="login">
<!-- Plugins -->
<?php Theme::plugins('loginBodyBegin') ?>
<!-- Alert -->
<?php include('html/alert.php'); ?>
<div class="container">
<div class="row justify-content-md-center pt-5">
<div class="col-md-4 mt-5 p-5 shadow-sm bg-white rounded border">
<?php
if (Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'] . '.php')) {
include(PATH_ADMIN_VIEWS . $layout['view'] . '.php');
}
?>
</div>
</div>
</div>
<!-- Plugins -->
<?php Theme::plugins('loginBodyEnd') ?>
</body>
</html>

View file

@ -0,0 +1,47 @@
<?php
echo Bootstrap::pageTitle(array('title'=>$L->g('About'), 'icon'=>'info-circle'));
echo '
<table class="table table-striped mt-3">
<tbody>
';
echo '<tr>';
echo '<td>Bludit Edition</td>';
if (defined('BLUDIT_PRO')) {
echo '<td>PRO - '.$L->g('Thanks for supporting Bludit').' <span class="fa fa-heart" style="color: #ffc107"></span></td>';
} else {
echo '<td>Standard - <a target="_blank" href="https://pro.bludit.com">'.$L->g('Upgrade to Bludit PRO').'</a></td>';
}
echo '</tr>';
echo '<tr>';
echo '<td>Bludit Version</td>';
echo '<td>'.BLUDIT_VERSION.'</td>';
echo '</tr>';
echo '<tr>';
echo '<td>Bludit Codename</td>';
echo '<td>'.BLUDIT_CODENAME.'</td>';
echo '</tr>';
echo '<tr>';
echo '<td>Bludit Build Number</td>';
echo '<td>'.BLUDIT_BUILD.'</td>';
echo '</tr>';
echo '<tr>';
echo '<td>Disk usage</td>';
echo '<td>'.Filesystem::bytesToHumanFileSize(Filesystem::getSize(PATH_ROOT)).'</td>';
echo '</tr>';
echo '<tr>';
echo '<td><a href="'.HTML_PATH_ADMIN_ROOT.'developers'.'">Bludit Developers</a></td>';
echo '<td></td>';
echo '</tr>';
echo '
</tbody>
</table>
';

View file

@ -0,0 +1,59 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'themes' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('Blocks'), 'icon'=>'box')); ?>
</div>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
foreach ($blocks->getAll() as $block) {
echo Bootstrap::formTitle(array('title'=>$block->title()));
if (Text::isNotEmpty( $block->description() )) {
echo Bootstrap::alert(array('class'=>'alert-primary', 'text'=>$block->description()));
}
echo Bootstrap::formInputText(array(
'name'=>'key[]',
'label'=>$L->g('Key'),
'value'=>$block->key(),
'class'=>'',
'placeholder'=>'',
'tip'=>'',
'readonly'=>true
));
echo Bootstrap::formInputText(array(
'name'=>'title[]',
'label'=>$L->g('title'),
'value'=>$block->title(),
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formTextarea(array(
'name'=>'value[]',
'label'=>$L->g('Value'),
'value'=>$block->value(),
'class'=>'',
'placeholder'=>'',
'tip'=>'',
'rows'=>5
));
}
echo Bootstrap::formClose();
?>

View file

@ -0,0 +1,33 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
echo Bootstrap::pageTitle(array('title'=>$L->g('Categories'), 'icon'=>'tags'));
echo Bootstrap::link(array(
'title'=>$L->g('Add a new category'),
'href'=>HTML_PATH_ADMIN_ROOT.'new-category',
'icon'=>'plus'
));
echo '
<table class="table table-striped mt-3">
<thead>
<tr>
<th class="border-bottom-0" scope="col">'.$L->g('Name').'</th>
<th class="border-bottom-0" scope="col">'.$L->g('URL').'</th>
</tr>
</thead>
<tbody>
';
foreach ($categories->keys() as $key) {
$category = new Category($key);
echo '<tr>';
echo '<td><a href="'.HTML_PATH_ADMIN_ROOT.'edit-category/'.$key.'">'.$category->name().'</a></td>';
echo '<td><a href="'.$category->permalink().'">'.$url->filters('category', false).$key.'</a></td>';
echo '</tr>';
}
echo '
</tbody>
</table>
';

View file

@ -0,0 +1,26 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'plugin-form')); ?>
<div class="align-middle">
<?php if ($plugin->formButtons()): ?>
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php endif; ?>
<?php echo Bootstrap::pageTitle(array('title'=>$plugin->name(), 'icon'=>'cog')); ?>
</div>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
// Print the plugin form
echo $plugin->form();
?>
<?php echo Bootstrap::formClose(); ?>

View file

@ -0,0 +1,327 @@
<?php
echo Bootstrap::pageTitle(array('title'=>$L->g('Content'), 'icon'=>'archive'));
function table($type) {
global $url;
global $L;
global $published;
global $drafts;
global $scheduled;
global $static;
global $sticky;
global $autosave;
if ($type=='published') {
$list = $published;
if (empty($list)) {
echo '<p class="mt-4 text-muted">';
echo $L->g('There are no pages at this moment.');
echo '</p>';
return false;
}
} elseif ($type=='draft') {
$list = $drafts;
if (empty($list)) {
echo '<p class="mt-4 text-muted">';
echo $L->g('There are no draft pages at this moment.');
echo '</p>';
return false;
}
} elseif ($type=='scheduled') {
$list = $scheduled;
if (empty($list)) {
echo '<p class="mt-4 text-muted">';
echo $L->g('There are no scheduled pages at this moment.');
echo '</p>';
return false;
}
} elseif ($type=='static') {
$list = $static;
if (empty($list)) {
echo '<p class="mt-4 text-muted">';
echo $L->g('There are no static pages at this moment.');
echo '</p>';
return false;
}
} elseif ($type=='sticky') {
$list = $sticky;
if (empty($list)) {
echo '<p class="mt-4 text-muted">';
echo $L->g('There are no sticky pages at this moment.');
echo '</p>';
return false;
}
} elseif ($type=='autosave') {
$list = $autosave;
}
echo '
<table class="table mt-3">
<thead>
<tr>
<th class="border-0" scope="col">'.$L->g('Title').'</th>
';
if ($type=='published' || $type=='static' || $type=='sticky') {
echo '<th class="border-0 d-none d-lg-table-cell" scope="col">'.$L->g('URL').'</th>';
}
echo ' <th class="border-0 text-center d-sm-table-cell" scope="col">'.$L->g('Actions').'</th>
</tr>
</thead>
<tbody>
';
if ( (ORDER_BY=='position') || $type=='static' ) {
foreach ($list as $pageKey) {
try {
$page = new Page($pageKey);
if (!$page->isChild()) {
echo '<tr>
<td>
<div>
<a style="font-size: 1.1em" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'">'
.($page->title()?$page->title():'<span class="label-empty-title">'.$L->g('Empty title').'</span> ')
.'</a>
</div>
<div>
<p style="font-size: 0.8em" class="m-0 text-uppercase text-muted">'.( ((ORDER_BY=='position') || ($type!='published'))?$L->g('Position').': '.$page->position():$page->date(MANAGE_CONTENT_DATE_FORMAT) ).'</p>
</div>
</td>';
if ($type=='published' || $type=='static' || $type=='sticky') {
$friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$page->key() : '/'.$url->filters('page').'/'.$page->key();
echo '<td class="d-none d-lg-table-cell"><a target="_blank" href="'.$page->permalink().'">'.$friendlyURL.'</a></td>';
}
echo '<td class="contentTools pt-3 text-center d-sm-table-cell">'.PHP_EOL;
echo '<a class="text-secondary d-none d-md-inline" target="_blank" href="'.$page->permalink().'"><i class="fa fa-desktop"></i>'.$L->g('View').'</a>'.PHP_EOL;
echo '<a class="text-secondary d-none d-md-inline ml-2" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'"><i class="fa fa-edit"></i>'.$L->g('Edit').'</a>'.PHP_EOL;
if (count($page->children())==0) {
echo '<a href="#" class="ml-2 text-danger deletePageButton d-block d-sm-inline" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$page->key().'"><i class="fa fa-trash"></i>'.$L->g('Delete').'</a>'.PHP_EOL;
}
echo '</td>';
echo '</tr>';
foreach ($page->children() as $child) {
//if ($child->published()) {
echo '<tr>
<td class="child">
<div>
<a style="font-size: 1.1em" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$child->key().'">'
.($child->title()?$child->title():'<span class="label-empty-title">'.$L->g('Empty title').'</span> ')
.'</a>
</div>
<div>
<p style="font-size: 0.8em" class="m-0 text-uppercase text-muted">'.( ((ORDER_BY=='position') || ($type!='published'))?$L->g('Position').': '.$child->position():$child->date(MANAGE_CONTENT_DATE_FORMAT) ).'</p>
</div>
</td>';
if ($type=='published' || $type=='static' || $type=='sticky') {
$friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$child->key() : '/'.$url->filters('page').'/'.$child->key();
echo '<td class="d-none d-lg-table-cell"><a target="_blank" href="'.$child->permalink().'">'.$friendlyURL.'</a></td>';
}
echo '<td class="contentTools pt-3 text-center d-sm-table-cell">'.PHP_EOL;
if ($type=='published' || $type=='static' || $type=='sticky') {
echo '<a class="text-secondary d-none d-md-inline" target="_blank" href="'.$child->permalink().'"><i class="fa fa-desktop"></i>'.$L->g('View').'</a>'.PHP_EOL;
}
echo '<a class="text-secondary d-none d-md-inline ml-2" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$child->key().'"><i class="fa fa-edit"></i>'.$L->g('Edit').'</a>'.PHP_EOL;
echo '<a class="ml-2 text-danger deletePageButton d-block d-sm-inline" href="#" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$child->key().'"><i class="fa fa-trash"></i>'.$L->g('Delete').'</a>'.PHP_EOL;
echo '</td>';
echo '</tr>';
//}
}
}
} catch (Exception $e) {
// Continue
}
}
} else {
foreach ($list as $pageKey) {
try {
$page = new Page($pageKey);
echo '<tr>';
echo '<td class="pt-3">
<div>
<a style="font-size: 1.1em" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'">'
.($page->title()?$page->title():'<span class="label-empty-title">'.$L->g('Empty title').'</span> ')
.'</a>
</div>
<div>
<p style="font-size: 0.8em" class="m-0 text-uppercase text-muted">'.( ($type=='scheduled')?$L->g('Scheduled').': '.$page->date(SCHEDULED_DATE_FORMAT):$page->date(MANAGE_CONTENT_DATE_FORMAT) ).'</p>
</div>
</td>';
if ($type=='published' || $type=='static' || $type=='sticky') {
$friendlyURL = Text::isEmpty($url->filters('page')) ? '/'.$page->key() : '/'.$url->filters('page').'/'.$page->key();
echo '<td class="pt-3 d-none d-lg-table-cell"><a target="_blank" href="'.$page->permalink().'">'.$friendlyURL.'</a></td>';
}
echo '<td class="contentTools pt-3 text-center d-sm-table-cell">'.PHP_EOL;
if ($type=='published' || $type=='static' || $type=='sticky') {
echo '<a class="text-secondary d-none d-md-inline" target="_blank" href="'.$page->permalink().'"><i class="fa fa-desktop"></i>'.$L->g('View').'</a>'.PHP_EOL;
}
echo '<a class="text-secondary d-none d-md-inline ml-2" href="'.HTML_PATH_ADMIN_ROOT.'edit-content/'.$page->key().'"><i class="fa fa-edit"></i>'.$L->g('Edit').'</a>'.PHP_EOL;
if (count($page->children())==0) {
echo '<a href="#" class="ml-2 text-danger deletePageButton d-block d-sm-inline" data-toggle="modal" data-target="#jsdeletePageModal" data-key="'.$page->key().'"><i class="fa fa-trash"></i>'.$L->g('Delete').'</a>'.PHP_EOL;
}
echo '</td>';
echo '</tr>';
} catch (Exception $e) {
// Continue
}
}
}
echo '
</tbody>
</table>
';
}
?>
<!-- TABS -->
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="pages-tab" data-toggle="tab" href="#pages" role="tab"><?php $L->p('Pages') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="static-tab" data-toggle="tab" href="#static" role="tab"><?php $L->p('Static') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="sticky-tab" data-toggle="tab" href="#sticky" role="tab"><?php $L->p('Sticky') ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="scheduled-tab" data-toggle="tab" href="#scheduled" role="tab"><?php $L->p('Scheduled') ?> <?php if (count($scheduled)>0) { echo '<span class="badge badge-danger">'.count($scheduled).'</span>'; } ?></a>
</li>
<li class="nav-item">
<a class="nav-link" id="draft-tab" data-toggle="tab" href="#draft" role="tab"><?php $L->p('Draft') ?></a>
</li>
<?php if (!empty($autosave)): ?>
<li class="nav-item">
<a class="nav-link" id="autosave-tab" data-toggle="tab" href="#autosave" role="tab"><?php $L->p('Autosave') ?></a>
</li>
<?php endif; ?>
</ul>
<div class="tab-content">
<!-- TABS PAGES -->
<div class="tab-pane show active" id="pages" role="tabpanel">
<?php table('published'); ?>
<?php if (Paginator::numberOfPages() > 1): ?>
<!-- Paginator -->
<nav class="paginator">
<ul class="pagination flex-wrap justify-content-center">
<!-- First button -->
<li class="page-item <?php if (!Paginator::showPrev()) echo 'disabled' ?>">
<a class="page-link" href="<?php echo Paginator::firstPageUrl() ?>"><span class="align-middle fa fa-media-skip-backward"></span> <?php echo $L->get('First'); ?></a>
</li>
<!-- Previous button -->
<li class="page-item <?php if (!Paginator::showPrev()) echo 'disabled' ?>">
<a class="page-link" href="<?php echo Paginator::previousPageUrl() ?>"><?php echo $L->get('Previous'); ?></a>
</li>
<!-- Next button -->
<li class="page-item <?php if (!Paginator::showNext()) echo 'disabled' ?>">
<a class="page-link" href="<?php echo Paginator::nextPageUrl() ?>"><?php echo $L->get('Next'); ?></a>
</li>
<!-- Last button -->
<li class="page-item <?php if (!Paginator::showNext()) echo 'disabled' ?>">
<a class="page-link" href="<?php echo Paginator::lastPageUrl() ?>"><?php echo $L->get('Last'); ?> <span class="align-middle fa fa-media-skip-forward"></span></a>
</li>
</ul>
</nav>
<?php endif; ?>
</div>
<!-- TABS STATIC -->
<div class="tab-pane" id="static" role="tabpanel">
<?php table('static'); ?>
</div>
<!-- TABS STICKY -->
<div class="tab-pane" id="sticky" role="tabpanel">
<?php table('sticky'); ?>
</div>
<!-- TABS SCHEDULED -->
<div class="tab-pane" id="scheduled" role="tabpanel">
<?php table('scheduled'); ?>
</div>
<!-- TABS DRAFT -->
<div class="tab-pane" id="draft" role="tabpanel">
<?php table('draft'); ?>
</div>
<!-- TABS AUTOSAVE -->
<?php if (!empty($autosave)): ?>
<div class="tab-pane" id="autosave" role="tabpanel">
<?php table('autosave'); ?>
</div>
<?php endif; ?>
</div>
<!-- Modal for delete page -->
<?php
echo Bootstrap::modal(array(
'buttonPrimary'=>$L->g('Delete'),
'buttonPrimaryClass'=>'btn-danger deletePageModalAcceptButton',
'buttonSecondary'=>$L->g('Cancel'),
'buttonSecondaryClass'=>'btn-link',
'modalTitle'=>$L->g('Delete content'),
'modalText'=>$L->g('Are you sure you want to delete this page'),
'modalId'=>'jsdeletePageModal'
));
?>
<script>
$(document).ready(function() {
var key = false;
// Button for delete a page in the table
$(".deletePageButton").on("click", function() {
key = $(this).data('key');
});
// Event from button accept from the modal
$(".deletePageModalAcceptButton").on("click", function() {
var form = jQuery('<form>', {
'action': HTML_PATH_ADMIN_ROOT+'edit-content/'+key,
'method': 'post',
'target': '_top'
}).append(jQuery('<input>', {
'type': 'hidden',
'name': 'tokenCSRF',
'value': tokenCSRF
}).append(jQuery('<input>', {
'type': 'hidden',
'name': 'key',
'value': key
}).append(jQuery('<input>', {
'type': 'hidden',
'name': 'type',
'value': 'delete'
}))));
form.hide().appendTo("body").submit();
});
});
</script>
<script>
// Open the tab defined in the URL
const anchor = window.location.hash;
$(`a[href="${anchor}"]`).tab('show');
</script>

View file

@ -0,0 +1,140 @@
<div id="dashboard" class="container">
<div class="row">
<div class="col-md-7">
<!-- Good message -->
<div>
<h2 id="hello-message" class="pt-0">
<?php
$username = $login->username();
$user = new User($username);
$name = '';
if ($user->nickname()) {
$name = $user->nickname();
} elseif ($user->firstName()) {
$name = $user->firstName();
}
?>
<span class="fa fa-hand-spock-o"></span><span><?php echo $L->g('welcome') ?></span>
</h2>
<script>
$(document).ready(function() {
$("#hello-message").fadeOut(2400, function() {
var date = new Date()
var hours = date.getHours()
if (hours >= 6 && hours < 12) {
$(this).html('<span class="fa fa-sun-o"></span><?php echo $L->g('good-morning') . ', ' . $name ?>');
} else if (hours >= 12 && hours < 18) {
$(this).html('<span class="fa fa-sun-o"></span><?php echo $L->g('good-afternoon') . ', ' . $name ?>');
} else if (hours >= 18 && hours < 22) {
$(this).html('<span class="fa fa-moon-o"></span><?php echo $L->g('good-evening') . ', ' . $name ?>');
} else {
$(this).html('<span class="fa fa-moon-o"></span><span><?php echo $L->g('good-night') . ', ' . $name ?></span>');
}
}).fadeIn(1000);
});
</script>
</div>
<!-- Quick Links -->
<div class="container pb-5" id="jsclippyContainer">
<div class="row">
<div class="col p-0">
<div class="form-group">
<select id="jsclippy" class="clippy" name="state"></select>
</div>
</div>
</div>
<script>
$(document).ready(function() {
var clippy = $("#jsclippy").select2({
placeholder: "<?php $L->p('Start typing to see a list of suggestions') ?>",
allowClear: true,
width: "100%",
theme: "bootstrap4",
minimumInputLength: 2,
dropdownParent: "#jsclippyContainer",
language: {
inputTooShort: function() {
return '';
}
},
ajax: {
url: HTML_PATH_ADMIN_ROOT + "ajax/clippy",
data: function(params) {
var query = {
query: params.term
}
return query;
},
processResults: function(data) {
return data;
}
},
templateResult: function(data) {
// console.log(data);
var html = '';
if (data.type == 'menu') {
html += '<a href="' + data.url + '"><div class="search-suggestion">';
html += '<span class="fa fa-' + data.icon + '"></span>' + data.text + '</div></a>';
} else {
if (typeof data.id === 'undefined') {
return '';
}
html += '<div class="search-suggestion">';
html += '<div class="search-suggestion-item">' + data.text + ' <span class="badge badge-pill badge-light">' + data.type + '</span></div>';
html += '<div class="search-suggestion-options">';
html += '<a target="_blank" href="' + DOMAIN_PAGES + data.id + '"><?php $L->p('view') ?></a>';
html += '<a class="ml-2" href="' + DOMAIN_ADMIN + 'edit-content/' + data.id + '"><?php $L->p('edit') ?></a>';
html += '</div></div>';
}
return html;
},
escapeMarkup: function(markup) {
return markup;
}
}).on("select2:closing", function(e) {
e.preventDefault();
}).on("select2:closed", function(e) {
clippy.select2("open");
});
clippy.select2("open");
});
</script>
</div>
<?php Theme::plugins('dashboard') ?>
</div>
<div class="col-md-5">
<!-- Notifications -->
<ul class="list-group list-group-striped b-0">
<li class="list-group-item pt-0">
<h4 class="m-0"><?php $L->p('Notifications') ?></h4>
</li>
<?php
$logs = array_slice($syslog->db, 0, NOTIFICATIONS_AMOUNT);
foreach ($logs as $log) {
$phrase = $L->g($log['dictionaryKey']);
echo '<li class="list-group-item">';
echo $phrase;
if (!empty($log['notes'])) {
echo ' « <b>' . $log['notes'] . '</b> »';
}
echo '<br><span class="notification-date"><small>';
echo Date::format($log['date'], DB_DATE_FORMAT, NOTIFICATIONS_DATE_FORMAT);
echo ' [ ' . $log['username'] . ' ]';
echo '</small></span>';
echo '</li>';
}
?>
</ul>
</div>
</div>
</div>

View file

@ -0,0 +1,38 @@
<?php
echo Bootstrap::pageTitle(array('title'=>$L->g('Developers'), 'icon'=>'gears'));
echo '<h2 class="mb-4 mt-4"><b>PHP version: '.phpversion().'</b></h2>';
// PHP Ini
$uploadOptions = array(
'upload_max_filesize'=>ini_get('upload_max_filesize'),
'post_max_size'=>ini_get('post_max_size'),
'upload_tmp_dir'=>ini_get('upload_tmp_dir')
);
printTable('File Uploads', $uploadOptions);
// Loaded extensions
printTable('Server information ( $_SERVER )', $_SERVER);
// PHP Ini
printTable('PHP Configuration options ( ini_get_all() )', ini_get_all());
// Loaded extensions
printTable('Loaded extensions',get_loaded_extensions());
// Locales installed
exec('locale -a', $locales);
printTable('Locales installed', $locales);
echo '<hr>';
echo '<h2>BLUDIT</h2>';
echo '<hr>';
// Constanst defined by Bludit
$constants = get_defined_constants(true);
printTable('Bludit Constants', $constants['user']);
// Site object
printTable('$site object database',$site->db);

View file

@ -0,0 +1,92 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<button type="button" class="btn btn-danger btn-sm" data-toggle="modal" data-target="#jsdeleteModal"><?php $L->p('Delete') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'dashboard' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('Edit Category'), 'icon'=>'cog')); ?>
</div>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
echo Bootstrap::formInputHidden(array(
'name'=>'action',
'value'=>'edit'
));
echo Bootstrap::formInputHidden(array(
'name'=>'oldKey',
'value'=>$categoryMap['key']
));
echo Bootstrap::formInputText(array(
'name'=>'name',
'label'=>$L->g('Name'),
'value'=>$categoryMap['name'],
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formTextarea(array(
'name'=>'description',
'label'=>$L->g('Description'),
'value'=>isset($categoryMap['description'])?$categoryMap['description']:'',
'class'=>'',
'placeholder'=>'',
'tip'=>'',
'rows'=>3
));
echo Bootstrap::formInputText(array(
'name'=>'template',
'label'=>$L->g('Template'),
'value'=>isset($categoryMap['template'])?$categoryMap['template']:'',
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'newKey',
'label'=>$L->g('Friendly URL'),
'value'=>$categoryMap['key'],
'class'=>'',
'placeholder'=>'',
'tip'=>DOMAIN_CATEGORIES.$categoryMap['key']
));
echo Bootstrap::formClose();
?>
<!-- Modal for delete category -->
<?php
echo Bootstrap::modal(array(
'buttonPrimary'=>$L->g('Delete'),
'buttonPrimaryClass'=>'btn-danger jsbuttonDeleteAccept',
'buttonSecondary'=>$L->g('Cancel'),
'buttonSecondaryClass'=>'btn-link',
'modalTitle'=>$L->g('Delete category'),
'modalText'=>$L->g('Are you sure you want to delete this category?'),
'modalId'=>'jsdeleteModal'
));
?>
<script>
$(document).ready(function() {
// Delete content
$(".jsbuttonDeleteAccept").on("click", function() {
$("#jsaction").val("delete");
$("#jsform").submit();
});
});
</script>

View file

@ -0,0 +1,563 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php
// FORM START
echo Bootstrap::formOpen(array(
'id' => 'jsform',
'class' => 'd-flex flex-column h-100'
));
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name' => 'tokenCSRF',
'value' => $security->getTokenCSRF()
));
// UUID
// The UUID is generated in the controller
echo Bootstrap::formInputHidden(array(
'name' => 'uuid',
'value' => $page->uuid()
));
// Type = published, draft, sticky, static
echo Bootstrap::formInputHidden(array(
'name' => 'type',
'value' => $page->type()
));
// Cover image
echo Bootstrap::formInputHidden(array(
'name' => 'coverImage',
'value' => $page->coverImage(false)
));
// Content
echo Bootstrap::formInputHidden(array(
'name' => 'content',
'value' => ''
));
// Current page key
echo Bootstrap::formInputHidden(array(
'name' => 'key',
'value' => $page->key()
));
?>
<!-- TOOLBAR -->
<div id="jseditorToolbar" class="mb-1">
<div id="jseditorToolbarRight" class="btn-group btn-group-sm float-right" role="group" aria-label="Toolbar right">
<button type="button" class="btn btn-light" id="jsmediaManagerOpenModal" data-toggle="modal" data-target="#jsmediaManagerModal"><span class="fa fa-image"></span> <?php $L->p('Images') ?></button>
<button type="button" class="btn btn-light" id="jsoptionsSidebar" style="z-index:30"><span class="fa fa-cog"></span> <?php $L->p('Options') ?></button>
</div>
<div id="jseditorToolbarLeft">
<button type="button" class="btn btn-sm btn-primary" id="jsbuttonSave"><?php echo $L->g('Save') ?></button>
<button id="jsbuttonPreview" type="button" class="btn btn-sm btn-secondary"><?php $L->p('Preview') ?></button>
<span id="jsswitchButton" data-switch="<?php echo ($page->draft() ? 'draft' : 'publish') ?>" class="ml-2 text-secondary switch-button"><i class="fa fa-square switch-icon-<?php echo ($page->draft() ? 'draft' : 'publish') ?>"></i> <?php echo ($page->draft() ? $L->g('Draft') : $L->g('Publish')) ?></span>
</div>
<?php if ($page->scheduled()) : ?>
<div class="alert alert-warning p-1 mt-1 mb-0"><?php $L->p('scheduled') ?>: <?php echo $page->date(SCHEDULED_DATE_FORMAT) ?></div>
<?php endif; ?>
</div>
<script>
$(document).ready(function() {
$("#jsoptionsSidebar").on("click", function() {
$("#jseditorSidebar").toggle();
$("#jsshadow").toggle();
});
$("#jsshadow").on("click", function() {
$("#jseditorSidebar").toggle();
$("#jsshadow").toggle();
});
});
</script>
<!-- SIDEBAR OPTIONS -->
<div id="jseditorSidebar">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-link active show" id="nav-general-tab" data-toggle="tab" href="#nav-general" role="tab" aria-controls="general"><?php $L->p('General') ?></a>
<a class="nav-link" id="nav-advanced-tab" data-toggle="tab" href="#nav-advanced" role="tab" aria-controls="advanced"><?php $L->p('Advanced') ?></a>
<?php if (!empty($site->customFields())) : ?>
<a class="nav-link" id="nav-custom-tab" data-toggle="tab" href="#nav-custom" role="tab" aria-controls="custom"><?php $L->p('Custom') ?></a>
<?php endif ?>
<a class="nav-link" id="nav-seo-tab" data-toggle="tab" href="#nav-seo" role="tab" aria-controls="seo"><?php $L->p('SEO') ?></a>
</div>
</nav>
<div class="tab-content pr-3 pl-3 pb-3">
<div id="nav-general" class="tab-pane fade show active" role="tabpanel" aria-labelledby="general-tab">
<?php
// Category
echo Bootstrap::formSelectBlock(array(
'name' => 'category',
'label' => $L->g('Category'),
'selected' => $page->categoryKey(),
'class' => '',
'emptyOption' => '- ' . $L->g('Uncategorized') . ' -',
'options' => $categories->getKeyNameArray()
));
// Description
echo Bootstrap::formTextareaBlock(array(
'name' => 'description',
'label' => $L->g('Description'),
'selected' => '',
'class' => '',
'value' => $page->description(),
'rows' => 5,
'placeholder' => $L->get('this-field-can-help-describe-the-content')
));
?>
<!-- Cover Image -->
<?php
$coverImage = $page->coverImage(false);
$externalCoverImage = '';
if (filter_var($coverImage, FILTER_VALIDATE_URL)) {
$coverImage = '';
$externalCoverImage = $page->coverImage(false);
}
?>
<label class="mt-4 mb-2 pb-2 border-bottom text-uppercase w-100"><?php $L->p('Cover Image') ?></label>
<div>
<img id="jscoverImagePreview" class="mx-auto d-block w-100" alt="Cover image preview" src="<?php echo (empty($coverImage) ? HTML_PATH_CORE_IMG . 'default.svg' : $page->coverImage()) ?>" />
</div>
<div class="mt-2 text-center">
<button type="button" id="jsbuttonSelectCoverImage" class="btn btn-primary btn-sm"><?php echo $L->g('Select cover image') ?></button>
<button type="button" id="jsbuttonRemoveCoverImage" class="btn btn-secondary btn-sm"><?php echo $L->g('Remove cover image') ?></button>
</div>
<script>
$(document).ready(function() {
$("#jscoverImagePreview").on("click", function() {
openMediaManager();
});
$("#jsbuttonSelectCoverImage").on("click", function() {
openMediaManager();
});
$("#jsbuttonRemoveCoverImage").on("click", function() {
$("#jscoverImage").val('');
$("#jscoverImagePreview").attr('src', HTML_PATH_CORE_IMG + 'default.svg');
});
});
</script>
</div>
<div id="nav-advanced" class="tab-pane fade" role="tabpanel" aria-labelledby="advanced-tab">
<?php
// Date
echo Bootstrap::formInputTextBlock(array(
'name' => 'date',
'label' => $L->g('Date'),
'placeholder' => '',
'value' => $page->dateRaw(),
'tip' => $L->g('date-format-format')
));
// Type
echo Bootstrap::formSelectBlock(array(
'name' => 'typeSelector',
'label' => $L->g('Type'),
'selected' => $page->type(),
'options' => array(
'published' => '- ' . $L->g('Default') . ' -',
'sticky' => $L->g('Sticky'),
'static' => $L->g('Static')
),
'tip' => ''
));
// Position
echo Bootstrap::formInputTextBlock(array(
'name' => 'position',
'label' => $L->g('Position'),
'tip' => $L->g('Field used when ordering content by position'),
'value' => $page->position()
));
// Tags
echo Bootstrap::formInputTextBlock(array(
'name' => 'tags',
'label' => $L->g('Tags'),
'placeholder' => '',
'tip' => $L->g('Write the tags separated by comma'),
'value' => $page->tags()
));
// Parent
try {
$options = array();
$parentKey = $page->parent();
if (!empty($parentKey)) {
$parent = new Page($parentKey);
$options = array($parentKey => $parent->title());
}
} catch (Exception $e) {
// continue
}
echo Bootstrap::formSelectBlock(array(
'name' => 'parent',
'label' => $L->g('Parent'),
'options' => $options,
'selected' => false,
'class' => '',
'tip' => $L->g('Start typing a page title to see a list of suggestions.'),
));
?>
<script>
$(document).ready(function() {
var parent = $("#jsparent").select2({
placeholder: "",
allowClear: true,
theme: "bootstrap4",
minimumInputLength: 2,
ajax: {
url: HTML_PATH_ADMIN_ROOT + "ajax/get-published",
data: function(params) {
var query = {
checkIsParent: true,
query: params.term
}
return query;
},
processResults: function(data) {
return data;
}
},
escapeMarkup: function(markup) {
return markup;
},
templateResult: function(data) {
var html = data.text
if (data.type == "static") {
html += '<span class="badge badge-pill badge-light">' + data.type + '</span>';
}
return html;
}
});
});
</script>
<?php
// Template
echo Bootstrap::formInputTextBlock(array(
'name' => 'template',
'label' => $L->g('Template'),
'placeholder' => '',
'value' => $page->template(),
'tip' => $L->g('Write a template name to filter the page in the theme and change the style of the page.')
));
echo Bootstrap::formInputTextBlock(array(
'name' => 'externalCoverImage',
'label' => $L->g('External cover image'),
'placeholder' => "https://",
'value' => $externalCoverImage,
'tip' => $L->g('Set a cover image from external URL, such as a CDN or some server dedicated for images.')
));
// Username
echo Bootstrap::formInputTextBlock(array(
'name' => '',
'label' => $L->g('Author'),
'placeholder' => '',
'value' => $page->username(),
'tip' => '',
'disabled' => true
));
?>
<script>
$(document).ready(function() {
// Changes in External cover image input
$("#jsexternalCoverImage").change(function() {
$("#jscoverImage").val($(this).val());
});
// Datepicker
$("#jsdate").datetimepicker({
format: DB_DATE_FORMAT
});
});
</script>
</div>
<?php if (!empty($site->customFields())) : ?>
<div id="nav-custom" class="tab-pane fade" role="tabpanel" aria-labelledby="custom-tab">
<?php
$customFields = $site->customFields();
foreach ($customFields as $field => $options) {
if (!isset($options['position'])) {
if ($options['type'] == "string") {
echo Bootstrap::formInputTextBlock(array(
'name' => 'custom[' . $field . ']',
'value' => (isset($options['default']) ? $options['default'] : ''),
'tip' => (isset($options['tip']) ? $options['tip'] : ''),
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'value' => $page->custom($field)
));
} elseif ($options['type'] == "bool") {
echo Bootstrap::formCheckbox(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'checked' => $page->custom($field),
'labelForCheckbox' => (isset($options['tip']) ? $options['tip'] : '')
));
}
}
}
?>
</div>
<?php endif ?>
<div id="nav-seo" class="tab-pane fade" role="tabpanel" aria-labelledby="seo-tab">
<?php
// Friendly URL
echo Bootstrap::formInputTextBlock(array(
'name' => 'slug',
'tip' => $L->g('URL associated with the content'),
'label' => $L->g('Friendly URL'),
'placeholder' => $L->g('Leave empty for autocomplete by Bludit.'),
'value' => $page->slug()
));
// Robots
echo Bootstrap::formCheckbox(array(
'name' => 'noindex',
'label' => 'Robots',
'labelForCheckbox' => $L->g('apply-code-noindex-code-to-this-page'),
'placeholder' => '',
'checked' => $page->noindex(),
'tip' => $L->g('This tells search engines not to show this page in their search results.')
));
// Robots
echo Bootstrap::formCheckbox(array(
'name' => 'nofollow',
'label' => '',
'labelForCheckbox' => $L->g('apply-code-nofollow-code-to-this-page'),
'placeholder' => '',
'checked' => $page->nofollow(),
'tip' => $L->g('This tells search engines not to follow links on this page.')
));
// Robots
echo Bootstrap::formCheckbox(array(
'name' => 'noarchive',
'label' => '',
'labelForCheckbox' => $L->g('apply-code-noarchive-code-to-this-page'),
'placeholder' => '',
'checked' => $page->noarchive(),
'tip' => $L->g('This tells search engines not to save a cached copy of this page.')
));
?>
</div>
</div>
</div>
<!-- Custom fields: TOP -->
<?php
$customFields = $site->customFields();
foreach ($customFields as $field => $options) {
if (isset($options['position']) && ($options['position'] == 'top')) {
if ($options['type'] == "string") {
echo Bootstrap::formInputTextBlock(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'value' => $page->custom($field),
'tip' => (isset($options['tip']) ? $options['tip'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'class' => 'mb-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
} elseif ($options['type'] == "bool") {
echo Bootstrap::formCheckbox(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'checked' => $page->custom($field),
'labelForCheckbox' => (isset($options['tip']) ? $options['tip'] : ''),
'class' => 'mb-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
}
}
}
?>
<!-- Title -->
<div class="form-group mb-1">
<input id="jstitle" name="title" type="text" dir="auto" class="form-control form-control-lg rounded-0" value="<?php echo $page->title() ?>" placeholder="<?php $L->p('Enter title') ?>">
</div>
<!-- Editor -->
<textarea id="jseditor" class="editable h-100" style=""><?php echo $page->contentRaw(true) ?></textarea>
<!-- Custom fields: BOTTOM -->
<?php
$customFields = $site->customFields();
foreach ($customFields as $field => $options) {
if (isset($options['position']) && ($options['position'] == 'bottom')) {
if ($options['type'] == "string") {
echo Bootstrap::formInputTextBlock(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'value' => $page->custom($field),
'tip' => (isset($options['tip']) ? $options['tip'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'class' => 'mt-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
} elseif ($options['type'] == "bool") {
echo Bootstrap::formCheckbox(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'checked' => $page->custom($field),
'labelForCheckbox' => (isset($options['tip']) ? $options['tip'] : ''),
'class' => 'mt-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
}
}
}
?>
</form>
<!-- Modal for Delete page -->
<div id="jsdeletePageModal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<h3><?php $L->p('Delete content') ?></h3>
<p><?php $L->p('Are you sure you want to delete this page') ?></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-link" data-dismiss="modal"><?php $L->p('Cancel') ?></button>
<button type="button" class="btn btn-danger" data-dismiss="modal" id="jsbuttonDeleteAccept"><?php $L->p('Delete') ?></button>
</div>
</div>
</div>
<script>
$(document).ready(function() {
$("#jsbuttonDeleteAccept").on("click", function() {
$("#jstype").val("delete");
$("#jscontent").val("");
$("#jsform").submit();
});
});
</script>
</div>
<!-- Modal for Media Manager -->
<?php include(PATH_ADMIN_THEMES . 'booty/html/media.php'); ?>
<script>
$(document).ready(function() {
// Define function if they doesn't exist
// This helps if the user doesn't activate any plugin as editor
if (typeof editorGetContent != "function") {
window.editorGetContent = function() {
return $("#jseditor").val();
};
}
if (typeof editorInsertMedia != "function") {
window.editorInsertMedia = function(filename) {
$("#jseditor").val($('#jseditor').val() + '<img src="' + filename + '" alt="">');
};
}
if (typeof editorInsertLinkedMedia != "function") {
window.editorInsertLinkedMedia = function(filename, link) {
$("#jseditor").val($('#jseditor').val() + '<a href="' + link + '"><img src="' + filename + '" alt=""></a>');
};
}
// Button switch
$("#jsswitchButton").on("click", function() {
if ($(this).data("switch") == "publish") {
$(this).html('<i class="fa fa-square switch-icon-draft"></i> <?php $L->p('Draft') ?>');
$(this).data("switch", "draft");
} else {
$(this).html('<i class="fa fa-square switch-icon-publish"></i> <?php $L->p('Publish') ?>');
$(this).data("switch", "publish");
}
});
// Button preview
$("#jsbuttonPreview").on("click", function() {
var uuid = $("#jsuuid").val();
var title = $("#jstitle").val();
var content = editorGetContent();
var ajax = new bluditAjax();
bluditAjax.saveAsDraft(uuid, title, content).then(function(data) {
var preview = window.open("<?php echo DOMAIN_PAGES . 'autosave-' . $page->uuid() . '?preview=' . md5('autosave-' . $page->uuid()) ?>", "bludit-preview");
preview.focus();
});
});
// Button Save
$("#jsbuttonSave").on("click", function() {
// If the switch is setted to "published", get the value from the selector
if ($("#jsswitchButton").data("switch") == "publish") {
var value = $("#jstypeSelector option:selected").val();
$("#jstype").val(value);
} else {
$("#jstype").val("draft");
}
// Get the content
$("#jscontent").val(editorGetContent());
// Submit the form
$("#jsform").submit();
});
// Button Save as draft
$("#jsbuttonDraft").on("click", function() {
// Set the type as draft
$("#jstype").val("draft");
// Get the content
$("#jscontent").val(editorGetContent());
// Submit the form
$("#jsform").submit();
});
// Autosave
var currentContent = editorGetContent();
setInterval(function() {
var uuid = $("#jsuuid").val();
var title = $("#jstitle").val() + "[<?php $L->p('Autosave') ?>]";
var content = editorGetContent();
// Autosave when content has at least 100 characters
if (content.length < 100) {
return false;
}
// Autosave only when the user change the content
if (currentContent != content) {
currentContent = content;
bluditAjax.saveAsDraft(uuid, title, content).then(function(data) {
if (data.status == 0) {
showAlert("<?php $L->p('Autosave') ?>");
}
});
}
}, 1000 * 60 * AUTOSAVE_INTERVAL);
});
</script>

View file

@ -0,0 +1,316 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id' => 'jsform', 'class' => 'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT . 'users' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title' => $L->g('Edit user'), 'icon' => 'user')); ?>
</div>
<!-- TABS -->
<nav class="mb-3">
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-profile-tab" data-toggle="tab" href="#profile" role="tab" aria-controls="nav-profile" aria-selected="false"><?php $L->p('Profile') ?></a>
<a class="nav-item nav-link" id="nav-picture-tab" data-toggle="tab" href="#picture" role="tab" aria-controls="nav-picture" aria-selected="false"><?php $L->p('Profile picture') ?></a>
<a class="nav-item nav-link" id="nav-security-tab" data-toggle="tab" href="#security" role="tab" aria-controls="nav-security" aria-selected="false"><?php $L->p('Security') ?></a>
<a class="nav-item nav-link" id="nav-social-tab" data-toggle="tab" href="#social" role="tab" aria-controls="nav-social" aria-selected="false"><?php $L->p('Social Networks') ?></a>
</div>
</nav>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name' => 'tokenCSRF',
'value' => $security->getTokenCSRF()
));
// Username
echo Bootstrap::formInputHidden(array(
'name' => 'username',
'value' => $user->username()
));
?>
<div class="tab-content" id="nav-tabContent">
<!-- Profile tab -->
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="nav-profile-tab">
<?php
// Display username but disable the field
echo Bootstrap::formInputText(array(
'name' => 'usernameDisabled',
'label' => $L->g('Username'),
'value' => $user->username(),
'class' => '',
'placeholder' => '',
'disabled' => true,
'tip' => ''
));
if ($login->role() === 'admin') {
echo Bootstrap::formSelect(array(
'name' => 'role',
'label' => $L->g('Role'),
'options' => array('author' => $L->g('Author'), 'editor' => $L->g('Editor'), 'admin' => $L->g('Administrator')),
'selected' => $user->role(),
'class' => '',
'tip' => $L->g('author-can-write-and-edit-their-own-content')
));
}
echo Bootstrap::formInputText(array(
'name' => 'email',
'label' => $L->g('Email'),
'value' => $user->email(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'nickname',
'label' => $L->g('Nickname'),
'value' => $user->nickname(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('The nickname is almost used in the themes to display the author of the content')
));
echo Bootstrap::formInputText(array(
'name' => 'firstName',
'label' => $L->g('First Name'),
'value' => $user->firstName(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'lastName',
'label' => $L->g('Last Name'),
'value' => $user->lastName(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
?>
</div>
<!-- Profile picture tab -->
<div class="tab-pane fade" id="picture" role="tabpanel" aria-labelledby="nav-picture-tab">
<div class="container">
<div class="row">
<div class="col-lg-4 col-sm-12 p-0 pr-2">
<div class="custom-file">
<input type="file" class="custom-file-input" id="jsprofilePictureInputFile" name="profilePictureInputFile">
<label class="custom-file-label" for="jsprofilePictureInputFile"><?php $L->p('Upload image'); ?></label>
</div>
<!-- <button id="jsbuttonRemovePicture" type="button" class="btn btn-primary w-100 mt-4 mb-4"><i class="fa fa-trash"></i> Remove picture</button> -->
</div>
<div class="col-lg-8 col-sm-12 p-0 text-center">
<img id="jsprofilePicturePreview" class="img-fluid img-thumbnail" alt="Profile picture preview" src="<?php echo (Sanitize::pathFile(PATH_UPLOADS_PROFILES . $user->username() . '.png') ? DOMAIN_UPLOADS_PROFILES . $user->username() . '.png?version=' . time() : HTML_PATH_CORE_IMG . 'default.svg') ?>" />
</div>
</div>
</div>
<script>
// $("#jsbuttonRemovePicture").on("click", function() {
// var username = $("#jsusername").val();
// bluditAjax.removeProfilePicture(username);
// $("#jsprofilePicturePreview").attr("src", "<?php echo HTML_PATH_CORE_IMG . 'default.svg' ?>");
// });
$("#jsprofilePictureInputFile").on("change", function() {
var formData = new FormData();
formData.append('tokenCSRF', tokenCSRF);
formData.append('profilePictureInputFile', $(this)[0].files[0]);
formData.append('username', $("#jsusername").val());
$.ajax({
url: HTML_PATH_ADMIN_ROOT + "ajax/profile-picture-upload",
type: "POST",
data: formData,
cache: false,
contentType: false,
processData: false
}).done(function(data) {
if (data.status == 0) {
$("#jsprofilePicturePreview").attr('src', data.absoluteURL + "?time=" + Math.random());
} else {
showAlert(data.message);
}
});
});
</script>
</div>
<!-- Security tab -->
<div class="tab-pane fade" id="security" role="tabpanel" aria-labelledby="nav-security-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Password')));
echo '
<div class="form-group">
<a href="' . HTML_PATH_ADMIN_ROOT . 'user-password/' . $user->username() . '" class="btn btn-primary mr-2">' . $L->g('Change password') . '</a>
</div>
';
echo Bootstrap::formTitle(array('title' => $L->g('Authentication Token')));
echo Bootstrap::formInputText(array(
'name' => 'tokenAuth',
'label' => $L->g('Token'),
'value' => $user->tokenAuth(),
'class' => '',
'tip' => $L->g('this-token-is-similar-to-a-password-it-should-not-be-shared')
));
if (checkRole(array('admin'), false)) {
echo Bootstrap::formTitle(array('title' => $L->g('Status')));
echo Bootstrap::formInputText(array(
'name' => 'status',
'label' => $L->g('Current status'),
'value' => $user->enabled() ? $L->g('Enabled') : $L->g('Disabled'),
'class' => '',
'disabled' => true,
'tip' => $user->enabled() ? '' : $L->g('To enable the user you must set a new password')
));
if ($user->enabled()) {
echo '
<div class="form-group row">
<div class="col-sm-2"></div>
<div class="col-sm-10">
<button type="submit" class="btn btn-warning mr-2" id="jsdisableUser" name="disableUser">' . $L->g('Disable user') . '</button>
<button type="submit" class="btn btn-danger mr-2" id="jsdeleteUserAndKeepContent" name="deleteUserAndKeepContent">' . $L->g('Delete user and keep content') . '</button>
<button type="submit" class="btn btn-danger mr-2" id="jsdeleteUserAndDeleteContent" name="deleteUserAndDeleteContent">' . $L->g('Delete user and delete content') . '</button>
</div>
</div>
';
}
}
?>
</div>
<!-- Social Networks tab -->
<div class="tab-pane fade" id="social" role="tabpanel" aria-labelledby="nav-social-tab">
<?php
echo Bootstrap::formInputText(array(
'name' => 'twitter',
'label' => 'Twitter',
'value' => $user->twitter(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'facebook',
'label' => 'Facebook',
'value' => $user->facebook(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'codepen',
'label' => 'CodePen',
'value' => $user->codepen(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'instagram',
'label' => 'Instagram',
'value' => $user->instagram(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'gitlab',
'label' => 'GitLab',
'value' => $user->gitlab(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'github',
'label' => 'GitHub',
'value' => $user->github(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'linkedin',
'label' => 'LinkedIn',
'value' => $user->linkedin(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'xing',
'label' => 'Xing',
'value' => $user->xing(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'telegram',
'label' => 'Telegram',
'value' => $user->telegram(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'mastodon',
'label' => 'Mastodon',
'value' => $user->mastodon(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'vk',
'label' => 'VK',
'value' => $user->vk(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
?>
</div>
</div>
<?php echo Bootstrap::formClose(); ?>
<script>
// Open current tab after refresh page
$(function() {
$('a[data-toggle="tab"]').on('click', function(e) {
window.localStorage.setItem('activeTab', $(e.target).attr('href'));
console.log($(e.target).attr('href'));
});
var activeTab = window.localStorage.getItem('activeTab');
if (activeTab) {
$('#nav-tab a[href="' + activeTab + '"]').tab('show');
//window.localStorage.removeItem("activeTab");
}
});
</script>

View file

@ -0,0 +1,37 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
echo '<h1 class="text-center mb-3 mt-3 font-weight-normal" style="color: #555;">' . $site->title() . '</h1>';
echo Bootstrap::formOpen(array());
echo Bootstrap::formInputHidden(array(
'name' => 'tokenCSRF',
'value' => $security->getTokenCSRF()
));
echo '
<div class="form-group">
<input type="text" dir="auto" value="' . (isset($_POST['username']) ? Sanitize::html($_POST['username']) : '') . '" class="form-control form-control-lg" id="jsusername" name="username" placeholder="' . $L->g('Username') . '" autofocus>
</div>
';
echo '
<div class="form-group">
<input type="password" class="form-control form-control-lg" id="jspassword" name="password" placeholder="' . $L->g('Password') . '">
</div>
';
echo '
<div class="form-check">
<input class="form-check-input" type="checkbox" value="true" id="jsremember" name="remember">
<label class="form-check-label" for="jsremember">' . $L->g('Remember me') . '</label>
</div>
<div class="form-group mt-3">
<button type="submit" class="btn btn-primary btn-lg mr-2 w-100" name="save">' . $L->g('Login') . '</button>
</div>
';
echo '</form>';
echo '<p class="mt-3 text-right">' . $L->g('Powered by Bludit') . ((defined('BLUDIT_PRO')) ? ' PRO' : '') . '</p>';

View file

@ -0,0 +1,39 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'categories' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('New category'), 'icon'=>'tag')); ?>
</div>
<?php
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
echo Bootstrap::formInputText(array(
'name'=>'name',
'label'=>$L->g('Name'),
'value'=>isset($_POST['category'])?$_POST['category']:'',
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formTextarea(array(
'name'=>'description',
'label'=>$L->g('Description'),
'value'=>isset($_POST['description'])?$_POST['description']:'',
'class'=>'',
'placeholder'=>'',
'tip'=>'',
'rows'=>3
));
?>
<?php echo Bootstrap::formClose(); ?>

View file

@ -0,0 +1,511 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php
// Start form
echo Bootstrap::formOpen(array(
'id' => 'jsform',
'class' => 'd-flex flex-column h-100'
));
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name' => 'tokenCSRF',
'value' => $security->getTokenCSRF()
));
// UUID
// The UUID is generated in the controller
echo Bootstrap::formInputHidden(array(
'name' => 'uuid',
'value' => $uuid
));
// Type = published, draft, sticky, static
echo Bootstrap::formInputHidden(array(
'name' => 'type',
'value' => 'published'
));
// Cover image
echo Bootstrap::formInputHidden(array(
'name' => 'coverImage',
'value' => ''
));
// Content
echo Bootstrap::formInputHidden(array(
'name' => 'content',
'value' => ''
));
?>
<!-- TOOLBAR -->
<div id="jseditorToolbar" class="mb-1">
<div id="jseditorToolbarRight" class="btn-group btn-group-sm float-right" role="group" aria-label="Toolbar right">
<button type="button" class="btn btn-light" id="jsmediaManagerOpenModal" data-toggle="modal" data-target="#jsmediaManagerModal"><span class="fa fa-image"></span> <?php $L->p('Images') ?></button>
<button type="button" class="btn btn-light" id="jsoptionsSidebar" style="z-index:30"><span class="fa fa-cog"></span> <?php $L->p('Options') ?></button>
</div>
<div id="jseditorToolbarLeft">
<button id="jsbuttonSave" type="button" class="btn btn-sm btn-primary"><?php $L->p('Save') ?></button>
<button id="jsbuttonPreview" type="button" class="btn btn-sm btn-secondary"><?php $L->p('Preview') ?></button>
<span id="jsbuttonSwitch" data-switch="publish" class="ml-2 text-secondary switch-button"><i class="fa fa-square switch-icon-publish"></i> <?php $L->p('Publish') ?></span>
</div>
</div>
<script>
$(document).ready(function() {
$("#jsoptionsSidebar").on("click", function() {
$("#jseditorSidebar").toggle();
$("#jsshadow").toggle();
});
$("#jsshadow").on("click", function() {
$("#jseditorSidebar").toggle();
$("#jsshadow").toggle();
});
});
</script>
<!-- SIDEBAR OPTIONS -->
<div id="jseditorSidebar">
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-link active show" id="nav-general-tab" data-toggle="tab" href="#nav-general" role="tab" aria-controls="general"><?php $L->p('General') ?></a>
<a class="nav-link" id="nav-advanced-tab" data-toggle="tab" href="#nav-advanced" role="tab" aria-controls="advanced"><?php $L->p('Advanced') ?></a>
<?php if (!empty($site->customFields())) : ?>
<a class="nav-link" id="nav-custom-tab" data-toggle="tab" href="#nav-custom" role="tab" aria-controls="custom"><?php $L->p('Custom') ?></a>
<?php endif ?>
<a class="nav-link" id="nav-seo-tab" data-toggle="tab" href="#nav-seo" role="tab" aria-controls="seo"><?php $L->p('SEO') ?></a>
</div>
</nav>
<div class="tab-content pr-3 pl-3 pb-3">
<div id="nav-general" class="tab-pane fade show active" role="tabpanel" aria-labelledby="general-tab">
<?php
// Category
echo Bootstrap::formSelectBlock(array(
'name' => 'category',
'label' => $L->g('Category'),
'selected' => '',
'class' => '',
'emptyOption' => '- ' . $L->g('Uncategorized') . ' -',
'options' => $categories->getKeyNameArray()
));
// Description
echo Bootstrap::formTextareaBlock(array(
'name' => 'description',
'label' => $L->g('Description'),
'selected' => '',
'class' => '',
'value' => '',
'rows' => 5,
'placeholder' => $L->get('this-field-can-help-describe-the-content')
));
?>
<!-- Cover Image -->
<label class="mt-4 mb-2 pb-2 border-bottom text-uppercase w-100"><?php $L->p('Cover Image') ?></label>
<div>
<img id="jscoverImagePreview" class="mx-auto d-block w-100" alt="Cover image preview" src="<?php echo HTML_PATH_CORE_IMG ?>default.svg" />
</div>
<div class="mt-2 text-center">
<button type="button" id="jsbuttonSelectCoverImage" class="btn btn-primary btn-sm"><?php echo $L->g('Select cover image') ?></button>
<button type="button" id="jsbuttonRemoveCoverImage" class="btn btn-secondary btn-sm"><?php echo $L->g('Remove cover image') ?></button>
</div>
<script>
$(document).ready(function() {
$("#jscoverImagePreview").on("click", function() {
openMediaManager();
});
$("#jsbuttonSelectCoverImage").on("click", function() {
openMediaManager();
});
$("#jsbuttonRemoveCoverImage").on("click", function() {
$("#jscoverImage").val('');
$("#jscoverImagePreview").attr('src', HTML_PATH_CORE_IMG + 'default.svg');
});
});
</script>
</div>
<div id="nav-advanced" class="tab-pane fade" role="tabpanel" aria-labelledby="advanced-tab">
<?php
// Date
echo Bootstrap::formInputTextBlock(array(
'name' => 'date',
'label' => $L->g('Date'),
'placeholder' => '',
'value' => Date::current(DB_DATE_FORMAT),
'tip' => $L->g('date-format-format')
));
// Type
echo Bootstrap::formSelectBlock(array(
'name' => 'typeSelector',
'label' => $L->g('Type'),
'selected' => '',
'options' => array(
'published' => '- ' . $L->g('Default') . ' -',
'sticky' => $L->g('Sticky'),
'static' => $L->g('Static')
),
'tip' => ''
));
// Position
echo Bootstrap::formInputTextBlock(array(
'name' => 'position',
'label' => $L->g('Position'),
'tip' => $L->g('Field used when ordering content by position'),
'value' => $pages->nextPositionNumber()
));
// Tags
echo Bootstrap::formInputTextBlock(array(
'name' => 'tags',
'label' => $L->g('Tags'),
'placeholder' => '',
'tip' => $L->g('Write the tags separated by comma')
));
// Parent
echo Bootstrap::formSelectBlock(array(
'name' => 'parent',
'label' => $L->g('Parent'),
'options' => array(),
'selected' => false,
'class' => '',
'tip' => $L->g('Start typing a page title to see a list of suggestions.'),
));
?>
<script>
$(document).ready(function() {
var parent = $("#jsparent").select2({
placeholder: "",
allowClear: true,
theme: "bootstrap4",
minimumInputLength: 2,
ajax: {
url: HTML_PATH_ADMIN_ROOT + "ajax/get-published",
data: function(params) {
var query = {
checkIsParent: true,
query: params.term
}
return query;
},
processResults: function(data) {
return data;
}
},
escapeMarkup: function(markup) {
return markup;
},
templateResult: function(data) {
var html = data.text;
if (data.type == "static") {
html += '<span class="badge badge-pill badge-light">' + data.type + '</span>';
}
return html;
}
});
});
</script>
<?php
// Template
echo Bootstrap::formInputTextBlock(array(
'name' => 'template',
'label' => $L->g('Template'),
'placeholder' => '',
'value' => '',
'tip' => $L->g('Write a template name to filter the page in the theme and change the style of the page.')
));
echo Bootstrap::formInputTextBlock(array(
'name' => 'externalCoverImage',
'label' => $L->g('External cover image'),
'placeholder' => "https://",
'value' => '',
'tip' => $L->g('Set a cover image from external URL, such as a CDN or some server dedicated for images.')
));
// Username
echo Bootstrap::formInputTextBlock(array(
'name' => '',
'label' => $L->g('Author'),
'placeholder' => '',
'value' => $login->username(),
'tip' => '',
'disabled' => true
));
?>
<script>
$(document).ready(function() {
// Changes in External cover image input
$("#jsexternalCoverImage").change(function() {
$("#jscoverImage").val($(this).val());
});
// Generate slug when the user type the title
$("#jstitle").keyup(function() {
var text = $(this).val();
var parent = $("#jsparent").val();
var currentKey = "";
var ajax = new bluditAjax();
var callBack = $("#jsslug");
ajax.generateSlug(text, parent, currentKey, callBack);
});
// Datepicker
$("#jsdate").datetimepicker({
format: DB_DATE_FORMAT
});
});
</script>
</div>
<?php if (!empty($site->customFields())) : ?>
<div id="nav-custom" class="tab-pane fade" role="tabpanel" aria-labelledby="custom-tab">
<?php
$customFields = $site->customFields();
foreach ($customFields as $field => $options) {
if (!isset($options['position'])) {
if ($options['type'] == "string") {
echo Bootstrap::formInputTextBlock(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'value' => (isset($options['default']) ? $options['default'] : ''),
'tip' => (isset($options['tip']) ? $options['tip'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : '')
));
} elseif ($options['type'] == "bool") {
echo Bootstrap::formCheckbox(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'checked' => (isset($options['checked']) ? true : false),
'labelForCheckbox' => (isset($options['tip']) ? $options['tip'] : '')
));
}
}
}
?>
</div>
<?php endif ?>
<div id="nav-seo" class="tab-pane fade" role="tabpanel" aria-labelledby="seo-tab">
<?php
// Friendly URL
echo Bootstrap::formInputTextBlock(array(
'name' => 'slug',
'tip' => $L->g('URL associated with the content'),
'label' => $L->g('Friendly URL'),
'placeholder' => $L->g('Leave empty for autocomplete by Bludit.')
));
// Robots
echo Bootstrap::formCheckbox(array(
'name' => 'noindex',
'label' => 'Robots',
'labelForCheckbox' => $L->g('apply-code-noindex-code-to-this-page'),
'placeholder' => '',
'checked' => false,
'tip' => $L->g('This tells search engines not to show this page in their search results.')
));
// Robots
echo Bootstrap::formCheckbox(array(
'name' => 'nofollow',
'label' => '',
'labelForCheckbox' => $L->g('apply-code-nofollow-code-to-this-page'),
'placeholder' => '',
'checked' => false,
'tip' => $L->g('This tells search engines not to follow links on this page.')
));
// Robots
echo Bootstrap::formCheckbox(array(
'name' => 'noarchive',
'label' => '',
'labelForCheckbox' => $L->g('apply-code-noarchive-code-to-this-page'),
'placeholder' => '',
'checked' => false,
'tip' => $L->g('This tells search engines not to save a cached copy of this page.')
));
?>
</div>
</div>
</div>
<!-- Custom fields: TOP -->
<?php
$customFields = $site->customFields();
foreach ($customFields as $field => $options) {
if (isset($options['position']) && ($options['position'] == 'top')) {
if ($options['type'] == "string") {
echo Bootstrap::formInputTextBlock(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'value' => (isset($options['default']) ? $options['default'] : ''),
'tip' => (isset($options['tip']) ? $options['tip'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'class' => 'mb-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
} elseif ($options['type'] == "bool") {
echo Bootstrap::formCheckbox(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'checked' => (isset($options['checked']) ? true : false),
'labelForCheckbox' => (isset($options['tip']) ? $options['tip'] : ''),
'class' => 'mb-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
}
}
}
?>
<!-- Title -->
<div id="jseditorTitle" class="form-group mb-1">
<input id="jstitle" name="title" type="text" dir="auto" class="form-control form-control-lg rounded-0" value="" placeholder="<?php $L->p('Enter title') ?>">
</div>
<!-- Editor -->
<textarea id="jseditor" class="editable h-100 mb-1"></textarea>
<!-- Custom fields: BOTTOM -->
<?php
$customFields = $site->customFields();
foreach ($customFields as $field => $options) {
if (isset($options['position']) && ($options['position'] == 'bottom')) {
if ($options['type'] == "string") {
echo Bootstrap::formInputTextBlock(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'value' => (isset($options['default']) ? $options['default'] : ''),
'tip' => (isset($options['tip']) ? $options['tip'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'class' => 'mt-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
} elseif ($options['type'] == "bool") {
echo Bootstrap::formCheckbox(array(
'name' => 'custom[' . $field . ']',
'label' => (isset($options['label']) ? $options['label'] : ''),
'placeholder' => (isset($options['placeholder']) ? $options['placeholder'] : ''),
'checked' => (isset($options['checked']) ? true : false),
'labelForCheckbox' => (isset($options['tip']) ? $options['tip'] : ''),
'class' => 'mt-2',
'labelClass' => 'mb-2 pb-2 border-bottom text-uppercase w-100'
));
}
}
}
?>
</form>
<!-- Modal for Media Manager -->
<?php include(PATH_ADMIN_THEMES . 'booty/html/media.php'); ?>
<script>
$(document).ready(function() {
// Define function if they doesn't exist
// This helps if the user doesn't activate any plugin as editor
if (typeof editorGetContent != "function") {
window.editorGetContent = function() {
return $("#jseditor").val();
};
}
if (typeof editorInsertMedia != "function") {
window.editorInsertMedia = function(filename) {
$("#jseditor").val($('#jseditor').val() + '<img src="' + filename + '" alt="">');
};
}
if (typeof editorInsertLinkedMedia != "function") {
window.editorInsertLinkedMedia = function(filename, link) {
$("#jseditor").val($('#jseditor').val() + '<a href="' + link + '"><img src="' + filename + '" alt=""></a>');
};
}
// Button switch
$("#jsbuttonSwitch").on("click", function() {
if ($(this).data("switch") == "publish") {
$(this).html('<i class="fa fa-square switch-icon-draft"></i> <?php $L->p('Draft') ?>');
$(this).data("switch", "draft");
} else {
$(this).html('<i class="fa fa-square switch-icon-publish"></i> <?php $L->p('Publish') ?>');
$(this).data("switch", "publish");
}
});
// Button preview
$("#jsbuttonPreview").on("click", function() {
var uuid = $("#jsuuid").val();
var title = $("#jstitle").val();
var content = editorGetContent();
bluditAjax.saveAsDraft(uuid, title, content).then(function(data) {
var preview = window.open("<?php echo DOMAIN_PAGES . 'autosave-' . $uuid . '?preview=' . md5('autosave-' . $uuid) ?>", "bludit-preview");
preview.focus();
});
});
// Button Save
$("#jsbuttonSave").on("click", function() {
let actionParameters = '';
// If the switch is setted to "published", get the value from the selector
if ($("#jsbuttonSwitch").data("switch") == "publish") {
var value = $("#jstypeSelector option:selected").val();
$("#jstype").val(value);
actionParameters = '#' + value;
} else {
$("#jstype").val("draft");
actionParameters = '#draft';
}
// Get the content
$("#jscontent").val(editorGetContent());
// Submit the form
$("#jsform").attr('action', actionParameters);
$("#jsform").submit();
});
// Autosave
var currentContent = editorGetContent();
setInterval(function() {
var uuid = $("#jsuuid").val();
var title = $("#jstitle").val() + "[<?php $L->p('Autosave') ?>]";
var content = editorGetContent();
// Autosave when content has at least 100 characters
if (content.length < 100) {
return false;
}
// Autosave only when the user change the content
if (currentContent != content) {
currentContent = content;
bluditAjax.saveAsDraft(uuid, title, content).then(function(data) {
if (data.status == 0) {
showAlert("<?php $L->p('Autosave') ?>");
}
});
}
}, 1000 * 60 * AUTOSAVE_INTERVAL);
});
</script>

View file

@ -0,0 +1,67 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'users' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('Add a new user'), 'icon'=>'user')); ?>
</div>
<?php
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
echo Bootstrap::formInputText(array(
'name'=>'new_username',
'label'=>$L->g('Username'),
'value'=>(isset($_POST['new_username'])?$_POST['new_username']:''),
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'new_password',
'type'=>'password',
'label'=>$L->g('Password'),
'value'=>'',
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formInputText(array(
'name'=>'confirm_password',
'type'=>'password',
'label'=>$L->g('Confirm Password'),
'value'=>'',
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
echo Bootstrap::formSelect(array(
'name'=>'role',
'label'=>$L->g('Role'),
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
'selected'=>'Author',
'class'=>'',
'tip'=>$L->g('author-can-write-and-edit-their-own-content')
));
echo Bootstrap::formInputText(array(
'name'=>'email',
'label'=>$L->g('Email'),
'value'=>(isset($_POST['email'])?$_POST['email']:''),
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
?>
<?php echo Bootstrap::formClose(); ?>

View file

@ -0,0 +1,51 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="button" class="btn btn-primary btn-sm jsbuttonSave" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'plugins' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('Plugins position'), 'icon'=>'tags')); ?>
</div>
<div class="alert alert-primary"><?php $L->p('Drag and Drop to sort the plugins') ?></div>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
echo Bootstrap::formInputHidden(array(
'name'=>'plugin-list',
'value'=>''
));
echo '<ul class="list-group list-group-sortable">';
foreach ($plugins['siteSidebar'] as $Plugin) {
echo '<li class="list-group-item" data-plugin="'.$Plugin->className().'"><span class="fa fa-arrows-v"></span> '.$Plugin->name().'</li>';
}
echo '</ul>';
?>
<?php echo Bootstrap::formClose(); ?>
<script>
$(document).ready(function() {
$('.list-group-sortable').sortable({
placeholderClass: 'list-group-item'
});
$(".jsbuttonSave").on("click", function() {
var tmp = [];
$("li.list-group-item").each(function() {
tmp.push( $(this).attr("data-plugin") );
});
$("#jsplugin-list").attr("value", tmp.join(",") );
$("#jsform").submit();
});
});
</script>

View file

@ -0,0 +1,125 @@
<?php
echo Bootstrap::pageTitle(array('title' => $L->g('Plugins'), 'icon' => 'puzzle-piece'));
echo Bootstrap::link(array(
'title' => $L->g('Change the position of the plugins'),
'href' => HTML_PATH_ADMIN_ROOT . 'plugins-position',
'icon' => 'arrows'
));
echo Bootstrap::formTitle(array('title' => $L->g('Search plugins')));
?>
<input type="text" dir="auto" class="form-control" id="search" placeholder="<?php $L->p('Search') ?>">
<script>
$(document).ready(function() {
$("#search").on("keyup", function() {
var textToSearch = $(this).val().toLowerCase();
$(".searchItem").each(function() {
var item = $(this);
item.hide();
item.find(".searchText").each(function() {
var element = $(this).text().toLowerCase();
if (element.indexOf(textToSearch) != -1) {
item.show();
}
});
});
});
});
</script>
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Enabled plugins')));
echo '
<table class="table">
<tbody>
';
// Show installed plugins
foreach ($pluginsInstalled as $plugin) {
if ($plugin->type() == 'theme') {
// Do not display theme's plugins
continue;
}
echo '<tr id="' . $plugin->className() . '" class="bg-light searchItem">';
echo '<td class="align-middle pt-3 pb-3 w-25">
<div class="searchText">' . $plugin->name() . '</div>
<div class="mt-1">';
if (method_exists($plugin, 'form')) {
echo '<a class="mr-3" href="' . HTML_PATH_ADMIN_ROOT . 'configure-plugin/' . $plugin->className() . '">' . $L->g('Settings') . '</a>';
}
echo '<a href="' . HTML_PATH_ADMIN_ROOT . 'uninstall-plugin/' . $plugin->className() . '">' . $L->g('Deactivate') . '</a>';
echo '</div>';
echo '</td>';
echo '<td class="searchText align-middle d-none d-sm-table-cell">';
echo $plugin->description();
echo '</td>';
echo '<td class="text-center align-middle d-none d-lg-table-cell">';
echo '<span>' . $plugin->version() . '</span>';
echo '</td>';
echo '<td class="text-center align-middle d-none d-lg-table-cell">
<a target="_blank" href="' . $plugin->website() . '">' . $plugin->author() . '</a>
</td>';
echo '</tr>';
}
echo '
</tbody>
</table>
';
echo Bootstrap::formTitle(array('title' => $L->g('Disabled plugins')));
echo '
<table class="table">
<tbody>
';
// Plugins not installed
$pluginsNotInstalled = array_diff_key($plugins['all'], $pluginsInstalled);
foreach ($pluginsNotInstalled as $plugin) {
if ($plugin->type() == 'theme') {
// Do not display theme's plugins
continue;
}
echo '<tr id="' . $plugin->className() . '" class="searchItem">';
echo '<td class="align-middle pt-3 pb-3 w-25">
<div class="searchText">' . $plugin->name() . '</div>
<div class="mt-1">
<a href="' . HTML_PATH_ADMIN_ROOT . 'install-plugin/' . $plugin->className() . '">' . $L->g('Activate') . '</a>
</div>
</td>';
echo '<td class="searchText align-middle d-none d-sm-table-cell">';
echo $plugin->description();
echo '</td>';
echo '<td class="text-center align-middle d-none d-lg-table-cell">';
echo '<span>' . $plugin->version() . '</span>';
echo '</td>';
echo '<td class="text-center align-middle d-none d-lg-table-cell">
<a target="_blank" href="' . $plugin->website() . '">' . $plugin->author() . '</a>
</td>';
echo '</tr>';
}
echo '
</tbody>
</table>
';

View file

@ -0,0 +1,614 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id' => 'jsform', 'class' => 'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT . 'dashboard' ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title' => $L->g('Settings'), 'icon' => 'cog')); ?>
</div>
<!-- TABS -->
<nav class="mb-3">
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-item nav-link active" id="nav-general-tab" data-toggle="tab" href="#general" role="tab" aria-controls="nav-general" aria-selected="false"><?php $L->p('General') ?></a>
<a class="nav-item nav-link" id="nav-advanced-tab" data-toggle="tab" href="#advanced" role="tab" aria-controls="nav-advanced" aria-selected="false"><?php $L->p('Advanced') ?></a>
<a class="nav-item nav-link" id="nav-seo-tab" data-toggle="tab" href="#seo" role="tab" aria-controls="nav-seo" aria-selected="false"><?php $L->p('SEO') ?></a>
<a class="nav-item nav-link" id="nav-social-tab" data-toggle="tab" href="#social" role="tab" aria-controls="nav-social" aria-selected="false"><?php $L->p('Social Networks') ?></a>
<a class="nav-item nav-link" id="nav-images-tab" data-toggle="tab" href="#images" role="tab" aria-controls="nav-images" aria-selected="false"><?php $L->p('Images') ?></a>
<a class="nav-item nav-link" id="nav-language-tab" data-toggle="tab" href="#language" role="tab" aria-controls="nav-language" aria-selected="false"><?php $L->p('Language') ?></a>
<a class="nav-item nav-link" id="nav-custom-fields-tab" data-toggle="tab" href="#custom-fields" role="tab" aria-controls="nav-custom-fields" aria-selected="false"><?php $L->p('Custom fields') ?></a>
<a class="nav-item nav-link" id="nav-logo-tab" data-toggle="tab" href="#logo" role="tab" aria-controls="nav-logo" aria-selected="false"><?php $L->p('Logo') ?></a>
</div>
</nav>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name' => 'tokenCSRF',
'value' => $security->getTokenCSRF()
));
?>
<!-- General tab -->
<div class="tab-pane fade show active" id="general" role="tabpanel" aria-labelledby="general-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Site')));
echo Bootstrap::formInputText(array(
'name' => 'title',
'label' => $L->g('Site title'),
'value' => $site->title(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('use-this-field-to-name-your-site')
));
echo Bootstrap::formInputText(array(
'name' => 'slogan',
'label' => $L->g('Site slogan'),
'value' => $site->slogan(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('use-this-field-to-add-a-catchy-phrase')
));
echo Bootstrap::formInputText(array(
'name' => 'description',
'label' => $L->g('Site description'),
'value' => $site->description(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('you-can-add-a-site-description-to-provide')
));
echo Bootstrap::formInputText(array(
'name' => 'footer',
'label' => $L->g('Footer text'),
'value' => $site->footer(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('you-can-add-a-small-text-on-the-bottom')
));
?>
</div>
<!-- Advanced tab -->
<div class="tab-pane fade" id="advanced" role="tabpanel" aria-labelledby="advanced-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Content')));
echo Bootstrap::formInputText(array(
'name' => 'itemsPerPage',
'label' => $L->g('Items per page'),
'value' => $site->itemsPerPage(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Number of items to show per page')
));
echo Bootstrap::formSelect(array(
'name' => 'orderBy',
'label' => $L->g('Order content by'),
'options' => array('date' => $L->g('Date'), 'position' => $L->g('Position')),
'selected' => $site->orderBy(),
'class' => '',
'tip' => $L->g('order-the-content-by-date-to-build-a-blog')
));
echo Bootstrap::formTitle(array('title' => $L->g('Predefined pages')));
// Homepage
try {
$options = array();
$homeKey = $site->homepage();
if (!empty($homeKey)) {
$home = new Page($homeKey);
$options = array($homeKey => $home->title());
}
} catch (Exception $e) {
// continue
}
echo Bootstrap::formSelect(array(
'name' => 'homepage',
'label' => $L->g('Homepage'),
'options' => $options,
'selected' => false,
'class' => '',
'tip' => $L->g('Returning page for the main page')
));
?>
<script>
$(document).ready(function() {
var homepage = $("#jshomepage").select2({
placeholder: "<?php $L->p('Start typing to see a list of suggestions.') ?>",
allowClear: true,
theme: "bootstrap4",
minimumInputLength: 2,
ajax: {
url: HTML_PATH_ADMIN_ROOT + "ajax/get-published",
data: function(params) {
var query = {
query: params.term
}
return query;
},
processResults: function(data) {
return data;
}
},
escapeMarkup: function(markup) {
return markup;
}
});
});
</script>
<?php
// Page not found 404
try {
$options = array();
$pageNotFoundKey = $site->pageNotFound();
if (!empty($pageNotFoundKey)) {
$pageNotFound = new Page($pageNotFoundKey);
$options = array($pageNotFoundKey => $pageNotFound->title());
}
} catch (Exception $e) {
// continue
}
echo Bootstrap::formSelect(array(
'name' => 'pageNotFound',
'label' => $L->g('Page not found'),
'options' => $options,
'selected' => false,
'class' => '',
'tip' => $L->g('Returning page when the page doesnt exist')
));
?>
<script>
$(document).ready(function() {
var homepage = $("#jspageNotFound").select2({
placeholder: "<?php $L->p('Start typing to see a list of suggestions.') ?>",
allowClear: true,
theme: "bootstrap4",
minimumInputLength: 2,
ajax: {
url: HTML_PATH_ADMIN_ROOT + "ajax/get-published",
data: function(params) {
var query = {
query: params.term
}
return query;
},
processResults: function(data) {
return data;
}
},
escapeMarkup: function(markup) {
return markup;
}
});
});
</script>
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Email account settings')));
echo Bootstrap::formInputText(array(
'name' => 'emailFrom',
'label' => $L->g('Sender email'),
'value' => $site->emailFrom(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Emails will be sent from this address')
));
echo Bootstrap::formTitle(array('title' => $L->g('Autosave')));
echo Bootstrap::formInputText(array(
'name' => 'autosaveInterval',
'label' => $L->g('Interval'),
'value' => $site->autosaveInterval(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Number in minutes for every execution of autosave')
));
echo Bootstrap::formTitle(array('title' => $L->g('Site URL')));
echo Bootstrap::formInputText(array(
'name' => 'url',
'label' => 'URL',
'value' => $site->url(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('full-url-of-your-site'),
'placeholder' => 'https://'
));
echo Bootstrap::formTitle(array('title' => $L->g('Page content')));
echo Bootstrap::formSelect(array(
'name' => 'markdownParser',
'label' => $L->g('Markdown parser'),
'options' => array('true' => $L->g('Enabled'), 'false' => $L->g('Disabled')),
'selected' => ($site->markdownParser() ? 'true' : 'false'),
'class' => '',
'tip' => $L->g('Enable the markdown parser for the content of the page.')
));
echo Bootstrap::formTitle(array('title' => $L->g('URL Filters')));
echo Bootstrap::formInputText(array(
'name' => 'uriPage',
'label' => $L->g('Pages'),
'value' => $site->uriFilters('page'),
'class' => '',
'placeholder' => '',
'tip' => DOMAIN_PAGES
));
echo Bootstrap::formInputText(array(
'name' => 'uriTag',
'label' => $L->g('Tags'),
'value' => $site->uriFilters('tag'),
'class' => '',
'placeholder' => '',
'tip' => DOMAIN_TAGS
));
echo Bootstrap::formInputText(array(
'name' => 'uriCategory',
'label' => $L->g('Category'),
'value' => $site->uriFilters('category'),
'class' => '',
'placeholder' => '',
'tip' => DOMAIN_CATEGORIES
));
echo Bootstrap::formInputText(array(
'name' => 'uriBlog',
'label' => $L->g('Blog'),
'value' => $site->uriFilters('blog'),
'class' => '',
'placeholder' => '',
'tip' => DOMAIN . $site->uriFilters('blog'),
'disabled' => Text::isEmpty($site->uriFilters('blog'))
));
?>
</div>
<!-- SEO tab -->
<div class="tab-pane fade" id="seo" role="tabpanel" aria-labelledby="seo-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Extreme friendly URL')));
echo Bootstrap::formSelect(array(
'name' => 'extremeFriendly',
'label' => $L->g('Allow Unicode'),
'options' => array('true' => $L->g('Enabled'), 'false' => $L->g('Disabled')),
'selected' => ($site->extremeFriendly() ? 'true' : 'false'),
'class' => '',
'tip' => $L->g('Allow unicode characters in the URL and some part of the system.')
));
echo Bootstrap::formTitle(array('title' => $L->g('Title formats')));
echo Bootstrap::formInputText(array(
'name' => 'titleFormatHomepage',
'label' => $L->g('Homepage'),
'value' => $site->titleFormatHomepage(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Variables allowed') . ' <code>{{site-title}}</code> <code>{{site-slogan}}</code> <code>{{site-description}}</code>',
'placeholder' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'titleFormatPages',
'label' => $L->g('Pages'),
'value' => $site->titleFormatPages(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Variables allowed') . ' <code>{{page-title}}</code> <code>{{page-description}}</code> <code>{{site-title}}</code> <code>{{site-slogan}}</code> <code>{{site-description}}</code>',
'placeholder' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'titleFormatCategory',
'label' => $L->g('Category'),
'value' => $site->titleFormatCategory(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Variables allowed') . ' <code>{{category-name}}</code> <code>{{site-title}}</code> <code>{{site-slogan}}</code> <code>{{site-description}}</code>',
'placeholder' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'titleFormatTag',
'label' => $L->g('Tag'),
'value' => $site->titleFormatTag(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Variables allowed') . ' <code>{{tag-name}}</code> <code>{{site-title}}</code> <code>{{site-slogan}}</code> <code>{{site-description}}</code>',
'placeholder' => ''
));
?>
</div>
<!-- Social Network tab -->
<div class="tab-pane fade" id="social" role="tabpanel" aria-labelledby="social-tab">
<?php
echo Bootstrap::formInputText(array(
'name' => 'twitter',
'label' => 'Twitter',
'value' => $site->twitter(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'facebook',
'label' => 'Facebook',
'value' => $site->facebook(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'codepen',
'label' => 'CodePen',
'value' => $site->codepen(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'instagram',
'label' => 'Instagram',
'value' => $site->instagram(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'gitlab',
'label' => 'GitLab',
'value' => $site->gitlab(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'github',
'label' => 'GitHub',
'value' => $site->github(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'linkedin',
'label' => 'LinkedIn',
'value' => $site->linkedin(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'xing',
'label' => 'Xing',
'value' => $site->xing(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'telegram',
'label' => 'Telegram',
'value' => $site->telegram(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'mastodon',
'label' => 'Mastodon',
'value' => $site->mastodon(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'dribbble',
'label' => 'Dribbble',
'value' => $site->dribbble(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
echo Bootstrap::formInputText(array(
'name' => 'vk',
'label' => 'VK',
'value' => $site->vk(),
'class' => '',
'placeholder' => '',
'tip' => ''
));
?>
</div>
<!-- Images tab -->
<div class="tab-pane fade" id="images" role="tabpanel" aria-labelledby="images-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Thumbnails')));
echo Bootstrap::formInputText(array(
'name' => 'thumbnailWidth',
'label' => $L->g('Width'),
'value' => $site->thumbnailWidth(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Thumbnail width in pixels')
));
echo Bootstrap::formInputText(array(
'name' => 'thumbnailHeight',
'label' => $L->g('Height'),
'value' => $site->thumbnailHeight(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Thumbnail height in pixels')
));
echo Bootstrap::formInputText(array(
'name' => 'thumbnailQuality',
'label' => $L->g('Quality'),
'value' => $site->thumbnailQuality(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Thumbnail quality in percentage')
));
?>
</div>
<!-- Timezone and language tab -->
<div class="tab-pane fade" id="language" role="tabpanel" aria-labelledby="language-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Language and timezone')));
echo Bootstrap::formSelect(array(
'name' => 'language',
'label' => $L->g('Language'),
'options' => $L->getLanguageList(),
'selected' => $site->language(),
'class' => '',
'tip' => $L->g('select-your-sites-language')
));
echo Bootstrap::formSelect(array(
'name' => 'timezone',
'label' => $L->g('Timezone'),
'options' => Date::timezoneList(),
'selected' => $site->timezone(),
'class' => '',
'tip' => $L->g('select-a-timezone-for-a-correct')
));
echo Bootstrap::formInputText(array(
'name' => 'locale',
'label' => $L->g('Locale'),
'value' => $site->locale(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('with-the-locales-you-can-set-the-regional-user-interface')
));
echo Bootstrap::formTitle(array('title' => $L->g('Date and time formats')));
echo Bootstrap::formInputText(array(
'name' => 'dateFormat',
'label' => $L->g('Date format'),
'value' => $site->dateFormat(),
'class' => '',
'placeholder' => '',
'tip' => $L->g('Current format') . ': ' . Date::current($site->dateFormat())
));
?>
</div>
<!-- Custom fields -->
<div class="tab-pane fade" id="custom-fields" role="tabpanel" aria-labelledby="custom-fields-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Custom fields')));
echo Bootstrap::formTextarea(array(
'name' => 'customFields',
'label' => 'JSON Format',
'value' => json_encode($site->customFields(), JSON_PRETTY_PRINT),
'class' => '',
'placeholder' => '',
'tip' => $L->g('define-custom-fields-for-the-content'),
'rows' => 15
));
?>
</div>
<!-- Site logo tab -->
<div class="tab-pane fade" id="logo" role="tabpanel" aria-labelledby="logo-tab">
<?php
echo Bootstrap::formTitle(array('title' => $L->g('Site logo')));
?>
<div class="container">
<div class="row">
<div class="col-lg-4 col-sm-12 p-0 pr-2">
<div class="custom-file">
<input id="jssiteLogoInputFile" class="custom-file-input" type="file" name="inputFile">
<label for="jssiteLogoInputFile" class="custom-file-label"><?php $L->p('Upload image'); ?></label>
</div>
<button id="jsbuttonRemoveLogo" type="button" class="btn btn-primary w-100 mt-4 mb-4"><i class="fa fa-trash"></i><?php $L->p('Remove logo') ?></button>
</div>
<div class="col-lg-8 col-sm-12 p-0 text-center">
<img id="jssiteLogoPreview" class="img-fluid img-thumbnail" alt="Site logo preview" src="<?php echo ($site->logo() ? DOMAIN_UPLOADS . $site->logo(false) . '?version=' . time() : HTML_PATH_CORE_IMG . 'default.svg') ?>" />
</div>
</div>
</div>
<script>
$("#jsbuttonRemoveLogo").on("click", function() {
bluditAjax.removeLogo();
$("#jssiteLogoPreview").attr("src", "<?php echo HTML_PATH_CORE_IMG . 'default.svg' ?>");
});
$("#jssiteLogoInputFile").on("change", function() {
var formData = new FormData();
formData.append('tokenCSRF', tokenCSRF);
formData.append('inputFile', $(this)[0].files[0]);
$.ajax({
url: HTML_PATH_ADMIN_ROOT + "ajax/logo-upload",
type: "POST",
data: formData,
cache: false,
contentType: false,
processData: false
}).done(function(data) {
if (data.status == 0) {
$("#jssiteLogoPreview").attr('src', data.absoluteURL + "?time=" + Math.random());
} else {
showAlert(data.message);
}
});
});
</script>
</div>
<?php echo Bootstrap::formClose(); ?>
<script>
// Open current tab after refresh page
$(function() {
$('a[data-toggle="tab"]').on('click', function(e) {
window.localStorage.setItem('activeTab', $(e.target).attr('href'));
});
var activeTab = window.localStorage.getItem('activeTab');
if (activeTab) {
$('#nav-tab a[href="' + activeTab + '"]').tab('show');
//window.localStorage.removeItem("activeTab");
}
});
</script>

View file

@ -0,0 +1,57 @@
<?php
echo Bootstrap::pageTitle(array('title' => $L->g('Themes'), 'icon' => 'desktop'));
echo '
<table class="table mt-3">
<thead>
<tr>
<th class="border-bottom-0 w-25" scope="col">' . $L->g('Name') . '</th>
<th class="border-bottom-0 d-none d-sm-table-cell" scope="col">' . $L->g('Description') . '</th>
<th class="text-center border-bottom-0 d-none d-lg-table-cell" scope="col">' . $L->g('Version') . '</th>
<th class="text-center border-bottom-0 d-none d-lg-table-cell" scope="col">' . $L->g('Author') . '</th>
</tr>
</thead>
<tbody>
';
foreach ($themes as $theme) {
echo '
<tr ' . ($theme['dirname'] == $site->theme() ? 'class="bg-light"' : '') . '>
<td class="align-middle pt-3 pb-3">
<div>'.$theme['name'].($theme['dirname']==$site->theme()?'<span class="badge badge-primary ml-2">'.$L->g('Active').'</span>':'').'</div>
<div class="mt-1">
';
if ($theme['dirname'] != $site->theme()) {
echo '<a href="' . HTML_PATH_ADMIN_ROOT . 'install-theme/' . $theme['dirname'] . '">' . $L->g('Activate') . '</a>';
} else {
if (isset($theme['plugin'])) {
echo '<a href="' . HTML_PATH_ADMIN_ROOT . 'configure-plugin/' . $theme['plugin'] . '">' . $L->g('Settings') . '</a>';
}
}
echo '
</div>
</td>
';
echo '<td class="align-middle d-none d-sm-table-cell">';
echo $theme['description'];
echo '</td>';
echo '<td class="text-center align-middle d-none d-lg-table-cell">';
echo '<span>' . $theme['version'] . '</span>';
echo '</td>';
echo '<td class="text-center align-middle d-none d-lg-table-cell">
<a target="_blank" href="' . $theme['website'] . '">' . $theme['author'] . '</a>
</td>';
echo '</tr>';
}
echo '
</tbody>
</table>
';

View file

@ -0,0 +1,60 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php echo Bootstrap::formOpen(array('id'=>'jsform', 'class'=>'tab-content')); ?>
<div class="align-middle">
<div class="float-right mt-1">
<button type="submit" class="btn btn-primary btn-sm" name="save"><?php $L->p('Save') ?></button>
<a class="btn btn-secondary btn-sm" href="<?php echo HTML_PATH_ADMIN_ROOT.'edit-user/'.$user->username() ?>" role="button"><?php $L->p('Cancel') ?></a>
</div>
<?php echo Bootstrap::pageTitle(array('title'=>$L->g('Change password'), 'icon'=>'user')); ?>
</div>
<?php
// Token CSRF
echo Bootstrap::formInputHidden(array(
'name'=>'tokenCSRF',
'value'=>$security->getTokenCSRF()
));
// Username
echo Bootstrap::formInputHidden(array(
'name'=>'username',
'value'=>$user->username()
));
// Username disabled
echo Bootstrap::formInputText(array(
'name'=>'usernameDisabled',
'label'=>$L->g('Username'),
'value'=>$user->username(),
'class'=>'',
'placeholder'=>'',
'disabled'=>true,
'tip'=>''
));
// New password
echo Bootstrap::formInputText(array(
'name'=>'newPassword',
'label'=>$L->g('New password'),
'type'=>'password',
'value'=>'',
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
// Confirm password
echo Bootstrap::formInputText(array(
'name'=>'confirmPassword',
'label'=>$L->g('Confirm new password'),
'type'=>'password',
'value'=>'',
'class'=>'',
'placeholder'=>'',
'tip'=>''
));
?>
<?php echo Bootstrap::formClose(); ?>

View file

@ -0,0 +1,56 @@
<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
<?php
echo Bootstrap::pageTitle(array('title'=>$L->g('Users'), 'icon'=>'users'));
echo Bootstrap::link(array(
'title'=>$L->g('add-a-new-user'),
'href'=>HTML_PATH_ADMIN_ROOT.'new-user',
'icon'=>'plus'
));
echo '
<table class="table table-striped mt-3">
<thead>
<tr>
<th class="border-bottom-0" scope="col">'.$L->g('Username').'</th>
<th class="border-bottom-0 d-none d-lg-table-cell" scope="col">'.$L->g('Nickname').'</th>
<th class="border-bottom-0" scope="col">'.$L->g('Email').'</th>
<th class="border-bottom-0" scope="col">'.$L->g('Status').'</th>
<th class="border-bottom-0" scope="col">'.$L->g('Role').'</th>
<th class="border-bottom-0 d-none d-lg-table-cell" scope="col">'.$L->g('Registered').'</th>
</tr>
</thead>
<tbody>
';
$list = $users->keys();
foreach ($list as $username) {
try {
$user = new User($username);
echo '<tr>';
echo '<td><img class="profilePicture mr-1" alt="" src="'.(Sanitize::pathFile(PATH_UPLOADS_PROFILES.$user->username().'.png')?DOMAIN_UPLOADS_PROFILES.$user->username().'.png':HTML_PATH_CORE_IMG.'default.svg').'" /><a href="'.HTML_PATH_ADMIN_ROOT.'edit-user/'.$username.'">'.$username.'</a></td>';
echo '<td class="d-none d-lg-table-cell">'.$user->nickname().'</td>';
echo '<td>'.$user->email().'</td>';
echo '<td>'.($user->enabled()?'<b>'.$L->g('Enabled').'</b>':$L->g('Disabled')).'</td>';
if ($user->role()=='admin') {
echo '<td>'.$L->g('Administrator').'</td>';
} elseif ($user->role()=='editor') {
echo '<td>'.$L->g('Editor').'</td>';
} elseif ($user->role()=='author') {
echo '<td>'.$L->g('Author').'</td>';
} else {
echo '<td>'.$L->g('Reader').'</td>';
}
echo '<td class="d-none d-lg-table-cell">'.Date::format($user->registered(), DB_DATE_FORMAT, ADMIN_PANEL_DATE_FORMAT).'</td>';
echo '</tr>';
} catch (Exception $e) {
// Continue
}
}
echo '
</tbody>
</table>
';

68
bl-kernel/ajax/clippy.php Normal file
View file

@ -0,0 +1,68 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
// $_GET
// ----------------------------------------------------------------------------
// (string) $_GET['query']
$query = isset($_GET['query']) ? Text::lowercase($_GET['query']) : false;
// ----------------------------------------------------------------------------
if ($query===false) {
ajaxResponse(1, 'Invalid query.');
}
$result = array();
// MENU
if (Text::stringContains(Text::lowercase($L->g('New content')), $query)) {
$tmp = array('disabled'=>true, 'icon'=>'plus-circle', 'type'=>'menu');
$tmp['text'] = $L->g('New content');
$tmp['url'] = HTML_PATH_ADMIN_ROOT.'new-content';
array_push($result, $tmp);
}
if (Text::stringContains(Text::lowercase($L->g('New category')), $query)) {
$tmp = array('disabled'=>true, 'icon'=>'tag', 'type'=>'menu');
$tmp['text'] = $L->g('New category');
$tmp['url'] = HTML_PATH_ADMIN_ROOT.'new-category';
array_push($result, $tmp);
}
if (Text::stringContains(Text::lowercase($L->g('New user')), $query)) {
$tmp = array('disabled'=>true, 'icon'=>'user', 'type'=>'menu');
$tmp['text'] = $L->g('New user');
$tmp['url'] = HTML_PATH_ADMIN_ROOT.'new-user';
array_push($result, $tmp);
}
if (Text::stringContains(Text::lowercase($L->g('Categories')), $query)) {
$tmp = array('disabled'=>true, 'icon'=>'tags', 'type'=>'menu');
$tmp['text'] = $L->g('Categories');
$tmp['url'] = HTML_PATH_ADMIN_ROOT.'categories';
array_push($result, $tmp);
}
if (Text::stringContains(Text::lowercase($L->g('Users')), $query)) {
$tmp = array('disabled'=>true, 'icon'=>'users', 'type'=>'menu');
$tmp['text'] = $L->g('Users');
$tmp['url'] = HTML_PATH_ADMIN_ROOT.'users';
array_push($result, $tmp);
}
// PAGES
$pagesKey = $pages->getDB();
foreach ($pagesKey as $pageKey) {
try {
$page = new Page($pageKey);
$lowerTitle = Text::lowercase($page->title());
if (Text::stringContains($lowerTitle, $query)) {
$tmp = array('disabled'=>true);
$tmp['id'] = $page->key();
$tmp['text'] = $page->title();
$tmp['type'] = $page->type();
array_push($result, $tmp);
}
} catch (Exception $e) {
// continue
}
}
exit (json_encode(array('results'=>$result)));
?>

View file

@ -0,0 +1,49 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Search for pages that have in the title the string $query and returns the array of pages
|
| @_GET['published'] boolean True to search in published database
| @_GET['static'] boolean True to search in static database
| @_GET['sticky'] boolean True to search in sticky database
| @_GET['scheduled'] boolean True to search in scheduled database
| @_GET['draft'] boolean True to search in draft database
| @_GET['query'] string Text to search in the title
|
| @return array
*/
// $_GET
// ----------------------------------------------------------------------------
$published = empty($_GET['published']) ? false:true;
$static = empty($_GET['static']) ? false:true;
$sticky = empty($_GET['sticky']) ? false:true;
$scheduled = empty($_GET['scheduled']) ? false:true;
$draft = empty($_GET['draft']) ? false:true;
$query = isset($_GET['query']) ? Text::lowercase($_GET['query']) : false;
// ----------------------------------------------------------------------------
if ($query===false) {
ajaxResponse(1, 'Invalid query.');
}
$pageNumber = 1;
$numberOfItems = -1;
$pagesKey = $pages->getList($pageNumber, $numberOfItems, $published, $static, $sticky, $draft, $scheduled);
$tmp = array();
foreach ($pagesKey as $pageKey) {
try {
$page = new Page($pageKey);
$lowerTitle = Text::lowercase($page->title());
if (Text::stringContains($lowerTitle, $query)) {
$tmp[$page->key()] = $page->json(true);
}
} catch (Exception $e) {
// continue
}
}
exit (json_encode($tmp));
?>

View file

@ -0,0 +1,43 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Delete an image from a particular page
|
| @_POST['filename'] string Name of the file to delete
| @_POST['uuid'] string Page UUID
|
| @return array
*/
// $_POST
// ----------------------------------------------------------------------------
$filename = isset($_POST['filename']) ? $_POST['filename'] : false;
$uuid = empty($_POST['uuid']) ? false : $_POST['uuid'];
// ----------------------------------------------------------------------------
if ($filename===false) {
ajaxResponse(1, 'The filename is empty.');
}
if ($uuid && IMAGE_RESTRICT) {
$imagePath = PATH_UPLOADS_PAGES.$uuid.DS;
$thumbnailPath = PATH_UPLOADS_PAGES.$uuid.DS.'thumbnails'.DS;
} else {
$imagePath = PATH_UPLOADS;
$thumbnailPath = PATH_UPLOADS_THUMBNAILS;
}
// Delete image
if (Sanitize::pathFile($imagePath.$filename)) {
Filesystem::rmfile($imagePath.$filename);
}
// Delete thumbnail
if (Sanitize::pathFile($thumbnailPath.$filename)) {
Filesystem::rmfile($thumbnailPath.$filename);
}
ajaxResponse(0, 'Image deleted.');
?>

View file

@ -0,0 +1,27 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Generate an slug text for the URL
|
| @_POST['text'] string The text from where is generated the slug
| @_POST['parentKey'] string The parent key if the page has one
| @_POST['currentKey'] string The current page key
|
| @return array
*/
// $_POST
// ----------------------------------------------------------------------------
$text = isset($_POST['text']) ? $_POST['text'] : '';
$parent = isset($_POST['parentKey']) ? $_POST['parentKey'] : '';
$oldKey = isset($_POST['currentKey']) ? $_POST['currentKey'] : '';
// ----------------------------------------------------------------------------
$slug = $pages->generateKey($text, $parent, $returnSlug=true, $oldKey);
ajaxResponse(0, 'Slug generated.', array(
'slug'=>$slug
));
?>

View file

@ -0,0 +1,50 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Returns a list of pages and the title contains the query string
| The returned list have published, sticky and statics pages
|
| @_POST['query'] string The string to search in the title of the pages
|
| @return array
*/
// $_GET
// ----------------------------------------------------------------------------
// (string) $_GET['query']
$query = isset($_GET['query']) ? Text::lowercase($_GET['query']) : false;
// (boolean) $_GET['checkIsParent']
$checkIsParent = empty($_GET['checkIsParent']) ? false : true;
// ----------------------------------------------------------------------------
if ($query===false) {
ajaxResponse(1, 'Invalid query.');
}
$result = array();
$pagesKey = $pages->getDB();
foreach ($pagesKey as $pageKey) {
try {
$page = new Page($pageKey);
if ($page->isParent() || !$checkIsParent) {
// Check page status
if ($page->published() || $page->sticky() || $page->isStatic()) {
// Check if the query contains in the title
$lowerTitle = Text::lowercase($page->title());
if (Text::stringContains($lowerTitle, $query)) {
$tmp = array('disabled'=>false);
$tmp['id'] = $page->key();
$tmp['text'] = $page->title();
$tmp['type'] = $page->type();
array_push($result, $tmp);
}
}
}
} catch (Exception $e) {
// continue
}
}
exit (json_encode(array('results'=>$result)));
?>

View file

@ -0,0 +1,62 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Returns a list of images from a particular page
|
| @_POST['pageNumber'] int Page number for the paginator
| @_POST['path'] string Pre-defined name for the directory to read, its pre-defined to avoid security issues
| @_POST['uuid'] string Page UUID
|
| @return array
*/
// $_POST
// ----------------------------------------------------------------------------
// $_POST['pageNumber'] > 0
$pageNumber = empty($_POST['pageNumber']) ? 1 : (int)$_POST['pageNumber'];
$pageNumber = $pageNumber - 1;
$path = empty($_POST['path']) ? false : $_POST['path'];
$uuid = empty($_POST['uuid']) ? false : $_POST['uuid'];
// ----------------------------------------------------------------------------
// Set the path to get the file list
if ($path=='thumbnails') {
if ($uuid && IMAGE_RESTRICT) {
$path = PATH_UPLOADS_PAGES.$uuid.DS.'thumbnails'.DS;
} else {
$path = PATH_UPLOADS_THUMBNAILS;
}
} else {
ajaxResponse(1, 'Invalid path.');
}
// Get all files from the directory $path, also split the array by numberOfItems
// The function listFiles split in chunks
$listOfFilesByPage = Filesystem::listFiles($path, '*', '*', MEDIA_MANAGER_SORT_BY_DATE, MEDIA_MANAGER_NUMBER_OF_FILES);
// Check if the page number exists in the chunks
if (isset($listOfFilesByPage[$pageNumber])) {
// Get only the filename from the chunk
$files = array();
foreach ($listOfFilesByPage[$pageNumber] as $file) {
$filename = basename($file);
array_push($files, $filename);
}
// Returns the number of chunks for the paginator
// Returns the files inside the chunk
ajaxResponse(0, 'List of files and number of chunks.', array(
'numberOfPages'=>count($listOfFilesByPage),
'files'=>$files
));
}
ajaxResponse(0, 'List of files and number of chunks.', array(
'numberOfPages'=>0,
'files'=>array()
));
?>

View file

@ -0,0 +1,22 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Delete the site logo
| This script delete the file and set and empty string in the database
|
| @return array
*/
// Delete the file
$logoFilename = $site->logo(false);
if ($logoFilename) {
Filesystem::rmfile(PATH_UPLOADS.$logoFilename);
}
// Remove the logo from the database
$site->set(array('logo'=>''));
ajaxResponse(0, 'Logo removed.');
?>

View file

@ -0,0 +1,70 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Upload site logo
| The final filename is the site's name and the extension is the same as the file uploaded
|
| @_FILES['inputFile'] multipart/form-data File from form
|
| @return array
*/
if (!isset($_FILES['inputFile'])) {
ajaxResponse(1, 'Error trying to upload the site logo.');
}
// Check path traversal on $filename
if (Text::stringContains($_FILES['inputFile']['name'], DS, false)) {
$message = 'Path traversal detected.';
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// File extension
$fileExtension = Filesystem::extension($_FILES['inputFile']['name']);
$fileExtension = Text::lowercase($fileExtension);
if (!in_array($fileExtension, $GLOBALS['ALLOWED_IMG_EXTENSION'])) {
$message = $L->g('File type is not supported. Allowed types:').' '.implode(', ',$GLOBALS['ALLOWED_IMG_EXTENSION']);
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// File MIME Type
$fileMimeType = Filesystem::mimeType($_FILES['inputFile']['tmp_name']);
if ($fileMimeType!==false) {
if (!in_array($fileMimeType, $GLOBALS['ALLOWED_IMG_MIMETYPES'])) {
$message = $L->g('File mime type is not supported. Allowed types:').' '.implode(', ',$GLOBALS['ALLOWED_IMG_MIMETYPES']);
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
}
// Final filename
$filename = 'logo.'.$fileExtension;
if (Text::isNotEmpty( $site->title() )) {
$filename = $site->title().'.'.$fileExtension;
}
// Delete old image
$oldFilename = $site->logo(false);
if ($oldFilename) {
Filesystem::rmfile(PATH_UPLOADS.$oldFilename);
}
// Move from temporary directory to uploads
Filesystem::mv($_FILES['inputFile']['tmp_name'], PATH_UPLOADS.$filename);
// Permissions
chmod(PATH_UPLOADS.$filename, 0644);
// Store the filename in the database
$site->set(array('logo'=>$filename));
ajaxResponse(0, 'Image uploaded.', array(
'filename'=>$filename,
'absoluteURL'=>DOMAIN_UPLOADS.$filename,
'absolutePath'=>PATH_UPLOADS.$filename
));
?>

View file

@ -0,0 +1,74 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
// $_POST
// ----------------------------------------------------------------------------
// (string) $_POST['username']
$username = empty($_POST['username']) ? false : $_POST['username'];
// ----------------------------------------------------------------------------
if ($username===false) {
ajaxResponse(1, 'Error in username.');
}
if ( ($login->role()!='admin') && ($login->username()!=$username) ) {
ajaxResponse(1, 'Error in username.');
}
if (!isset($_FILES['profilePictureInputFile'])) {
ajaxResponse(1, 'Error trying to upload the profile picture.');
}
// Check path traversal
if (Text::stringContains($username, DS, false)) {
$message = 'Path traversal detected.';
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// Check file extension
$fileExtension = Filesystem::extension($_FILES['profilePictureInputFile']['name']);
$fileExtension = Text::lowercase($fileExtension);
if (!in_array($fileExtension, $GLOBALS['ALLOWED_IMG_EXTENSION']) ) {
$message = $L->g('File type is not supported. Allowed types:').' '.implode(', ',$GLOBALS['ALLOWED_IMG_EXTENSION']);
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// Check file MIME Type
$fileMimeType = Filesystem::mimeType($_FILES['profilePictureInputFile']['tmp_name']);
if ($fileMimeType!==false) {
if (!in_array($fileMimeType, $GLOBALS['ALLOWED_IMG_MIMETYPES'])) {
$message = $L->g('File mime type is not supported. Allowed types:').' '.implode(', ',$GLOBALS['ALLOWED_IMG_MIMETYPES']);
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
}
// Tmp filename
$tmpFilename = $username.'.'.$fileExtension;
// Final filename
$filename = $username.'.png';
// Move from temporary directory to uploads folder
rename($_FILES['profilePictureInputFile']['tmp_name'], PATH_TMP.$tmpFilename);
// Resize and convert to png
$image = new Image();
$image->setImage(PATH_TMP.$tmpFilename, PROFILE_IMG_WIDTH, PROFILE_IMG_HEIGHT, 'crop');
$image->saveImage(PATH_UPLOADS_PROFILES.$filename, PROFILE_IMG_QUALITY, false, true);
// Delete temporary file
Filesystem::rmfile(PATH_TMP.$tmpFilename);
// Permissions
chmod(PATH_UPLOADS_PROFILES.$filename, 0644);
ajaxResponse(0, 'Image uploaded.', array(
'filename'=>$filename,
'absoluteURL'=>DOMAIN_UPLOADS_PROFILES.$filename,
'absolutePath'=>PATH_UPLOADS_PROFILES.$filename
));
?>

View file

@ -0,0 +1,52 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Create/edit a page and save as draft
| If the UUID already exists the page is updated
|
| @_POST['title'] string Page title
| @_POST['content'] string Page content
| @_POST['uuid'] string Page uuid
| @_POST['uuid'] string Page type, by default is draft
|
| @return array
*/
// $_POST
// ----------------------------------------------------------------------------
$title = isset($_POST['title']) ? $_POST['title'] : false;
$content = isset($_POST['content']) ? $_POST['content'] : false;
$uuid = isset($_POST['uuid']) ? $_POST['uuid'] : false;
$type = isset($_POST['type']) ? $_POST['type'] : 'draft';
// ----------------------------------------------------------------------------
// Check UUID
if (empty($uuid)) {
ajaxResponse(1, 'Save as draft fail. UUID not defined.');
}
$page = array(
'uuid'=>$uuid,
'key'=>$uuid,
'slug'=>$uuid,
'title'=>$title,
'content'=>$content,
'type'=>$type
);
// Get the page key by the UUID
$pageKey = $pages->getByUUID($uuid);
// if pageKey is empty means the page doesn't exist
if (empty($pageKey)) {
createPage($page);
} else {
editPage($page);
}
ajaxResponse(0, 'Save as draft successfully.', array(
'uuid'=>$uuid
));
?>

View file

@ -0,0 +1,95 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('Content-Type: application/json');
/*
| Upload an image to a particular page
|
| @_POST['uuid'] string Page uuid
|
| @return array
*/
// $_POST
// ----------------------------------------------------------------------------
$uuid = empty($_POST['uuid']) ? false : $_POST['uuid'];
// ----------------------------------------------------------------------------
// Check path traversal on $uuid
if ($uuid) {
if (Text::stringContains($uuid, DS, false)) {
$message = 'Path traversal detected.';
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
}
// Set upload directory
if ($uuid && IMAGE_RESTRICT) {
$imageDirectory = PATH_UPLOADS_PAGES . $uuid . DS;
$thumbnailDirectory = $imageDirectory . 'thumbnails' . DS;
if (!Filesystem::directoryExists($thumbnailDirectory)) {
Filesystem::mkdir($thumbnailDirectory, true);
}
} else {
$imageDirectory = PATH_UPLOADS;
$thumbnailDirectory = PATH_UPLOADS_THUMBNAILS;
}
$images = array();
foreach ($_FILES['images']['name'] as $uuid => $filename) {
// Check for errors
if ($_FILES['images']['error'][$uuid] != 0) {
$message = $L->g('Maximum load file size allowed:') . ' ' . ini_get('upload_max_filesize');
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// Convert URL characters such as spaces or quotes to characters
$filename = urldecode($filename);
// Check path traversal on $filename
if (Text::stringContains($filename, DS, false)) {
$message = 'Path traversal detected.';
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// Check file extension
$fileExtension = Filesystem::extension($filename);
$fileExtension = Text::lowercase($fileExtension);
if (!in_array($fileExtension, $GLOBALS['ALLOWED_IMG_EXTENSION'])) {
$message = $L->g('File type is not supported. Allowed types:') . ' ' . implode(', ', $GLOBALS['ALLOWED_IMG_EXTENSION']);
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
// Check file MIME Type
$fileMimeType = Filesystem::mimeType($_FILES['images']['tmp_name'][$uuid]);
if ($fileMimeType !== false) {
if (!in_array($fileMimeType, $GLOBALS['ALLOWED_IMG_MIMETYPES'])) {
$message = $L->g('File mime type is not supported. Allowed types:') . ' ' . implode(', ', $GLOBALS['ALLOWED_IMG_MIMETYPES']);
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
}
// Move from PHP tmp file to Bludit tmp directory
Filesystem::mv($_FILES['images']['tmp_name'][$uuid], PATH_TMP . $filename);
// Transform the image and generate the thumbnail
$image = transformImage(PATH_TMP . $filename, $imageDirectory, $thumbnailDirectory);
if ($image) {
chmod($image, 0644);
$filename = Filesystem::filename($image);
array_push($images, $filename);
} else {
$message = 'Error after transformImage() function.';
Log::set($message, LOG_TYPE_ERROR);
ajaxResponse(1, $message);
}
}
ajaxResponse(0, 'Images uploaded.', array(
'images' => $images
));

104
bl-kernel/boot/admin.php Normal file
View file

@ -0,0 +1,104 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Start the session
// If the session is not possible to start the admin area is not available
Session::start($site->urlPath(), $site->isHTTPS());
if (Session::started()===false) {
exit('Bludit CMS. Session initialization failed.');
}
$login = new Login();
$layout = array(
'controller'=>null,
'view'=>null,
'template'=>'index.php',
'slug'=>null,
'plugin'=>false,
'parameters'=>null,
'title'=>'Bludit'
);
// Get the Controller
$explodeSlug = $url->explodeSlug();
$layout['controller'] = $layout['view'] = $layout['slug'] = empty($explodeSlug[0])?'dashboard':$explodeSlug[0];
unset($explodeSlug[0]);
// Get the Plugins
include(PATH_RULES.'60.plugins.php');
// Check if the user want to access to an admin controller or view from a plugin
if ($layout['controller'] === 'plugin' && !empty($explodeSlug)) {
// Lowercase plugins class name to search by case-insensitive
$pluginsLowerCases = array_change_key_case($pluginsInstalled);
$pluginName = Text::lowercase(array_shift($explodeSlug));
if (isset($pluginsLowerCases[$pluginName])) {
$layout['plugin'] = $pluginsLowerCases[$pluginName];
}
}
// Get the URL parameters
$layout['parameters'] = implode('/', $explodeSlug);
// --- AJAX ---
if ($layout['slug']==='ajax') {
if ($login->isLogged()) {
// Rules: Security check CSRF
include(PATH_RULES.'99.security.php');
// Load the ajax file
if (Sanitize::pathFile(PATH_AJAX, $layout['parameters'].'.php')) {
include(PATH_AJAX.$layout['parameters'].'.php');
}
}
header('HTTP/1.1 401 User not logged.');
exit(0);
}
// --- ADMIN AREA ---
else
{
// Boot rules
include(PATH_RULES.'69.pages.php');
include(PATH_RULES.'99.header.php');
include(PATH_RULES.'99.paginator.php');
include(PATH_RULES.'99.themes.php');
include(PATH_RULES.'99.security.php');
// Page not found.
// User not logged.
// Slug is login.
if ($url->notFound() || !$login->isLogged() || ($url->slug()==='login') ) {
$layout['controller'] = 'login';
$layout['view'] = 'login';
$layout['template'] = 'login.php';
// Generate the tokenCSRF for the user not logged, when the user log-in the token will be change.
$security->generateTokenCSRF();
}
// Define variables
$ADMIN_CONTROLLER = $layout['controller'];
$ADMIN_VIEW = $layout['view'];
// Load plugins before the admin area will be load.
Theme::plugins('beforeAdminLoad');
// Load init.php if the theme has one.
if (Sanitize::pathFile(PATH_ADMIN_THEMES, $site->adminTheme().DS.'init.php')) {
include(PATH_ADMIN_THEMES.$site->adminTheme().DS.'init.php');
}
// Load controller.
if (Sanitize::pathFile(PATH_ADMIN_CONTROLLERS, $layout['controller'].'.php')) {
include(PATH_ADMIN_CONTROLLERS.$layout['controller'].'.php');
} elseif ($layout['plugin'] && method_exists($layout['plugin'], 'adminController')) {
$layout['plugin']->adminController();
}
// Load view and theme.
if (Sanitize::pathFile(PATH_ADMIN_THEMES, $site->adminTheme().DS.$layout['template'])) {
include(PATH_ADMIN_THEMES.$site->adminTheme().DS.$layout['template']);
}
// Load plugins after the admin area is loaded.
Theme::plugins('afterAdminLoad');
}

264
bl-kernel/boot/init.php Normal file
View file

@ -0,0 +1,264 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Bludit version
define('BLUDIT_VERSION', '3.16.2');
define('BLUDIT_CODENAME', 'Valencia');
define('BLUDIT_RELEASE_DATE', '2024-08-23');
define('BLUDIT_BUILD', '20240806');
// Change to TRUE for debugging
define('DEBUG_MODE', TRUE);
define('DEBUG_TYPE', 'INFO'); // INFO, TRACE
// This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user.
ini_set("display_errors", 0);
// Even when display_errors is on, errors that occur during PHP's startup sequence are not displayed.
// It's strongly recommended to keep display_startup_errors off, except for debugging.
ini_set('display_startup_errors', 0);
// If disabled, error message will be solely plain text instead HTML code.
ini_set("html_errors", 0);
// Tells whether script error messages should be logged to the server's error log or error_log.
ini_set('log_errors', 1);
if (DEBUG_MODE) {
error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
} else {
error_reporting(E_ERROR);
}
// PHP paths
// PATH_ROOT and PATH_BOOT are defined in index.php
define('PATH_LANGUAGES', PATH_ROOT . 'bl-languages' . DS);
define('PATH_THEMES', PATH_ROOT . 'bl-themes' . DS);
define('PATH_PLUGINS', PATH_ROOT . 'bl-plugins' . DS);
define('PATH_KERNEL', PATH_ROOT . 'bl-kernel' . DS);
define('PATH_CONTENT', PATH_ROOT . 'bl-content' . DS);
define('PATH_ABSTRACT', PATH_KERNEL . 'abstract' . DS);
define('PATH_RULES', PATH_KERNEL . 'boot' . DS . 'rules' . DS);
define('PATH_HELPERS', PATH_KERNEL . 'helpers' . DS);
define('PATH_AJAX', PATH_KERNEL . 'ajax' . DS);
define('PATH_CORE_JS', PATH_KERNEL . 'js' . DS);
define('PATH_PAGES', PATH_CONTENT . 'pages' . DS);
define('PATH_DATABASES', PATH_CONTENT . 'databases' . DS);
define('PATH_PLUGINS_DATABASES', PATH_CONTENT . 'databases' . DS . 'plugins' . DS);
define('PATH_TMP', PATH_CONTENT . 'tmp' . DS);
define('PATH_UPLOADS', PATH_CONTENT . 'uploads' . DS);
define('PATH_WORKSPACES', PATH_CONTENT . 'workspaces' . DS);
define('PATH_UPLOADS_PAGES', PATH_UPLOADS . 'pages' . DS);
define('PATH_UPLOADS_PROFILES', PATH_UPLOADS . 'profiles' . DS);
define('PATH_UPLOADS_THUMBNAILS', PATH_UPLOADS . 'thumbnails' . DS);
define('PATH_ADMIN', PATH_KERNEL . 'admin' . DS);
define('PATH_ADMIN_THEMES', PATH_ADMIN . 'themes' . DS);
define('PATH_ADMIN_CONTROLLERS', PATH_ADMIN . 'controllers' . DS);
define('PATH_ADMIN_VIEWS', PATH_ADMIN . 'views' . DS);
define('DEBUG_FILE', PATH_CONTENT . 'debug.txt');
// PAGES DATABASE
define('DB_PAGES', PATH_DATABASES . 'pages.php');
define('DB_SITE', PATH_DATABASES . 'site.php');
define('DB_CATEGORIES', PATH_DATABASES . 'categories.php');
define('DB_TAGS', PATH_DATABASES . 'tags.php');
define('DB_SYSLOG', PATH_DATABASES . 'syslog.php');
define('DB_USERS', PATH_DATABASES . 'users.php');
define('DB_SECURITY', PATH_DATABASES . 'security.php');
// User environment variables
include(PATH_KERNEL . 'boot' . DS . 'variables.php');
// Set internal character encoding
mb_internal_encoding(CHARSET);
// Set HTTP output character encoding
mb_http_output(CHARSET);
// Inclde Abstract Classes
include(PATH_ABSTRACT . 'dbjson.class.php');
include(PATH_ABSTRACT . 'dblist.class.php');
include(PATH_ABSTRACT . 'plugin.class.php');
// Inclde Classes
include(PATH_KERNEL . 'pages.class.php');
include(PATH_KERNEL . 'users.class.php');
include(PATH_KERNEL . 'tags.class.php');
include(PATH_KERNEL . 'language.class.php');
include(PATH_KERNEL . 'site.class.php');
include(PATH_KERNEL . 'categories.class.php');
include(PATH_KERNEL . 'syslog.class.php');
include(PATH_KERNEL . 'pagex.class.php');
include(PATH_KERNEL . 'category.class.php');
include(PATH_KERNEL . 'tag.class.php');
include(PATH_KERNEL . 'user.class.php');
include(PATH_KERNEL . 'url.class.php');
include(PATH_KERNEL . 'login.class.php');
include(PATH_KERNEL . 'parsedown.class.php');
include(PATH_KERNEL . 'security.class.php');
// Include functions
include(PATH_KERNEL . 'functions.php');
// Include Helpers Classes
include(PATH_HELPERS . 'text.class.php');
include(PATH_HELPERS . 'log.class.php');
include(PATH_HELPERS . 'date.class.php');
include(PATH_HELPERS . 'theme.class.php');
include(PATH_HELPERS . 'session.class.php');
include(PATH_HELPERS . 'redirect.class.php');
include(PATH_HELPERS . 'sanitize.class.php');
include(PATH_HELPERS . 'valid.class.php');
include(PATH_HELPERS . 'email.class.php');
include(PATH_HELPERS . 'filesystem.class.php');
include(PATH_HELPERS . 'alert.class.php');
include(PATH_HELPERS . 'paginator.class.php');
include(PATH_HELPERS . 'image.class.php');
include(PATH_HELPERS . 'tcp.class.php');
include(PATH_HELPERS . 'dom.class.php');
include(PATH_HELPERS . 'cookie.class.php');
if (file_exists(PATH_KERNEL . 'bludit.pro.php')) {
include(PATH_KERNEL . 'bludit.pro.php');
}
// Objects
$pages = new Pages();
$users = new Users();
$tags = new Tags();
$categories = new Categories();
$site = new Site();
$url = new Url();
$security = new Security();
$syslog = new Syslog();
// --- Relative paths ---
// This paths are relative for the user / web browsing.
// Base URL
// The user can define the base URL.
// Left empty if you want to Bludit try to detect the base URL.
$base = '';
if (!empty($_SERVER['DOCUMENT_ROOT']) && !empty($_SERVER['SCRIPT_NAME']) && empty($base)) {
$base = str_replace($_SERVER['DOCUMENT_ROOT'], '', $_SERVER['SCRIPT_NAME']);
$base = dirname($base);
} elseif (empty($base)) {
$base = empty($_SERVER['SCRIPT_NAME']) ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME'];
$base = dirname($base);
}
if (strpos($_SERVER['REQUEST_URI'], $base) !== 0) {
$base = '/';
} elseif ($base != DS) {
$base = trim($base, '/');
$base = '/' . $base . '/';
} else {
// Workaround for Windows Web Servers
$base = '/';
}
define('HTML_PATH_ROOT', $base);
define('HTML_PATH_THEMES', HTML_PATH_ROOT . 'bl-themes/');
define('HTML_PATH_THEME', HTML_PATH_THEMES . $site->theme() . '/');
define('HTML_PATH_THEME_CSS', HTML_PATH_THEME . 'css/');
define('HTML_PATH_THEME_JS', HTML_PATH_THEME . 'js/');
define('HTML_PATH_THEME_IMG', HTML_PATH_THEME . 'img/');
define('HTML_PATH_ADMIN_ROOT', HTML_PATH_ROOT . ADMIN_URI_FILTER . '/');
define('HTML_PATH_ADMIN_THEME', HTML_PATH_ROOT . 'bl-kernel/admin/themes/' . $site->adminTheme() . '/');
define('HTML_PATH_ADMIN_THEME_JS', HTML_PATH_ADMIN_THEME . 'js/');
define('HTML_PATH_ADMIN_THEME_CSS', HTML_PATH_ADMIN_THEME . 'css/');
define('HTML_PATH_CORE_JS', HTML_PATH_ROOT . 'bl-kernel/js/');
define('HTML_PATH_CORE_CSS', HTML_PATH_ROOT . 'bl-kernel/css/');
define('HTML_PATH_CORE_IMG', HTML_PATH_ROOT . 'bl-kernel/img/');
define('HTML_PATH_CONTENT', HTML_PATH_ROOT . 'bl-content/');
define('HTML_PATH_UPLOADS', HTML_PATH_ROOT . 'bl-content/uploads/');
define('HTML_PATH_UPLOADS_PAGES', HTML_PATH_UPLOADS . 'pages/');
define('HTML_PATH_UPLOADS_PROFILES', HTML_PATH_UPLOADS . 'profiles/');
define('HTML_PATH_UPLOADS_THUMBNAILS', HTML_PATH_UPLOADS . 'thumbnails/');
define('HTML_PATH_PLUGINS', HTML_PATH_ROOT . 'bl-plugins/');
// --- Objects with dependency ---
$language = new Language($site->language());
$url->checkFilters($site->uriFilters());
// --- CONSTANTS with dependency ---
// Tag URI filter
define('TAG_URI_FILTER', $url->filters('tag'));
// Category URI filter
define('CATEGORY_URI_FILTER', $url->filters('category'));
// Page URI filter
define('PAGE_URI_FILTER', $url->filters('page'));
// Content order by: date / position
define('ORDER_BY', $site->orderBy());
// Allow unicode characters in the URL
define('EXTREME_FRIENDLY_URL', $site->extremeFriendly());
// Minutes to execute the autosave function
define('AUTOSAVE_INTERVAL', $site->autosaveInterval());
// TRUE for upload images restric to a pages, FALSE to upload images in common
define('IMAGE_RESTRICT', $site->imageRestrict());
// TRUE to convert relatives images to absoultes, FALSE No changes apply
define('IMAGE_RELATIVE_TO_ABSOLUTE', $site->imageRelativeToAbsolute());
// TRUE if the markdown parser is enabled
define('MARKDOWN_PARSER', $site->markdownParser());
// --- PHP paths with dependency ---
// This paths are absolutes for the OS
define('THEME_DIR', PATH_ROOT . 'bl-themes' . DS . $site->theme() . DS);
define('THEME_DIR_PHP', THEME_DIR . 'php' . DS);
define('THEME_DIR_CSS', THEME_DIR . 'css' . DS);
define('THEME_DIR_JS', THEME_DIR . 'js' . DS);
define('THEME_DIR_IMG', THEME_DIR . 'img' . DS);
define('THEME_DIR_LANG', THEME_DIR . 'languages' . DS);
// --- Absolute paths with domain ---
// This paths are absolutes for the user / web browsing.
define('DOMAIN', $site->domain());
define('DOMAIN_BASE', DOMAIN . HTML_PATH_ROOT);
define('DOMAIN_CORE_JS', DOMAIN . HTML_PATH_CORE_JS);
define('DOMAIN_CORE_CSS', DOMAIN . HTML_PATH_CORE_CSS);
define('DOMAIN_THEME', DOMAIN . HTML_PATH_THEME);
define('DOMAIN_THEME_CSS', DOMAIN . HTML_PATH_THEME_CSS);
define('DOMAIN_THEME_JS', DOMAIN . HTML_PATH_THEME_JS);
define('DOMAIN_THEME_IMG', DOMAIN . HTML_PATH_THEME_IMG);
define('DOMAIN_ADMIN_THEME', DOMAIN . HTML_PATH_ADMIN_THEME);
define('DOMAIN_ADMIN_THEME_CSS', DOMAIN . HTML_PATH_ADMIN_THEME_CSS);
define('DOMAIN_ADMIN_THEME_JS', DOMAIN . HTML_PATH_ADMIN_THEME_JS);
define('DOMAIN_UPLOADS', DOMAIN . HTML_PATH_UPLOADS);
define('DOMAIN_UPLOADS_PAGES', DOMAIN . HTML_PATH_UPLOADS_PAGES);
define('DOMAIN_UPLOADS_PROFILES', DOMAIN . HTML_PATH_UPLOADS_PROFILES);
define('DOMAIN_UPLOADS_THUMBNAILS', DOMAIN . HTML_PATH_UPLOADS_THUMBNAILS);
define('DOMAIN_PLUGINS', DOMAIN . HTML_PATH_PLUGINS);
define('DOMAIN_CONTENT', DOMAIN . HTML_PATH_CONTENT);
define('DOMAIN_ADMIN', DOMAIN_BASE . ADMIN_URI_FILTER . '/');
define('DOMAIN_TAGS', Text::addSlashes(DOMAIN_BASE . TAG_URI_FILTER, false, true));
define('DOMAIN_CATEGORIES', Text::addSlashes(DOMAIN_BASE . CATEGORY_URI_FILTER, false, true));
define('DOMAIN_PAGES', Text::addSlashes(DOMAIN_BASE . PAGE_URI_FILTER, false, true));
$ADMIN_CONTROLLER = '';
$ADMIN_VIEW = '';
$ID_EXECUTION = uniqid(); // string 13 characters long
$WHERE_AM_I = $url->whereAmI();
// --- Objects shortcuts ---
$L = $language;
// DEBUG: Print constants
// $arr = array_filter(get_defined_constants(), 'is_string');
// echo json_encode($arr);
// exit;

View file

@ -0,0 +1,134 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Variables
// ============================================================================
$plugins = array(
'siteHead'=>array(),
'siteBodyBegin'=>array(),
'siteBodyEnd'=>array(),
'siteSidebar'=>array(),
'beforeSiteLoad'=>array(),
'afterSiteLoad'=>array(),
'pageBegin'=>array(),
'pageEnd'=>array(),
'beforeAdminLoad'=>array(),
'afterAdminLoad'=>array(),
'adminHead'=>array(),
'adminBodyBegin'=>array(),
'adminBodyEnd'=>array(),
'adminSidebar'=>array(),
'adminContentSidebar'=>array(),
'dashboard'=>array(),
'beforeAll'=>array(),
'afterAll'=>array(),
'paginator'=>array(),
'afterPageCreate'=>array(),
'afterPageModify'=>array(),
'afterPageDelete'=>array(),
'loginHead'=>array(),
'loginBodyBegin'=>array(),
'loginBodyEnd'=>array(),
'all'=>array()
);
$pluginsEvents = $plugins;
unset($pluginsEvents['all']);
$pluginsInstalled = array();
// ============================================================================
// Functions
// ============================================================================
function buildPlugins()
{
global $plugins;
global $pluginsEvents;
global $pluginsInstalled;
global $L;
global $site;
// Get declared clasess BEFORE load plugins clasess
$currentDeclaredClasess = get_declared_classes();
// List plugins directories
$list = Filesystem::listDirectories(PATH_PLUGINS);
// Load each plugin clasess
foreach ($list as $pluginPath) {
// Check if the directory has the plugin.php
if (file_exists($pluginPath.DS.'plugin.php')) {
include_once($pluginPath.DS.'plugin.php');
}
}
// Get plugins clasess loaded
$pluginsDeclaredClasess = array_diff(get_declared_classes(), $currentDeclaredClasess);
foreach ($pluginsDeclaredClasess as $pluginClass) {
$Plugin = new $pluginClass;
// Check if the plugin is translated
$languageFilename = PATH_PLUGINS.$Plugin->directoryName().DS.'languages'.DS.$site->language().'.json';
if (!Sanitize::pathFile($languageFilename)) {
$languageFilename = PATH_PLUGINS.$Plugin->directoryName().DS.'languages'.DS.DEFAULT_LANGUAGE_FILE;
}
$database = file_get_contents($languageFilename);
$database = json_decode($database, true);
// Set name and description from the language file
$Plugin->setMetadata('name',$database['plugin-data']['name']);
$Plugin->setMetadata('description',$database['plugin-data']['description']);
// Remove name and description from the language file loaded and add new words if there are
// This function overwrite the key=>value
unset($database['plugin-data']);
if (!empty($database)) {
$L->add($database);
}
// $plugins['all'] Array with all plugins, installed and not installed
$plugins['all'][$pluginClass] = $Plugin;
// If the plugin is installed insert on the hooks
if ($Plugin->installed()) {
// Include custom hooks
if (!empty($Plugin->customHooks)) {
foreach ($Plugin->customHooks as $customHook) {
if (!isset($plugins[$customHook])) {
$plugins[$customHook] = array();
$pluginsEvents[$customHook] = array();
}
}
}
$pluginsInstalled[$pluginClass] = $Plugin;
foreach ($pluginsEvents as $event=>$value) {
if (method_exists($Plugin, $event)) {
array_push($plugins[$event], $Plugin);
}
}
}
// Sort the plugins by the position for the site sidebar
uasort($plugins['siteSidebar'], function ($a, $b) {
return $a->position()>$b->position();
}
);
}
}
// ============================================================================
// Main
// ============================================================================
buildPlugins();

View file

@ -0,0 +1,23 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Redirect admin, from /admin to /admin/
if ($url->uri()==HTML_PATH_ROOT.ADMIN_URI_FILTER) {
Redirect::url(DOMAIN_ADMIN);
}
// Redirect blog, from /blog to /blog/
// This rule only works when the user set a page as homepage
if ($url->uri()==HTML_PATH_ROOT.'blog' && $site->homepage()) {
$filter = $url->filters('blog');
$finalURL = Text::addSlashes(DOMAIN_BASE.$filter, false, true);
Redirect::url($finalURL);
}
// Redirect pages, from /my-page/ to /my-page
if ($url->whereAmI()=='page' && !$url->notFound()) {
$pageKey = $url->slug();
if (Text::endsWith($pageKey, '/')) {
$pageKey = rtrim($pageKey, '/');
Redirect::url(DOMAIN_PAGES.$pageKey);
}
}

View file

@ -0,0 +1,86 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Variables
// ============================================================================
// Array with pages, each page is a Page Object
// Filtered by pagenumber, number of items per page and sorted by date/position
/*
array(
0 => Page Object,
1 => Page Object,
...
N => Page Object
)
*/
$content = array();
// Page filtered by the user, is a Page Object
$page = false;
// Array with static content, each item is a Page Object
// Order by position
/*
array(
0 => Page Object,
1 => Page Object,
...
N => Page Object
)
*/
$staticContent = $staticPages = buildStaticPages();
// ============================================================================
// Main
// ============================================================================
// Execute the scheduler
if ($pages->scheduler()) {
// Execute plugins with the hook afterPageCreate
Theme::plugins('afterPageCreate');
reindexTags();
reindexCategories();
// Add to syslog
$syslog->add(array(
'dictionaryKey'=>'content-published-from-scheduler',
'notes'=>''
));
}
// Set home page if the user defined one
if ($site->homepage() && $url->whereAmI()==='home') {
$pageKey = $site->homepage();
if ($pages->exists($pageKey)) {
$url->setSlug($pageKey);
$url->setWhereAmI('page');
}
}
// Build specific page
if ($url->whereAmI()==='page') {
$content[0] = $page = buildThePage();
}
// Build content by tag
elseif ($url->whereAmI()==='tag') {
$content = buildPagesByTag();
}
// Build content by category
elseif ($url->whereAmI()==='category') {
$content = buildPagesByCategory();
}
// Build content for the homepage
elseif ( ($url->whereAmI()==='home') || ($url->whereAmI()==='blog') ) {
$content = buildPagesForHome();
}
if (isset($content[0])) {
$page = $content[0];
}
// If set notFound, create the page 404
if ($url->notFound()) {
$content[0] = $page = buildErrorPage();
}

View file

@ -0,0 +1,4 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
header('HTTP/1.0 '.$url->httpCode().' '.$url->httpMessage());
header('X-Powered-By: Bludit');

View file

@ -0,0 +1,54 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Current page number
$currentPage = $url->pageNumber();
Paginator::set('currentPage', $currentPage);
if ($url->whereAmI()=='admin') {
$itemsPerPage = ITEMS_PER_PAGE_ADMIN;
$numberOfItems = $pages->count(true);
} elseif ($url->whereAmI()=='tag') {
$itemsPerPage = $site->itemsPerPage();
$tagKey = $url->slug();
$numberOfItems = $tags->numberOfPages($tagKey);
} elseif ($url->whereAmI()=='category') {
$itemsPerPage = $site->itemsPerPage();
$categoryKey = $url->slug();
$numberOfItems = $categories->numberOfPages($categoryKey);
} else {
$itemsPerPage = $site->itemsPerPage();
$numberOfItems = $pages->count(true);
}
// Execute hook from plugins
Theme::plugins('paginator');
// Items per page
Paginator::set('itemsPerPage', $itemsPerPage);
// Amount of items
Paginator::set('numberOfItems', $numberOfItems);
// Amount of pages
$numberOfPages = (int) max(ceil($numberOfItems / $itemsPerPage), 1);
Paginator::set('numberOfPages', $numberOfPages);
// TRUE if exists a next page to show
$showNext = $numberOfPages > $currentPage;
Paginator::set('showNext', $showNext);
// TRUE if exists a previous page to show
$showPrev = $currentPage > Paginator::firstPage();
Paginator::set('showPrev', $showPrev);
// TRUE if exists a next and previous page to show
$showNextPrev = $showNext && $showPrev;
Paginator::set('showNextPrev', $showNextPrev);
// Integer with the next page
$nextPage = max(0, $currentPage+1);
Paginator::set('nextPage', $nextPage);
// Integer with the previous page
$prevPage = min($numberOfPages, $currentPage-1);
Paginator::set('prevPage', $prevPage);

View file

@ -0,0 +1,34 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Variables
// ============================================================================
// ============================================================================
// Functions
// ============================================================================
// ============================================================================
// Main before POST
// ============================================================================
// ============================================================================
// POST Method
// ============================================================================
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$token = isset($_POST['tokenCSRF']) ? Sanitize::html($_POST['tokenCSRF']) : false;
if (!$security->validateTokenCSRF($token)) {
Log::set(__FILE__.LOG_SEP.'Error occurred when trying to validate the tokenCSRF.', ALERT_STATUS_FAIL);
Log::set(__FILE__.LOG_SEP.'Token via POST ['.$token.']', ALERT_STATUS_FAIL);
Session::destroy();
Redirect::page('login');
} else {
unset( $_POST['tokenCSRF'] );
}
}
// ============================================================================
// Main after POST
// ============================================================================

View file

@ -0,0 +1,87 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// ============================================================================
// Variables
// ============================================================================
$themePlugin = getPlugin($site->theme()); // Returns plugin object or False
// ============================================================================
// Functions
// ============================================================================
function buildThemes()
{
global $site;
$themes = array();
$themesPaths = Filesystem::listDirectories(PATH_THEMES);
foreach ($themesPaths as $themePath) {
// Check if the theme is translated.
$languageFilename = $themePath . DS . 'languages' . DS . $site->language() . '.json';
if (!Sanitize::pathFile($languageFilename)) {
$languageFilename = $themePath . DS . 'languages' . DS . DEFAULT_LANGUAGE_FILE;
}
if (Sanitize::pathFile($languageFilename)) {
$database = file_get_contents($languageFilename);
$database = json_decode($database, true);
if (empty($database)) {
Log::set('99.themes.php' . LOG_SEP . 'Language file error on theme ' . $themePath);
break;
}
$database = $database['theme-data'];
$database['dirname'] = basename($themePath);
// --- Metadata ---
$filenameMetadata = $themePath . DS . 'metadata.json';
if (Sanitize::pathFile($filenameMetadata)) {
$metadataString = file_get_contents($filenameMetadata);
$metadata = json_decode($metadataString, true);
$database['compatible'] = false;
if (!empty($metadata['compatible'])) {
$bluditRoot = explode('.', BLUDIT_VERSION);
$compatible = explode(',', $metadata['compatible']);
foreach ($compatible as $version) {
$root = explode('.', $version);
if ($root[0] == $bluditRoot[0] && $root[1] == $bluditRoot[1]) {
$database['compatible'] = true;
}
}
}
$database = $database + $metadata;
array_push($themes, $database);
}
}
}
return $themes;
}
// ============================================================================
// Main
// ============================================================================
// Load the language file
$languageFilename = THEME_DIR . 'languages' . DS . $site->language() . '.json';
if (!Sanitize::pathFile($languageFilename)) {
$languageFilename = THEME_DIR . 'languages' . DS . DEFAULT_LANGUAGE_FILE;
}
if (Sanitize::pathFile($languageFilename)) {
$database = file_get_contents($languageFilename);
$database = json_decode($database, true);
// Remote the name and description.
unset($database['theme-data']);
// Load words from the theme language
if (!empty($database)) {
$L->add($database);
}
}

35
bl-kernel/boot/site.php Normal file
View file

@ -0,0 +1,35 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
// Load plugins rules
include(PATH_RULES.'60.plugins.php');
// Plugins before all
Theme::plugins('beforeAll');
// Load rules
include(PATH_RULES.'60.router.php');
include(PATH_RULES.'69.pages.php');
include(PATH_RULES.'99.header.php');
include(PATH_RULES.'99.paginator.php');
include(PATH_RULES.'99.themes.php');
// Plugins before site loaded
Theme::plugins('beforeSiteLoad');
// Theme init.php
if (Sanitize::pathFile(PATH_THEMES, $site->theme().DS.'init.php')) {
include(PATH_THEMES.$site->theme().DS.'init.php');
}
// Theme HTML
if (Sanitize::pathFile(PATH_THEMES, $site->theme().DS.'index.php')) {
include(PATH_THEMES.$site->theme().DS.'index.php');
} else {
$L->p('Please check your theme configuration in the admin panel. Check for an active theme.');
}
// Plugins after site loaded
Theme::plugins('afterSiteLoad');
// Plugins after all
Theme::plugins('afterAll');

View file

@ -0,0 +1,113 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
/*
Environment variables
If you are going to do some changes is recommended do it before the installation
*/
// Log
define('LOG_SEP', ' | ');
define('LOG_TYPE_INFO', '[INFO]');
define('LOG_TYPE_WARN', '[WARN]');
define('LOG_TYPE_ERROR', '[ERROR]');
// Protecting against Symlink attacks
define('CHECK_SYMBOLIC_LINKS', TRUE);
// Alert status ok
define('ALERT_STATUS_OK', 0);
// Alert status fail
define('ALERT_STATUS_FAIL', 1);
// Profile image size
define('PROFILE_IMG_WIDTH', 400);
define('PROFILE_IMG_HEIGHT', 400);
define('PROFILE_IMG_QUALITY', 100); // 100%
// Items per page for admin area
define('ITEMS_PER_PAGE_ADMIN', 20);
// Password length
define('PASSWORD_LENGTH', 6);
// Password salt length
define('SALT_LENGTH', 8);
// Page brake string
define('PAGE_BREAK', '<!-- pagebreak -->');
// Remember me
define('REMEMBER_COOKIE_USERNAME', 'BLUDITREMEMBERUSERNAME');
define('REMEMBER_COOKIE_TOKEN', 'BLUDITREMEMBERTOKEN');
define('REMEMBER_COOKIE_EXPIRE_IN_DAYS', 30);
// Filename
define('FILENAME', 'index.txt');
// Database date format
define('DB_DATE_FORMAT', 'Y-m-d H:i:s');
// Database date format
define('BACKUP_DATE_FORMAT', 'Y-m-d-H-i-s');
// Sitemap date format
define('SITEMAP_DATE_FORMAT', 'Y-m-d');
// Date format for Manage Content, Manage Users
define('ADMIN_PANEL_DATE_FORMAT', 'D, j M Y, H:i');
// Date format for Dashboard schedule posts
define('SCHEDULED_DATE_FORMAT', 'D, j M Y, H:i');
// Notifications date format
define('NOTIFICATIONS_DATE_FORMAT', 'D, j M Y, H:i');
// Manage content date format
define('MANAGE_CONTENT_DATE_FORMAT', 'D, j M Y, H:i');
// Amount of items to show on notification panel
define('NOTIFICATIONS_AMOUNT', 10);
// Token time to live for login via email. The offset is defined by http://php.net/manual/en/datetime.modify.php
define('TOKEN_EMAIL_TTL', '+15 minutes');
// Charset, default UTF-8.
define('CHARSET', 'UTF-8');
// Permissions for new directories
define('DIR_PERMISSIONS', 0755);
// Admin URI filter to access to the admin panel
define('ADMIN_URI_FILTER', 'admin');
// Default language file, in this case is English
define('DEFAULT_LANGUAGE_FILE', 'en.json');
// Session timeout server side, gc_maxlifetime
// 3600 = 1hour
define('SESSION_GC_MAXLIFETIME', 3600);
// Session lifetime of the cookie in seconds which is sent to the browser
// The value 0 means until the browser is closed
define('SESSION_COOKIE_LIFE_TIME', 0);
// Alert notification disappear in X seconds
define('ALERT_DISAPPEAR_IN', 3);
// Number of images to show in the media manager per page
define('MEDIA_MANAGER_NUMBER_OF_FILES', 5);
// Sort the image by date
define('MEDIA_MANAGER_SORT_BY_DATE', true);
// Constant arrays using define are not allowed in PHP 5.6 or earlier
// Type of pages included in the tag database
$GLOBALS['DB_TAGS_TYPES'] = array('published','static','sticky');
// Allowed image extensions
$GLOBALS['ALLOWED_IMG_EXTENSION'] = array('gif', 'png', 'jpg', 'jpeg', 'svg', 'webp');
// Allowed image mime types
$GLOBALS['ALLOWED_IMG_MIMETYPES'] = array('image/gif', 'image/png', 'image/jpeg', 'image/svg+xml', 'image/webp');

View file

@ -0,0 +1,43 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
class Categories extends dbList {
function __construct()
{
parent::__construct(DB_CATEGORIES);
}
function numberOfPages($key)
{
return $this->countItems($key);
}
public function reindex()
{
global $pages;
// Foreach category
foreach ($this->db as $key=>$value) {
$this->db[$key]['list'] = array();
}
// Get pages database
$db = $pages->getDB(false);
foreach ($db as $pageKey=>$pageFields) {
if (!empty($pageFields['category'])) {
$categoryKey = $pageFields['category'];
if (isset($this->db[$categoryKey]['list'])) {
if (
($db[$pageKey]['type']=='published') ||
($db[$pageKey]['type']=='sticky') ||
($db[$pageKey]['type']=='static')
) {
array_push($this->db[$categoryKey]['list'], $pageKey);
}
}
}
}
return $this->save();
}
}

View file

@ -0,0 +1,78 @@
<?php defined('BLUDIT') or die('Bludit CMS.');
class Category {
protected $vars;
function __construct($key)
{
global $categories;
if (isset($categories->db[$key])) {
$this->vars['name'] = $categories->db[$key]['name'];
$this->vars['template'] = $categories->db[$key]['template'];
$this->vars['description'] = $categories->db[$key]['description'];
$this->vars['key'] = $key;
$this->vars['permalink'] = DOMAIN_CATEGORIES . $key;
$this->vars['list'] = $categories->db[$key]['list'];
} else {
$errorMessage = 'Category not found in database by key ['.$key.']';
Log::set(__METHOD__.LOG_SEP.$errorMessage);
throw new Exception($errorMessage);
}
}
public function getValue($field)
{
if (isset($this->vars[$field])) {
return $this->vars[$field];
}
return false;
}
public function key()
{
return $this->getValue('key');
}
public function name()
{
return $this->getValue('name');
}
public function permalink()
{
return $this->getValue('permalink');
}
public function template()
{
return $this->getValue('template');
}
public function description()
{
return $this->getValue('description');
}
// Returns an array with the keys of pages linked to the category
public function pages()
{
return $this->getValue('list');
}
// Returns an array in json format with all the data of the tag
public function json($returnsArray=false)
{
$tmp['key'] = $this->key();
$tmp['name'] = $this->name();
$tmp['description'] = $this->description();
$tmp['permalink'] = $this->permalink();
$tmp['pages'] = $this->pages();
if ($returnsArray) {
return $tmp;
}
return json_encode($tmp);
}
}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

6
bl-kernel/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
bl-kernel/css/jquery.datetimepicker.min.css vendored Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 424 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more