Compare commits

..

223 commits
1.0.3 ... 1.6

Author SHA1 Message Date
Rodolfo Berrios
178a08ee3f
Update README.md
Hope to clarify that software name is not random
2024-02-28 06:59:23 -03:00
Rodolfo Berrios
a68be24fde
Update README.md
blabla
2023-08-08 19:11:08 -04:00
Rodolfo Berrios
d896501a3f
Update README.md
chile, la alegría ya viene
2023-08-08 19:10:21 -04:00
Rodolfo Berrios
61349dec59
escandalo 2022-11-30 10:53:50 -03:00
Rodolfo Berrios
cdaa049453
A wild Chevereto free edition appeared!
rodber used free software. It's Super Effective!
2022-11-24 18:33:30 -03:00
Rodolfo Berrios
fb5a618943
thanks everybody
Thank you for using my stuff. Time to move on for me.
2022-10-08 10:53:37 -03:00
Rodolfo Berrios
68eb886890
chevereto v4 is overkill 2022-09-10 07:37:12 -04:00
Rodolfo Berrios
0f27d28bb6
updates note 2022-06-21 10:39:17 -04:00
Rodolfo Berrios
0ea0201343
señores pasajeros 2022-04-30 17:36:02 -04:00
Rodolfo Berrios
206506f12d
typos 2022-04-27 16:05:10 -04:00
Rodolfo Berrios
b1bacc7455
nos vimos 2022-03-28 14:42:22 -03:00
Rodolfo Berrios
cc5b6c301a
fix link 2022-03-02 13:05:49 -03:00
Rodolfo Berrios
4c5deb14a6
publicidad y que tanta wea 2022-02-16 12:09:29 -03:00
Rodolfo Berrios
d217c06b1b
ad 2022-02-14 22:11:47 -03:00
Rodolfo Berrios
55d44f7ffb Merge branch '1.6' of github.com:rodber/chevereto-free into 1.6 2022-02-01 15:36:06 -03:00
Rodolfo Berrios
b24ab817d3
add do button 2022-02-01 15:36:02 -03:00
Rodolfo Berrios
11718635a4
removes php 8 dependency 2022-01-07 19:00:15 -03:00
Rodolfo Berrios
701c1d925a
tags 1.6.1 2022-01-07 13:25:58 -03:00
Rodolfo Berrios
58603172b1
disable fetch url follow redirect 2022-01-07 13:21:16 -03:00
Rodolfo Berrios
e30ce8f0e9
deps update 2022-01-07 13:20:20 -03:00
Rodolfo Berrios
938559ad8f
chevereto news ping update 2021-12-20 11:15:34 -03:00
Rodolfo Berrios
fb6506d439
💅 chevereto news 2021-12-20 10:34:52 -03:00
Rodolfo Berrios
86e50ec21c
removes header, top-bar bottom border 2021-12-20 10:34:32 -03:00
Rodolfo Berrios
8d2ecc11d0
tags 1.6.1 2021-12-20 10:32:55 -03:00
Rodolfo Berrios
1d16f288b1
tags 1.6.0 2021-12-14 13:48:44 -03:00
Rodolfo Berrios
d2dad1fd1c
close #132 2021-12-04 12:26:38 -03:00
Rodolfo Berrios
b36f094edd
close #131 2021-12-04 12:26:16 -03:00
Rodolfo Berrios
1f1a395382
removed invasive upgrade remarks 2021-12-04 09:23:41 -03:00
Rodolfo Berrios
e120fec868
typo 2021-12-03 19:17:12 -03:00
Rodolfo Berrios
16463a3a68
remove upgrading.md 2021-12-03 19:17:01 -03:00
Rodolfo Berrios
4d7858b18b
close #92 2021-12-03 19:14:31 -03:00
Rodolfo Berrios
0dce5d5374
update docker readme 2021-11-27 14:09:05 -03:00
Rodolfo Berrios
20fac248c1
add compose start 2021-11-27 12:24:29 -03:00
Rodolfo Berrios
ad7242a30d
disable updates (use image updates) 2021-11-27 12:24:19 -03:00
Rodolfo Berrios
d593a7c126
improves ignored files 2021-11-27 12:23:31 -03:00
Rodolfo Berrios
49fe81cc57 Merge branch '1.5' of github.com:rodber/chevereto-free into 1.5 2021-11-27 09:59:29 -03:00
Rodolfo Berrios
8735dcd041
rename package 2021-11-27 09:09:15 -03:00
Rodolfo Berrios
5d9c6ffbf7
doc improves 2021-11-20 20:45:15 -03:00
Rodolfo Berrios
2881c892d8
typo 2021-11-20 20:31:59 -03:00
Rodolfo Berrios
eda6894863
content volume 2021-11-20 20:28:28 -03:00
Rodolfo Berrios
428e5ad3f0
source sync 2021-11-20 19:49:32 -03:00
Rodolfo Berrios
f5d33866cc
upgrading 2021-11-20 19:49:12 -03:00
Rodolfo Berrios
1e38669aa0
close #105 2021-11-20 12:42:49 -03:00
Rodolfo Berrios
fc94bab9d4
/dev/stderr 2021-11-20 12:41:59 -03:00
Rodolfo Berrios
bf723e0db4
typo 2021-11-20 12:41:36 -03:00
Rodolfo Berrios
5e60d300fb
there it goes like saturday 2021-11-20 11:39:23 -03:00
Rodolfo Berrios
1728229fab
docker docs 2021-11-20 11:34:11 -03:00
Rodolfo Berrios
886bd1e38e
docker image 2021-11-20 11:34:06 -03:00
Rodolfo Berrios
f47ebbf47c
deprecate 2021-11-20 11:33:39 -03:00
Rodolfo Berrios
932593d7bc
tags 1.5.1 2021-10-28 13:52:59 -03:00
Rodolfo Berrios
4f635699ac
close #118 2021-10-27 21:06:35 -03:00
Rodolfo Berrios
a36cd07286
ando como placido domingo 2021-10-20 12:40:29 -03:00
Rodolfo Berrios
5d76498ee6
ando como dia martes 2021-10-20 12:35:50 -03:00
Rodolfo Berrios
94723e48ce
updated readme 2021-10-19 14:17:27 -03:00
Rodolfo Berrios
03d7465743
updated powered by "chevereto-free" 2021-10-19 11:52:24 -03:00
Rodolfo Berrios
8b1695bbef
updated default color 2021-10-19 11:36:54 -03:00
Rodolfo Berrios
c8b25daf10
update/upgrade typos 2021-10-19 11:33:35 -03:00
Rodolfo Berrios
2060b8bd95
removed upgrade button from user dropdown 2021-10-19 11:28:41 -03:00
Rodolfo Berrios
8591f93a17
gfy with funding 2021-10-19 11:25:39 -03:00
Rodolfo Berrios
5cbde43928
close #115 2021-10-19 11:24:51 -03:00
Rodolfo Berrios
f668d7a918
enforce webp 2021-10-19 11:18:59 -03:00
Rodolfo Berrios
6754e8b855
close #114 2021-10-19 11:16:55 -03:00
Rodolfo Berrios
f6a1e69f72
removed hostname wildcard #116 2021-10-19 11:07:12 -03:00
Rodolfo Berrios
d50b942f58
close #116 2021-10-19 11:05:12 -03:00
Rodolfo Berrios
d689f7aa58
remove lang subdomains #113 2021-10-19 11:03:33 -03:00
Rodolfo Berrios
43de276ae4
close #113 2021-10-19 11:02:27 -03:00
Rodolfo Berrios
535a08dbdf
rodber takes charge 2021-10-19 10:17:10 -03:00
Rodolfo Berrios
9a303546e8
migrating 2021-10-19 10:09:34 -03:00
Rodolfo Berrios
745b54a40e
métase su tracking en el cohorto 2021-10-18 15:58:14 -03:00
Rodolfo Berrios
52760d0b1b
no frames 2021-10-18 15:57:28 -03:00
Rodolfo Berrios
1325324f8b
typo 2021-10-13 19:01:51 -03:00
Rodolfo Berrios
d2e23731e3
👏 suelta el cache octogato 2021-10-13 18:59:25 -03:00
Rodolfo Berrios
005fcb0c36
🤙 figurando 2021-10-13 18:55:36 -03:00
Rodolfo Berrios
8ec926377d
typos 2021-10-07 19:56:21 -03:00
Rodolfo Berrios
458dfd69e3
rename -dev to -lite 2021-10-07 19:56:00 -03:00
Rodolfo Berrios
7d909b31ac
feat: improved docs #100 2021-10-04 11:06:42 -03:00
Rodolfo Berrios
bd9ff1419e
label 1.4.2 2021-10-04 10:24:50 -03:00
Rodolfo Berrios
c93e8b4a30
feat: artifact driven updater 2021-10-04 10:24:40 -03:00
Rodolfo Berrios
03c37d4d34
ando como dia lunes! 2021-10-04 10:23:43 -03:00
Rodolfo Berrios
6e192b34ea
exclude dev package from release artifact 2021-10-04 10:13:37 -03:00
Rodolfo Berrios
23ccd5e3b6
😱 ESCANDALO 2021-10-04 09:35:23 -03:00
Rodolfo Berrios
f191172238
feat: release artifacts #100 2021-10-04 09:31:38 -03:00
Rodolfo Berrios
e3787edff9
feat: updater override .htaccess 2021-10-04 09:28:56 -03:00
Rodolfo Berrios
27cd60be26
update composer 2021-10-04 09:28:21 -03:00
Rodolfo Berrios
f9aa0459c1
ignore app/vendor 2021-10-04 09:26:09 -03:00
Rodolfo Berrios
85606df518
remove app/vendor 2021-10-04 09:23:47 -03:00
Rodolfo Berrios
51cad187db
close #99 2021-10-03 20:48:21 -03:00
Rodolfo Berrios
699b10bd13
feat: changes image, close #106 2021-10-03 20:35:14 -03:00
Rodolfo Berrios
cafea80e08
css formatter 2021-10-03 20:34:50 -03:00
Rodolfo Berrios
440b773092
changes powered by link to repo link 2021-10-03 20:34:39 -03:00
Rodolfo Berrios
1dfe6948be
changes default color 2021-10-03 20:34:14 -03:00
Rodolfo Berrios
9dac09b453
update on project future owner 2021-10-03 11:54:11 -03:00
Rodolfo Berrios
153d7eae80
tags 1.4.2 2021-10-03 11:24:23 -03:00
Rodolfo Berrios
9e22623313
close #107 2021-10-03 11:24:13 -03:00
Rodolfo Berrios
4c577af004
feat: panic on unwanted extensions, close #101 2021-10-03 10:10:18 -03:00
Rodolfo Berrios
5c8093f71e
feat: harden .htaccess, close #102 2021-10-03 10:07:12 -03:00
Rodolfo Berrios
46024c49d4
️rodber 2021-10-02 15:07:10 -03:00
Rodolfo Berrios
ad5d836aa6
readme update 2021-09-04 19:43:25 -04:00
Rodolfo Berrios
e42757c073
missing tag 2021-09-04 19:27:40 -04:00
Rodolfo Berrios
e12bfb2eec
tags 1.4.1 2021-09-01 13:20:29 -04:00
Rodolfo Berrios
1c10eefd0d
XSS patches (oembed, dupes) 2021-09-01 13:20:02 -04:00
Rodolfo Berrios
22b978a12b
update ignore 2021-09-01 12:33:57 -04:00
Rodolfo Berrios
89df99f855
no twitter 2021-08-13 10:24:34 -04:00
Rodolfo Berrios
dc89207684
😘 besitos 2021-07-19 17:08:11 -04:00
Rodolfo Berrios
fa470f39e6
close #95 2021-07-19 17:07:31 -04:00
Rodolfo Berrios
26791e03fa
bumps deps 2021-07-15 17:05:21 -04:00
Rodolfo Berrios
a4468798fe
3.16.2 fork, checks for 1.4.0 2021-07-13 13:36:47 -04:00
Rodolfo Berrios
496d67505f
close #90 2021-07-13 13:28:17 -04:00
Rodolfo Berrios
f5b475bd5a
remarks on date for the fork 2021-07-13 12:53:34 -04:00
Rodolfo Berrios
f4900ae979
close #89 2021-07-13 12:51:32 -04:00
Rodolfo Berrios
c6ec14ae63
That's all folks! 2021-07-12 17:51:01 -04:00
Rodolfo Berrios
001bd2a977
chop support 2021-07-12 17:50:51 -04:00
Rodolfo Berrios
27aaa235ec
1.4.0 2021-07-12 16:50:33 -04:00
Rodolfo Berrios
e0342b6214
ending remarks 2021-07-12 16:50:21 -04:00
Rodolfo Berrios
14ff849e26
adds yellow 2021-07-12 16:49:48 -04:00
Rodolfo Berrios
ad72139cee
close #87 2021-07-12 11:42:30 -04:00
Rodolfo Berrios
66ca6cabf3
note on installation 2021-07-12 11:31:21 -04:00
Rodolfo Berrios
ebdbe3eebd
readme update 2021-07-12 11:16:18 -04:00
Rodolfo Berrios
e9d241581c
readme update 2021-07-12 11:13:28 -04:00
Rodolfo Berrios
1b59578209
deps update 2021-07-12 11:13:15 -04:00
Rodolfo Berrios
97313065cf
remarks, less chatter 2021-06-20 13:09:00 -04:00
Rodolfo Berrios
af87b8f2cc
yolo 2021-06-15 13:30:23 -04:00
Rodolfo Berrios
f39503f051
README update 2021-06-03 10:19:20 -04:00
Rodolfo Berrios
de060391c6
typos 2021-06-03 10:19:10 -04:00
Rodolfo Berrios
96e8746924
ignore 2021-06-03 10:18:48 -04:00
Rodolfo Berrios
7711a6fda3
readme update 2021-04-17 09:37:08 -04:00
Rodolfo Berrios
eb0fb14305 broken links 2021-02-22 14:33:40 -03:00
Rodolfo Berrios
f160396f8e readme update 2021-02-12 20:40:19 -03:00
Rodolfo Berrios
b057d47885 give color 2021-01-25 19:15:06 -03:00
Rodolfo Berrios
fb7bdc0cd3 👀 2020-11-09 14:05:41 -03:00
Rodolfo Berrios
b82616914b updates funding 2020-11-02 19:29:17 -03:00
Rodolfo Berrios
a24407889d tags 1.3.0 2020-10-26 13:59:08 -03:00
Rodolfo Berrios
ecf6a7c2d2 uses upgrade modal, not link 2020-10-26 13:21:58 -03:00
Rodolfo Berrios
7f76aa89ae 1.3.0 dev 2020-10-09 19:16:21 -03:00
Rodolfo Berrios
3caf6fed1e updates header licensing 2020-09-25 17:27:24 -03:00
Rodolfo Berrios
116a1a43df license change 2020-09-24 19:26:21 -03:00
Rodolfo Berrios
bdb6dfe9f6
🤗 Now MIT licensed
OPEN SOURCE.
2020-09-24 19:09:28 -03:00
Rodolfo Berrios
dfcedea52f update link 2020-09-15 15:12:11 -03:00
Rodolfo Berrios
5a8160a541 Tag 1.2.3 2020-09-14 15:09:21 -03:00
Rodolfo Berrios
cdcc5b1458 fixes #70 2020-09-08 15:03:53 -03:00
Rodolfo Berrios
833aa7a8d1 Tags 1.2.2 2020-09-04 14:47:03 -04:00
Rodolfo Berrios
d7e759d4f2 made conditional universal 2020-09-02 12:43:49 -04:00
Rodolfo Berrios
5dfe197629 fixes assorted bugs 2020-09-02 12:39:23 -04:00
Rodolfo Berrios
080c350913 fixes #69 2020-09-02 12:22:26 -04:00
Rodolfo Berrios
2d77264cbb fixes #68 2020-09-01 10:59:32 -04:00
Rodolfo Berrios
d6b84b9f73 Tag 1.2.1 2020-08-28 15:10:43 -04:00
Rodolfo Berrios
43ba1c5e49 fixes update temp folder 2020-08-28 15:09:56 -04:00
Rodolfo Berrios
ed47a3c524 duh 2020-08-28 11:52:57 -04:00
Rodolfo Berrios
46c70c3263 1.2.0 cover image 2020-08-26 15:32:05 -04:00
Rodolfo Berrios
f3d3a133ca it's a fork! 2020-08-26 14:25:57 -04:00
Rodolfo Berrios
2854bde512 Implements the topics of pull request #58 2020-08-26 13:13:26 -04:00
Rodolfo Berrios
723bf68f7a closes #61 2020-08-26 12:25:40 -04:00
Rodolfo Berrios
a5877cf61f Implements pull request #65 2020-08-26 12:24:08 -04:00
Rodolfo Berrios
280140511e fixed missing DB stuff 2020-08-26 12:22:37 -04:00
Rodolfo Berrios
178173f9ae added bulk content imporer 2020-08-25 20:24:23 -04:00
Rodolfo Berrios
892dc79d4a 1.2.0-alpha 2020-06-24 18:12:46 -04:00
Rodolfo Berrios
75e3b66082 Fork from 3.15.2 2020-06-24 14:35:15 -04:00
Rodolfo Berrios
7b3af3ec48 readme update 2020-06-24 12:08:07 -04:00
Rodolfo Berrios
63cc2ea829
Update README.md 2020-06-15 18:27:13 -04:00
Rodolfo Berrios
78a22b7d7f Tag 1.1.4 2019-10-14 21:02:31 -03:00
Rodolfo Berrios
be25cec8ba Removed "powered by" sitewide footer link 2019-10-14 21:02:23 -03:00
Rodolfo Berrios
0779e72a16
Added chat badge 2019-10-09 14:38:25 -03:00
Rodolfo Berrios
be39861cdb ts 2019-09-30 15:28:40 -03:00
Rodolfo Berrios
ec8469333e tss 2019-09-30 15:26:56 -03:00
Rodolfo Berrios
6d47473485
Update README.md 2019-09-30 15:10:21 -03:00
Rodolfo Berrios
599d35cec2
Merge pull request #39 from harshvardhanmalpani/patch-1
removes Query string from img url to get file name
2019-09-30 14:55:56 -03:00
Rodolfo Berrios
a43ab0b008
Update functions.php
See previous comment.
2019-09-30 14:52:04 -03:00
Rodolfo Berrios
395ede243c
Update class.user.php
A change like this requires feedback from the community.
2019-09-30 14:51:02 -03:00
Rodolfo Berrios
3d18d74567
Update class.upload.php
2019-09-30 14:26:24 -03:00
Rodolfo Berrios
cb83b2b98c
Update .htaccess 2019-09-28 13:51:20 -03:00
Rodolfo Berrios
b5fd7a6791
Update README.md 2019-09-17 16:49:00 -03:00
Rodolfo Berrios
3844ffe991
Update README.md
Added link to Chevere + Chevereto V4 Trello board.
2019-09-17 16:48:00 -03:00
Rodolfo Berrios
045e933468
Added 2019/08 survey link
Participate, your opinion matters.
2019-08-30 15:03:34 -04:00
Rodolfo Berrios
34515ded64
Delete AGPLv3
Removed any modifications on AGPLv3
2019-08-27 10:15:51 -04:00
Rodolfo Berrios
7e93798861
Create FUNDING.yml 2019-08-21 13:55:40 -04:00
Rodolfo Berrios
0184f27a97
Update README.md 2019-07-10 16:44:18 -04:00
Rodolfo Berrios
fcbe4c916d installer repo link 2019-07-02 12:47:52 -04:00
Rodolfo Berrios
4983051a2f README update 2019-06-23 20:03:15 -04:00
Rodolfo Berrios
6cc4cce7a9 typo 2019-06-23 19:57:21 -04:00
Rodolfo Berrios
6b097d22dd Added gitignore 2019-06-23 19:57:14 -04:00
Harshvardhan Malpani
49e8116308
Merge pull request #2 from harshvardhanmalpani/master
better blank avatars
2019-06-03 11:04:12 +05:30
Harshvardhan Malpani
ae58d2ca46
instead of blank avatar, latest image is returned 2019-06-03 10:59:07 +05:30
Harshvardhan Malpani
4d8064af28
+ getLatestImage - returns latest image of a user 2019-06-03 10:56:29 +05:30
Harshvardhan Malpani
69b67a3ea6
Merge pull request #1 from harshvardhanmalpani/harshvardhanmalpani-patch-2
PHP notice fixed when $join undefined
2019-06-03 09:32:29 +05:30
Harshvardhan Malpani
8a5957b62e
PHP notice fixed when $join undefined 2019-06-03 09:31:47 +05:30
Harshvardhan Malpani
8eac2653c5
removes Query string from img url to get file name 2019-05-31 19:16:29 +05:30
Rodolfo Berrios
690e0b2b55
Update README.md 2019-04-29 16:43:13 -04:00
Rodolfo Berrios
e6ba9102fb
Update README.md 2019-03-04 12:33:26 -03:00
rodolfoberrios
c9998cfb06 😑 Fixed bug detected in 1.1.1 2019-02-19 17:35:48 -03:00
rodolfoberrios
f33b7e1a50 🐛Removed old links (G\ Library) 2019-02-19 13:34:30 -03:00
Rodolfo Berrios
b1e0ab8b91
Added bug reporting and community support links
Improved the support thing indications.
2019-01-15 22:57:10 -03:00
Rodolfo Berrios
64e48624c3
Update README.md 2019-01-14 16:42:20 -03:00
rodolfoberrios
0d8c673fdf v1.1.1 2018-11-28 18:19:46 -03:00
Rodolfo Berrios
7f022ab5d9
Update README.md 2018-11-24 12:04:34 -03:00
Rodolfo Berrios
e49e4292be
Merge pull request #38 from Codfish246/patch-1
Update class.user.php to fix User removing bug
2018-11-24 11:36:43 -03:00
Luca
230da1521d
Update class.user.php to fix User removing bug
User removing bug On CHV\Notification
2018-11-24 13:38:08 +00:00
Rodolfo Berrios
c73df94fbb
Update README.md
Added Docker instructions, the source repo is at https://github.com/tanmng/docker-chevereto
2018-10-24 14:45:43 -03:00
Rodolfo Berrios
05c24e017b
Update README.md
Fantastico figurando
2018-10-24 00:01:19 -03:00
Rodolfo Berrios
6d8c4aad6e
Update README.md 2018-09-13 15:00:47 -03:00
Rodolfo Berrios
14150d6f7b
Update README.md
Less Tarzan language
2018-09-13 14:54:15 -03:00
rodolfoberrios
75c119d8c6 v1.1.0 2018-08-16 15:51:52 -03:00
Rodolfo Berrios
67f2c92626
Merge pull request #36 from Schlaefer/master
fix array empty test (pup)
2018-07-01 14:16:06 -04:00
Schlaefer
a554d67b39 fix array empty test
Have to check for array length here, because Boolean([]) is always `true`.
2018-07-01 12:39:35 +02:00
rodolfoberrios
d483866ffc Merge branch 'master' of https://github.com/Chevereto/Chevereto-Free 2018-06-06 17:00:57 -04:00
rodolfoberrios
159daeab6a v1.0.13
Fixed post handling in /settings (name, bio)
2018-06-06 17:00:33 -04:00
Rodolfo Berrios
b950174d5d
Update README.md 2018-05-15 14:06:05 -04:00
rodolfoberrios
6fad6e800f v1.0.12 2018-04-22 14:18:34 -03:00
rodolfoberrios
ba2ec8339b v1.0.11 2018-04-21 23:03:51 -03:00
rodolfoberrios
b5eaccf6c7 v1.0.10
Forked from Chevereto v3.10.5
2018-04-17 18:25:26 -03:00
Rodolfo Berrios
349e09d504
Update AGPLv3 2017-11-10 12:16:59 -03:00
Rodolfo Berrios
369b08164e
Update AGPLv3 2017-11-10 12:15:15 -03:00
Rodolfo Berrios
d25cbca48a
Update LICENSE 2017-11-10 12:13:06 -03:00
Rodolfo Berrios
b02bf7dc20 v1.0.9
Forked from Chevereto v3.9.5
2017-11-09 16:02:18 -03:00
Rodolfo Berrios
8f492f8da1 v1.0.8 2017-05-21 16:19:25 -04:00
Rodolfo Berrios
edca79c6f7 Update README.md 2017-03-24 22:45:35 -03:00
Rodolfo Berrios
b5bd15d923 Merge pull request #10 from HungryFeline/patch-1
Update .htaccess
2017-03-13 14:49:35 -03:00
HungryFeline
bcb76dc72a Update .htaccess
Apache 2.4 compatibility
2017-03-12 00:50:40 +01:00
Rodolfo Berrios
02807b42ae v1.0.7 2017-01-22 15:50:02 -03:00
Rodolfo Berrios
572f961697 README update 2017-01-15 17:54:17 -03:00
Rodolfo Berrios
afdfecd2bb v1.0.6 2017-01-15 17:53:11 -03:00
Rodolfo Berrios
4ec94af820 Update README.md
Added upgrade to paid edition instructions
2016-12-22 12:39:55 -03:00
Rodolfo Berrios
59ebe3ed92 v1.0.5 2016-11-05 23:19:47 -03:00
Rodolfo Berrios
6d3a3e3a51 v1.0.4 2016-10-17 18:16:45 -03:00
338 changed files with 63168 additions and 239527 deletions

10
.dockerignore Normal file
View file

@ -0,0 +1,10 @@
.dockerignore
.git
.github
**/*.DS_Store
docker-bake.hcl
docs
httpd-php-dev.yml
httpd-php.Dockerfile
httpd-php.yml
README.md

6
.gitattributes vendored Normal file
View file

@ -0,0 +1,6 @@
/.github export-ignore
/.vscode export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
*.php diff=php

BIN
.github/banner/maxresdefault.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
.github/banner/social-chevereto-blue.jpg vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

BIN
.github/banner/social_blue.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

BIN
.github/screen/1a.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 KiB

BIN
.github/screen/2a.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

BIN
.github/screen/3a.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 KiB

BIN
.github/screen/4a.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

BIN
.github/screen/5a.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 KiB

BIN
.github/screen/6a.webp vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

View file

@ -0,0 +1,76 @@
name: buildx
on:
workflow_dispatch:
env:
GHCR_SLUG: ghcr.io/rodber/chevereto-free
jobs:
buildx:
runs-on: ubuntu-20.04
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ["7.4"]
name: Build on PHP ${{ matrix.php-versions }} ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
env:
fail-fast: true
# - name: Build
# run: php src/build.php
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
${{ env.GHCR_SLUG }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
labels: |
org.opencontainers.image.title=Chevereto-Free
org.opencontainers.image.description=Chevereto-Free Image Hosting
org.opencontainers.image.vendor=rodber
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GHCR
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/bake-action@v1
with:
files: |
./docker-bake.hcl
${{ steps.meta.outputs.bake-file }}
targets: build
push: true
- name: Check manifest
run: |
docker buildx imagetools inspect ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
- name: Inspect image
run: |
docker pull ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}
docker image inspect ${{ env.GHCR_SLUG }}:${{ steps.meta.outputs.version }}

72
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,72 @@
name: Release
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ["7.4"]
name: Release on PHP ${{ matrix.php-versions }} ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
env:
fail-fast: true
- name: Validate composer
run: composer validate
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Packaging
run: |
rm -rf .git .github .dockerignore docs app/settings.php docker-bake.hcl httpd-php-dev.yml httpd-php.Dockerfile httpd-php.yml sync.sh
- name: Archive dev
uses: thedoctor0/zip-release@master
with:
type: "zip"
filename: "${{ steps.get_version.outputs.VERSION }}-lite.zip"
- name: Install dependencies
run: composer install --prefer-dist --no-progress --classmap-authoritative --ignore-platform-reqs
- name: Archive release
uses: thedoctor0/zip-release@master
with:
type: "zip"
filename: "${{ steps.get_version.outputs.VERSION }}.zip"
exclusions: "${{ steps.get_version.outputs.VERSION }}-lite.zip"
- name: Upload artifacts
uses: ncipollo/release-action@v1
with:
allowUpdates: true
removeArtifacts: true
omitBodyDuringUpdate: true
artifacts: "${{ steps.get_version.outputs.VERSION }}.zip,${{ steps.get_version.outputs.VERSION }}-lite.zip"
token: ${{ secrets.GITHUB_TOKEN }}

10
.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
.DS_Store
/app/settings.php
/app/vendor
/content/images/users
/content/images/system/*
!/content/images/system/default
/content/pages
!/content/pages/default/
/images/*
!/images/.htaccess

View file

@ -1,30 +1,42 @@
# Disable server signature
ServerSignature Off
# Disable directory listing (-indexes), Multiviews (-MultiViews) and enable Follow system links (+FollowSymLinks)
Options -Indexes
Options -MultiViews
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
# If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
# You will also have to change the path to reflect the path to your Chevereto installation
# If you are using alias is most likely that you will need this.
#RewriteBase /
# 404 images
# If you want to have your own fancy "image not found" image remove the "#" from RewriteCond and RewriteRule lines
# Make sure to apply the correct paths to reflect your current installation
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404]
#RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/images/system/404.gif [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !\.(css|js|html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpe?g|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip)$ [NC]
RewriteRule . index.php [L]
ServerSignature Off
Options -Indexes
Options -MultiViews
# Enable CORS across all your subdomains (replace dev\.local with your domain\.com)
# SetEnvIf Origin ^(https?://.+\.dev\.local(?::\d{1,5})?)$ CORS_ALLOW_ORIGIN=$1
# Header append Access-Control-Allow-Origin %{CORS_ALLOW_ORIGIN}e env=CORS_ALLOW_ORIGIN
# Header merge Vary "Origin"
<FilesMatch "composer\.(json|lock)|importing\.php|\.htaccess|\.gitignore">
<IfModule !mod_authz_core.c>
Order Allow,Deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteEngine On
# If you have problems with the rewrite rules remove the "#" from the following RewriteBase line
# You will also have to change the path to reflect the path to your Chevereto installation
# If you are using mod alias is likely that you will need this.
#RewriteBase /
# 404 images
# If you want to have your own fancy "image not found" image remove the # from RewriteRule
# Make sure to apply the correct paths to reflect your current installation
RewriteCond %{REQUEST_FILENAME} !-f
#RewriteRule images/.+\.(gif|jpe?g|a?png|bmp|webp) content/images/system/default/404.gif [NC,L]
RewriteRule images/.+\.(gif|jpe?g|png|bmp|webp) - [NC,L,R=404]
# PHP front controller
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
# Single PHP-entrypoint (disables direct access to .php files)
RewriteCond %{THE_REQUEST} ^.+?\ [^?]+\.php[?\ ] [NC]
RewriteRule \.php$ - [NC,L,F,R=404]
</IfModule>

661
LICENSE Normal file
View file

@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

View file

@ -1,66 +1,32 @@
<p align="center"><a href="https://chevereto.com/"><img src="https://chevereto.com/app/themes/v3/img/chevereto-large.png" alt="Chevereto"></a></p>
# Chevereto-Free
<p align="center">Chevereto is an image hosting script that allows you to create a beautiful and full featured image hosting website in your own server. It's your hosting and your rules, say goodbye to closures and restrictions. <a href="https://chevereto.com">Chevereto.com</a></p>
> The "Chevereto-Free" project is **archived** and superseed by "Chevereto" at [chevereto/chevereto](https://github.com/chevereto/chevereto).
<p>&nbsp;</p>
"Chevereto-Free" is not longer updated neither maintained, it holds code old as 2020 and it runs on a deprecated PHP version. Is not safe to use "Chevereto-Free".
<p align="center"><a href="https://chevereto.com/"><img src="https://chevereto.com/app/themes/v3/img/devices.png" alt=""></a></p>
Read about it at [Chevereto goes free](https://rodolfoberrios.com/2022/12/01/chevereto-goes-free/)
Chevereto Free
=
Please note that most projects around "Chevereto-Free" wrongly use the word "Chevereto" to refer to the project/code. I used the name "Chevereto-Free" because the software project is different, please don't spoil it by chopping "-Free" when refering to this code.
<a href="https://chevereto.com/free" title="♫♪ Ha llegado tu tiempo, es el momento de Freeeeeeeeeeeeeeee"><img src="https://chevereto.com/app/themes/v3/img/chevereto-free-cover.jpg" alt="Chevereto Sugar Free Cola"></a>
## Summary
###About this repo
This is the repository of Chevereto Free which has been forked from Chevereto 3.X series. Chevereto Free has the same look, feel and taste of our [paid version](https://chevereto.com/pricing) but it comes in a free package which includes all the basic image hosting functionalities. Free to use, forever.
Chevereto-Free allows you to create an image hosting website on your own server. It's your hosting and your rules, say goodbye to closures and restrictions.
###Free vs paid Chevereto
Chevereto Free includes all the basic image hosting stuff but it comes without dedicated support. Paid Chevereto comes with all features, updates and support. The following table summarizes the differences between paid vs free.
## Requirements
| Item | Free | Paid |
|---------------------------------------------- |----------------- |------------------------ |
| Contribution to Chevereto | ☆ | ★★★★ |
| Access to latest features | Delayed | Always |
| One click system update | Yes | Yes |
| Tech support | No | Yes |
| External storage support | No | Yes |
| Manage banners | No | Yes |
| Likes + Followers | No | Yes |
| Facebook, Twitter, Google and VK signup | No | Yes |
* PHP 7.4
* MySQL 5.7 / 8 - MariaDB 10
* Apache HTTP Web Server / Nginx
* mod_rewrite
##Minimum system requirements
Make sure your server meets the minimum system requirements which are:
## PHP 8 support
- Apache / NGiNX web server
- PHP 5.5.0 (standard libraries)
- MySQL 5.0 (ALL PRIVILEGES)
No.
In most servers that's all you need. The system has a built-in system check that it will tell you right away when you have to fix some stuff in your server.
## Documentation
##Installation service
We will be happy to install Chevereto for you. Just send us an [installation request](https://chevereto.com/panel/request-installation) and we will do all the installation job for you. For free.
[chevereto-free.github.io](https://chevereto-free.github.io)
##Install via web installer
1. Download the [Chevereto Free web installer](https://cdn.rawgit.com/Chevereto/php-repo-installer/master/index.php)
2. Upload this file to your target destination (usually the `public_html` folder)
3. Open your website target destination URL and follow the install process
## License
##Install via zip/tarball
1. Download the [latest release](https://github.com/Chevereto/Chevereto-Free/releases/latest) of Chevereto Free
2. Upload the contents of your download to your server (usually the `public_html` folder)
3. Go to your website and follow the instructions
For additional install instructions refer to our [official documentation](https://chevereto.com/docs/install).
##Updates
Chevereto Free has a built-in system that everyday pings the [Chevereto API](https://chevereto.com/api/get/info/free) for new updates available for your website. To update your website simply go to `/update` and the system will download and install the update for you. For manual update just follow the install procedure.
##Support
Chevereto Free doesn't include dedicated support. However, feel free to browse current and previous [support tickets](https://chevereto.com/tech-support). If you need further assistance please consider buying a license. By purchasing a license you get same-day support, all features and it makes you a supporter of Chevereto development.
##License
Copyright 2016 [Rodolfo Berríos](http://rodolfoberrios.com)
Permission is granted to anyone to use this software for **any purpose** except for distribution or re-distribution in its modified form. This license does NOT grant you trademark, brand or any derivate rights. Any third-party distribution or re-distribution in the scope of hosted applications based in the software must be approved by the copyright owner.
The software is offered on an “as-is” basis and no warranty, either expressed or implied, is given.
Copyright [Rodolfo Berríos Arce](http://rodolfoberrios.com) - [AGPLv3](LICENSE).

View file

@ -1,11 +1,18 @@
<FilesMatch "\.php$">
# Apache 2.2
<FilesMatch "\.(?:[Pp][Hh][Pp][345]?|[Pp][Hh][Tt][Mm][Ll])|(po|sql|html?)$">
<IfModule !mod_authz_core.c>
Order Allow,Deny
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>
</IfModule>
</FilesMatch>
<IfModule mod_php7.c>
php_flag engine off
</IfModule>
<FilesMatch ".+\.*$">
SetHandler !
</FilesMatch>
<IfModule mod_rewrite.c>
RewriteRule ^.*\.php$ - [F,L]
</IfModule>

View file

@ -1,5 +1,7 @@
<?php
define('G_APP_NAME', 'Chevereto Free');
define('G_APP_VERSION', '1.0.3');
define('G_APP_GITHUB_OWNER', 'Chevereto');
define('G_APP_GITHUB_REPO', 'Chevereto-Free');
define('G_APP_VERSION', '1.6.2');
define('G_APP_GITHUB_OWNER', 'rodber');
define('G_APP_GITHUB_REPO', 'chevereto-free');
define('G_APP_GITHUB_REPO_URL', 'https://github.com/' . G_APP_GITHUB_OWNER . '/' . G_APP_GITHUB_REPO);
define('CHEVERETO_INSTALLER_DOWNLOAD_URL', 'https://chevereto.com/download/file/installer');

View file

@ -1,23 +1,8 @@
<?php
# Use this file to include / hook anything you want
# Any code in this file will be added just before the G\Handler
/* --------------------------------------------------------------------
G\ library
http://gbackslash.com
@author Rodolfo Berrios A. <http://rodolfoberrios.com/>
Copyright (c) Rodolfo Berrios <inbox@rodolfoberrios.com> All rights reserved.
Licensed under the MIT license
http://opensource.org/licenses/MIT
--------------------------------------------------------------------- */
# Use this file to include / hook anything you want
# Any code in this file will be added just before the G\Handler
# NOTE: To use it in production you will need to rename this file to chevereto-hook.php
# NOTE: To use it in production you will need to rename this file to chevereto-hook.php
namespace CHV;
use G, Exception;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,28 +0,0 @@
<?php
$translation_header = array (
'Project-Id-Version' => 'Chevereto V3',
'POT-Creation-Date' => '2016-08-12 17:45-0400',
'PO-Revision-Date' => '2016-08-12 17:45-0400',
'Last-Translator' => 'Rodolfo Berríos <inbox@rodolfoberrios.com>',
'Language-Team' => '',
'Language' => 'e',
'MIME-Version' => '1.0',
'Content-Type' => 'text/plain; charset=UTF-8',
'Content-Transfer-Encoding' => '8bit',
'X-Generator' => 'Poedit 1.8.8',
'X-Poedit-Basepath' => '.',
'Plural-Forms' => 'nplurals=2; plural=(n != 1);',
'X-Poedit-KeywordsList' => '_s;_se;_n:1,2;_ne:1,2;PF.fn._s;PF.fn._n:1,2',
'X-Poedit-SourceCharset' => 'UTF-8',
'X-Poedit-SearchPath-0' => '../../..',
'X-Poedit-SearchPathExcluded-0' => '../../../app/vendor',
);
$translation_plural = array (
'nplurals' => 2,
'plural' => '(n != 1)',
'formula' => '($n != 1)',
'function' => '$index = (int)(($n != 1)); return ($index < 2) ? $index : 2 - 1;',
);
$translation_table = [
];
?>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,9 +0,0 @@
You can quick and easy override any language string by putting lang_code.po files here.
For example, en.po file whit this contents:
#: START EXAMPLE
msgid "Upload and share your images."
msgstr "Upload and share your photos."
#: END EXAMPLE
Will replace the original msgid with the new msgstr.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -1,74 +1,74 @@
html, body {
margin: 0;
padding: 0;
background: #F4F4F4;
}
body {
color: #333;
}
p, h1, h2, h3, ul {
margin: 20px 0;
}
a {
color: #00A7DA;
text-decoration: none;
}
a img { border: 0; }
#header {
position: relative;
height: 60px;
}
#logo {
position: absolute;
left: 30px;
bottom: -20px;
z-index: 100;
display: block;
}
#logo img {
width: 297px;
height: 55px;
display: inherit;
}
#content {
background: #FFF;
border: 1px solid #DDD;
border-radius: 10px;
padding: 20px 30px 30px 30px;
position: relative;
z-index: 1;
}
ul.errors {
margin: 20px;
}
ul.errors li {
margin: 10px;
list-style: disc;
}
#powered {
font-size: 0.93em;
color: #BBB;
text-shadow: 0 1px 0 #FFF;
text-align: center;
padding: 10px;
}
#powered a {
color: #BBB;
}
code {
background: #f5f2f0;
padding: 2px;
font-family: monospace;
border: 1px solid #DDD;
html, body {
margin: 0;
padding: 0;
background: #F4F4F4;
}
body {
color: #333;
}
p, h1, h2, h3, ul {
margin: 20px 0;
}
a {
color: #00A7DA;
text-decoration: none;
}
a img { border: 0; }
#header {
position: relative;
height: 60px;
}
#logo {
position: absolute;
left: 30px;
bottom: -20px;
z-index: 100;
display: block;
}
#logo img {
width: 297px;
height: 55px;
display: inherit;
}
#content {
background: #FFF;
border: 1px solid #DDD;
border-radius: 10px;
padding: 20px 30px 30px 30px;
position: relative;
z-index: 1;
}
ul.errors {
margin: 20px;
}
ul.errors li {
margin: 10px;
list-style: disc;
}
#powered {
font-size: 0.93em;
color: #BBB;
text-shadow: 0 1px 0 #FFF;
text-align: center;
padding: 10px;
}
#powered a {
color: #BBB;
}
code {
background: #f5f2f0;
padding: 2px;
font-family: monospace;
border: 1px solid #DDD;
}

View file

@ -1,52 +1,81 @@
<?php
/* --------------------------------------------------------------------
Chevereto
http://chevereto.com/
@author Rodolfo Berrios A. <http://rodolfoberrios.com/>
<inbox@rodolfoberrios.com>
Copyright (C) Rodolfo Berrios A. All rights reserved.
BY USING THIS SOFTWARE YOU DECLARE TO ACCEPT THE CHEVERETO EULA
http://chevereto.com/license
--------------------------------------------------------------------- */
if(!defined('access') or !access) die('This file cannot be directly accessed.'); ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $doctitle; ?></title>
<link rel="stylesheet" href="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'peafowl.css'); ?>">
<link rel="stylesheet" href="<?php echo G\absolute_to_url(CHV_APP_PATH_SYSTEM . 'style.css'); ?>">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic&subset=latin,greek,cyrillic">
<link rel="shortcut icon" href="<?php echo G\absolute_to_url(CHV_APP_PATH_SYSTEM . 'favicon.png'); ?>">
<script>(function(w,d,u){w.readyQ=[];w.bindReadyQ=[];function p(x,y){if(x=="ready"){w.bindReadyQ.push(y);}else{w.readyQ.push(x);}};var a={ready:p,bind:p};w.$=w.jQuery=function(f){if(f===d||f===u){return a}else{p(f)}}})(window,document);</script>
</head>
<body>
<div class="c20 center-box">
<header id="header">
<div id="logo"><img src="<?php echo G\absolute_to_url(CHV_APP_PATH_SYSTEM . 'chevereto.png'); ?>" alt=""></div>
</header>
<div id="content">
<?php echo $html; ?>
</div>
<div id="powered">&copy; <a href="http://chevereto.com">Chevereto image hosting script</a></div>
</div>
</body>
<script src="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'js/jquery.min.js'); ?>"></script>
<script src="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'js/scripts.js'); ?>"></script>
<script>(function($,d){$.each(readyQ,function(i,f){$(f)});$.each(bindReadyQ,function(i,f){$(d).bind("ready",f)})})(jQuery,document)</script>
<script src="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'peafowl.js'); ?>"></script>
<script>
PF.obj.config.base_url = "<?php echo G\get_base_url(); ?>";
PF.obj.l10n = <?php echo json_encode(CHV\get_translation_table()) ;?>;
</script>
<script src="<?php echo CHV\Render\versionize_src(G\Render\get_app_lib_file_url('chevereto.js')); ?>"></script>
<?php
/* --------------------------------------------------------------------
This file is part of Chevereto Free.
https://chevereto.com/free
(c) Rodolfo Berrios <rodolfo@chevereto.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
--------------------------------------------------------------------- */
if (!defined('access') or !access) {
die('This file cannot be directly accessed.');
} ?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $doctitle; ?></title>
<link rel="stylesheet" href="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'peafowl.css'); ?>">
<link rel="stylesheet" href="<?php echo G\absolute_to_url(CHV_APP_PATH_CONTENT_SYSTEM . 'style.css'); ?>">
<link rel="shortcut icon" href="<?php echo G\absolute_to_url(CHV_APP_PATH_CONTENT_SYSTEM . 'favicon.png'); ?>">
<script data-cfasync="false">
function jQueryLoaded() {
! function(n, d) {
n.each(readyQ, function(d, e) {
n(e)
}), n.each(bindReadyQ, function(e, i) {
n(d).bind("ready", i)
})
}(jQuery, document)
}! function(n, d, e) {
function i(d, e) {
"ready" == d ? n.bindReadyQ.push(e) : n.readyQ.push(d)
}
n.readyQ = [], n.bindReadyQ = [];
var u = {
ready: i,
bind: i
};
n.$ = n.jQuery = function(n) {
return n === d || void 0 === n ? u : void i(n)
}
}(window, document);
</script>
</head>
<body>
<div class="c20 center-box">
<header id="header">
<div id="logo"><img src="<?php echo G\absolute_to_url(CHV_APP_PATH_CONTENT_SYSTEM . 'chevereto.png'); ?>" alt=""></div>
</header>
<div id="content">
<?php echo $html; ?>
</div>
<div id="powered"><?php _se('Powered by'); ?> <a href="<?php echo G_APP_GITHUB_REPO_URL; ?>" rel="generator" target="_blank"><?php echo G_APP_GITHUB_REPO; ?></a></div>
</div>
</body>
<script defer data-cfasync="false" src="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'js/scripts.js'); ?>" id="jquery-js" onload="jQueryLoaded(this, event)"></script>
<script defer data-cfasync="false" src="<?php echo G\absolute_to_url(CHV_PATH_PEAFOWL . 'peafowl.js'); ?>" id="peafowl-js"></script>
<?php
if (method_exists('CHV\Settings', 'getChevereto')) {
echo '<script>var CHEVERETO = ' . json_encode(CHV\Settings::getChevereto()) . '</script>';
}
?>
<script defer data-cfasync="false" src="<?php echo CHV\Render\versionize_src(G\Render\get_app_lib_file_url('chevereto.js')); ?>" id="chevereto-js"></script>
<script data-cfasync="false">
document.getElementById("chevereto-js").addEventListener("load", function() {
PF.obj.devices = window.devices;
PF.obj.config.base_url = "<?php echo G\get_base_url(); ?>";
PF.obj.config.json_api = "<?php echo G\get_base_url('update'); ?>/";
PF.obj.l10n = <?php echo json_encode(CHV\get_translation_table()); ?>;
PF.obj.config.auth_token = "<?php echo G\Handler::getAuthToken(); ?>";
});
</script>
</html>

View file

@ -0,0 +1,7 @@
<IfModule !mod_authz_core.c>
Order Allow,Deny
Deny from all
</IfModule>
<IfModule mod_authz_core.c>
Require all denied
</IfModule>

File diff suppressed because it is too large Load diff

View file

@ -1,22 +1,24 @@
DROP TABLE IF EXISTS `%table_prefix%albums`;
CREATE TABLE `%table_prefix%albums` (
`album_id` bigint(32) NOT NULL AUTO_INCREMENT,
`album_name` varchar(100) NOT NULL,
`album_user_id` bigint(32) NOT NULL,
`album_date` datetime NOT NULL,
`album_date_gmt` datetime NOT NULL,
`album_creation_ip` varchar(255) NOT NULL,
`album_privacy` enum('public','password','private','private_but_link','custom') DEFAULT 'public',
`album_privacy_extra` text,
`album_password` text,
`album_image_count` bigint(32) NOT NULL DEFAULT '0',
`album_description` text,
`album_likes` bigint(32) NOT NULL DEFAULT '0',
PRIMARY KEY (`album_id`),
KEY `album_user_id` (`album_user_id`),
KEY `album_date_gmt` (`album_date_gmt`),
KEY `album_privacy` (`album_privacy`),
KEY `album_image_count` (`album_image_count`),
KEY `album_creation_ip` (`album_creation_ip`),
FULLTEXT KEY `searchindex` (`album_name`,`album_description`)
) ENGINE=%table_engine% DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%albums`;
CREATE TABLE `%table_prefix%albums` (
`album_id` bigint(32) NOT NULL AUTO_INCREMENT,
`album_name` varchar(100) NOT NULL,
`album_user_id` bigint(32) DEFAULT NULL,
`album_date` datetime NOT NULL,
`album_date_gmt` datetime NOT NULL,
`album_creation_ip` varchar(255) NOT NULL,
`album_privacy` enum('public','password','private','private_but_link','custom') DEFAULT 'public',
`album_privacy_extra` mediumtext,
`album_password` mediumtext,
`album_image_count` bigint(32) NOT NULL DEFAULT '0',
`album_description` mediumtext,
`album_likes` bigint(32) NOT NULL DEFAULT '0',
`album_views` bigint(32) NOT NULL DEFAULT '0',
PRIMARY KEY (`album_id`),
KEY `album_name` (`album_name`),
KEY `album_user_id` (`album_user_id`),
KEY `album_date_gmt` (`album_date_gmt`),
KEY `album_privacy` (`album_privacy`),
KEY `album_image_count` (`album_image_count`),
KEY `album_creation_ip` (`album_creation_ip`(191)),
FULLTEXT KEY `searchindex` (`album_name`,`album_description`)
) ENGINE=%table_engine% DEFAULT CHARSET=utf8mb4;

View file

@ -1,9 +1,9 @@
DROP TABLE IF EXISTS `%table_prefix%categories`;
CREATE TABLE `%table_prefix%categories` (
`category_id` bigint(32) NOT NULL AUTO_INCREMENT,
`category_name` varchar(32) NOT NULL,
`category_url_key` varchar(32) NOT NULL,
`category_description` text,
PRIMARY KEY (`category_id`),
UNIQUE KEY `url_key` (`category_url_key`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%categories`;
CREATE TABLE `%table_prefix%categories` (
`category_id` bigint(32) NOT NULL AUTO_INCREMENT,
`category_name` varchar(32) NOT NULL,
`category_url_key` varchar(32) NOT NULL,
`category_description` mediumtext,
PRIMARY KEY (`category_id`),
UNIQUE KEY `url_key` (`category_url_key`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View file

@ -1,12 +1,12 @@
DROP TABLE IF EXISTS `%table_prefix%confirmations`;
CREATE TABLE `%table_prefix%confirmations` (
`confirmation_id` bigint(32) NOT NULL AUTO_INCREMENT,
`confirmation_user_id` bigint(32) NOT NULL,
`confirmation_type` enum('account-activate','account-change-email','account-password-forgot') NOT NULL,
`confirmation_date` datetime NOT NULL,
`confirmation_date_gmt` datetime NOT NULL,
`confirmation_token_hash` varchar(255) NOT NULL,
`confirmation_status` enum('active','valid','invalid') NOT NULL,
`confirmation_extra` text,
PRIMARY KEY (`confirmation_id`)
DROP TABLE IF EXISTS `%table_prefix%confirmations`;
CREATE TABLE `%table_prefix%confirmations` (
`confirmation_id` bigint(32) NOT NULL AUTO_INCREMENT,
`confirmation_user_id` bigint(32) NOT NULL,
`confirmation_type` enum('account-activate','account-change-email','account-password-forgot') NOT NULL,
`confirmation_date` datetime NOT NULL,
`confirmation_date_gmt` datetime NOT NULL,
`confirmation_token_hash` varchar(255) NOT NULL,
`confirmation_status` enum('active','valid','invalid') NOT NULL,
`confirmation_extra` mediumtext,
PRIMARY KEY (`confirmation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,20 +1,20 @@
DROP TABLE IF EXISTS `%table_prefix%deletions`;
CREATE TABLE `%table_prefix%deletions` (
`deleted_id` bigint(32) NOT NULL AUTO_INCREMENT,
`deleted_date_gmt` datetime NOT NULL,
`deleted_content_id` bigint(32) NOT NULL,
`deleted_content_date_gmt` datetime NOT NULL,
`deleted_content_user_id` bigint(32) DEFAULT NULL,
`deleted_content_ip` varchar(255) NOT NULL,
`deleted_content_md5` varchar(32) DEFAULT NULL,
`deleted_content_original_filename` varchar(255) DEFAULT NULL,
`deleted_content_views` bigint(32) NOT NULL DEFAULT '0',
`deleted_content_likes` bigint(32) NOT NULL DEFAULT '0',
PRIMARY KEY (`deleted_id`),
KEY `deleted_content_id` (`deleted_content_id`),
KEY `deleted_content_user_id` (`deleted_content_user_id`),
KEY `deleted_content_ip` (`deleted_content_ip`),
KEY `deleted_content_md5` (`deleted_content_md5`),
KEY `deleted_content_views` (`deleted_content_views`),
KEY `deleted_content_likes` (`deleted_content_likes`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%deletions`;
CREATE TABLE `%table_prefix%deletions` (
`deleted_id` bigint(32) NOT NULL AUTO_INCREMENT,
`deleted_date_gmt` datetime NOT NULL,
`deleted_content_id` bigint(32) NOT NULL,
`deleted_content_date_gmt` datetime NOT NULL,
`deleted_content_user_id` bigint(32) DEFAULT NULL,
`deleted_content_ip` varchar(191) NOT NULL,
`deleted_content_md5` varchar(32) DEFAULT NULL,
`deleted_content_original_filename` varchar(255) DEFAULT NULL,
`deleted_content_views` bigint(32) NOT NULL DEFAULT '0',
`deleted_content_likes` bigint(32) NOT NULL DEFAULT '0',
PRIMARY KEY (`deleted_id`),
KEY `deleted_content_id` (`deleted_content_id`),
KEY `deleted_content_user_id` (`deleted_content_user_id`),
KEY `deleted_content_ip` (`deleted_content_ip`(191)),
KEY `deleted_content_md5` (`deleted_content_md5`),
KEY `deleted_content_views` (`deleted_content_views`),
KEY `deleted_content_likes` (`deleted_content_likes`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View file

@ -1,12 +1,12 @@
DROP TABLE IF EXISTS `%table_prefix%follows`;
CREATE TABLE `%table_prefix%follows` (
`follow_id` bigint(32) NOT NULL AUTO_INCREMENT,
`follow_date` datetime NOT NULL,
`follow_date_gmt` datetime NOT NULL,
`follow_user_id` bigint(32) NOT NULL,
`follow_followed_user_id` bigint(32) NOT NULL,
`follow_ip` varchar(255) NOT NULL,
PRIMARY KEY (`follow_id`),
KEY `follow_user_id` (`follow_user_id`),
KEY `follow_followed_user_id` (`follow_followed_user_id`)
DROP TABLE IF EXISTS `%table_prefix%follows`;
CREATE TABLE `%table_prefix%follows` (
`follow_id` bigint(32) NOT NULL AUTO_INCREMENT,
`follow_date` datetime NOT NULL,
`follow_date_gmt` datetime NOT NULL,
`follow_user_id` bigint(32) NOT NULL,
`follow_followed_user_id` bigint(32) NOT NULL,
`follow_ip` varchar(255) NOT NULL,
PRIMARY KEY (`follow_id`),
KEY `follow_user_id` (`follow_user_id`),
KEY `follow_followed_user_id` (`follow_followed_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,11 +0,0 @@
DROP TABLE IF EXISTS `%table_prefix%id_reservations`;
CREATE TABLE `%table_prefix%id_reservations` (
`id_reservation_id` bigint(32) NOT NULL AUTO_INCREMENT,
`id_reservation_date_gmt` datetime NOT NULL,
`id_reservation_reserved_id` bigint(32) NOT NULL,
`id_reservation_next_id` bigint(32) NOT NULL,
PRIMARY KEY (`id_reservation_id`),
KEY `id_reservation_date_gmt` (`id_reservation_date_gmt`),
KEY `id_reservation_reserved_id` (`id_reservation_reserved_id`),
KEY `id_reservation_next_id` (`id_reservation_next_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,47 +1,58 @@
DROP TABLE IF EXISTS `%table_prefix%images`;
CREATE TABLE `%table_prefix%images` (
`image_id` bigint(32) NOT NULL AUTO_INCREMENT,
`image_name` varchar(255) NOT NULL,
`image_extension` varchar(255) NOT NULL,
`image_size` int(11) NOT NULL,
`image_width` int(11) NOT NULL,
`image_height` int(11) NOT NULL,
`image_date` datetime NOT NULL,
`image_date_gmt` datetime NOT NULL,
`image_title` varchar(100) DEFAULT NULL,
`image_description` text,
`image_nsfw` tinyint(1) NOT NULL DEFAULT '0',
`image_user_id` bigint(32) DEFAULT NULL,
`image_album_id` bigint(32) DEFAULT NULL,
`image_uploader_ip` varchar(255) NOT NULL,
`image_storage_mode` enum('datefolder','direct','old') NOT NULL DEFAULT 'datefolder',
`image_storage_id` bigint(32) DEFAULT NULL,
`image_md5` varchar(32) NOT NULL,
`image_original_filename` varchar(255) NOT NULL,
`image_original_exifdata` longtext,
`image_views` bigint(32) NOT NULL DEFAULT '0',
`image_category_id` bigint(32) DEFAULT NULL,
`image_chain` tinyint(128) NOT NULL,
`image_thumb_size` int(11) NOT NULL,
`image_medium_size` int(11) NOT NULL DEFAULT '0',
`image_expiration_date_gmt` datetime DEFAULT NULL,
`image_likes` bigint(32) NOT NULL DEFAULT '0',
`image_is_animated` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`image_id`),
KEY `image_name` (`image_name`),
KEY `image_size` (`image_size`),
KEY `image_width` (`image_width`),
KEY `image_height` (`image_height`),
KEY `image_date_gmt` (`image_date_gmt`),
KEY `image_nsfw` (`image_nsfw`),
KEY `image_user_id` (`image_user_id`),
KEY `image_album_id` (`image_album_id`),
KEY `image_storage_id` (`image_storage_id`),
KEY `image_md5` (`image_md5`),
KEY `image_views` (`image_views`),
KEY `image_category_id` (`image_category_id`),
KEY `image_expiration_date_gmt` (`image_expiration_date_gmt`),
KEY `image_likes` (`image_likes`),
KEY `image_is_animated` (`image_is_animated`),
FULLTEXT KEY `searchindex` (`image_name`,`image_title`,`image_description`,`image_original_filename`)
) ENGINE=%table_engine% DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%images`;
CREATE TABLE `%table_prefix%images` (
`image_id` bigint(32) NOT NULL AUTO_INCREMENT,
`image_name` varchar(255) NOT NULL,
`image_extension` varchar(255) NOT NULL,
`image_size` int(11) NOT NULL,
`image_width` int(11) NOT NULL,
`image_height` int(11) NOT NULL,
`image_date` datetime NOT NULL,
`image_date_gmt` datetime NOT NULL,
`image_title` varchar(100) DEFAULT NULL,
`image_description` mediumtext,
`image_nsfw` tinyint(1) NOT NULL DEFAULT '0',
`image_user_id` bigint(32) DEFAULT NULL,
`image_album_id` bigint(32) DEFAULT NULL,
`image_uploader_ip` varchar(255) NOT NULL,
`image_storage_mode` enum('datefolder','direct','old','path') NOT NULL DEFAULT 'datefolder',
`image_path` varchar(4096) DEFAULT NULL,
`image_storage_id` bigint(32) DEFAULT NULL,
`image_md5` varchar(32) NOT NULL,
`image_source_md5` varchar(32) DEFAULT NULL,
`image_original_filename` varchar(255) NOT NULL,
`image_original_exifdata` longtext,
`image_views` bigint(32) NOT NULL DEFAULT '0',
`image_category_id` bigint(32) DEFAULT NULL,
`image_chain` tinyint(128) NOT NULL,
`image_thumb_size` int(11) NOT NULL,
`image_medium_size` int(11) NOT NULL DEFAULT '0',
`image_expiration_date_gmt` datetime DEFAULT NULL,
`image_likes` bigint(32) NOT NULL DEFAULT '0',
`image_is_animated` tinyint(1) NOT NULL DEFAULT '0',
`image_is_approved` tinyint(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`image_id`),
KEY `image_name` (`image_name`(191)),
KEY `image_extension` (`image_extension`(191)),
KEY `image_size` (`image_size`),
KEY `image_width` (`image_width`),
KEY `image_height` (`image_height`),
KEY `image_date_gmt` (`image_date_gmt`),
KEY `image_nsfw` (`image_nsfw`),
KEY `image_user_id` (`image_user_id`),
KEY `image_album_id` (`image_album_id`),
KEY `image_uploader_ip` (`image_uploader_ip`(191)),
KEY `image_storage_mode` (`image_storage_mode`),
KEY `image_path` (`image_path`(191)),
KEY `image_storage_id` (`image_storage_id`),
KEY `image_md5` (`image_md5`),
KEY `image_source_md5` (`image_source_md5`),
KEY `image_views` (`image_views`),
KEY `image_category_id` (`image_category_id`),
KEY `image_chain` (`image_chain`),
KEY `image_expiration_date_gmt` (`image_expiration_date_gmt`),
KEY `image_likes` (`image_likes`),
KEY `image_is_animated` (`image_is_animated`),
KEY `image_is_approved` (`image_is_approved`),
KEY `image_album_id_image_id` (`image_album_id`, `image_id`),
FULLTEXT KEY `searchindex` (`image_name`,`image_title`,`image_description`,`image_original_filename`)
) ENGINE=%table_engine% DEFAULT CHARSET=utf8mb4;

View file

@ -0,0 +1,10 @@
DROP TABLE IF EXISTS `%table_prefix%importing`;
CREATE TABLE `%table_prefix%importing` (
`importing_id` bigint(32) NOT NULL AUTO_INCREMENT,
`importing_import_id` bigint(32) NOT NULL,
`importing_path` varchar(4096) NOT NULL,
`importing_content_type` enum('user','album','image') NOT NULL,
`importing_content_id` bigint(32) NOT NULL DEFAULT '0',
PRIMARY KEY (`importing_id`),
UNIQUE KEY `importing_path` (`importing_path`(255))
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -0,0 +1,21 @@
DROP TABLE IF EXISTS `%table_prefix%imports`;
CREATE TABLE `%table_prefix%imports` (
`import_id` bigint(32) NOT NULL AUTO_INCREMENT,
`import_path` varchar(4096) NOT NULL,
`import_options` varchar(255) DEFAULT NULL,
`import_status` enum('queued','working','paused','canceled','completed') NOT NULL,
`import_users` bigint(32) NOT NULL DEFAULT '0',
`import_images` bigint(32) NOT NULL DEFAULT '0',
`import_albums` bigint(32) NOT NULL DEFAULT '0',
`import_time_created` datetime DEFAULT NULL,
`import_time_updated` datetime DEFAULT NULL,
`import_errors` tinyint(1) NOT NULL DEFAULT '0',
`import_started` tinyint(1) NOT NULL DEFAULT '0',
`import_continuous` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`import_id`),
KEY `import_path` (`import_path`(255)) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `%table_prefix%imports` VALUES ('1', '%rootPath%importing/no-parse', 'a:1:{s:4:"root";s:5:"plain";}', 'working', '0', '0', '0', NOW(), NOW(), '0', '1', '1');
INSERT INTO `%table_prefix%imports` VALUES ('2', '%rootPath%importing/parse-users', 'a:1:{s:4:"root";s:5:"users";}', 'working', '0', '0', '0', NOW(), NOW(), '0', '1', '1');
INSERT INTO `%table_prefix%imports` VALUES ('3', '%rootPath%importing/parse-albums', 'a:1:{s:4:"root";s:6:"albums";}', 'working', '0', '0', '0', NOW(), NOW(), '0', '1', '1');

View file

@ -1,13 +1,13 @@
DROP TABLE IF EXISTS `%table_prefix%ip_bans`;
CREATE TABLE `%table_prefix%ip_bans` (
`ip_ban_id` bigint(20) NOT NULL AUTO_INCREMENT,
`ip_ban_date` datetime NOT NULL,
`ip_ban_date_gmt` datetime NOT NULL,
`ip_ban_expires` datetime DEFAULT NULL,
`ip_ban_expires_gmt` datetime DEFAULT NULL,
`ip_ban_ip` varchar(255) NOT NULL,
`ip_ban_message` longtext,
PRIMARY KEY (`ip_ban_id`),
KEY `ip_ban_date_gmt` (`ip_ban_date_gmt`),
UNIQUE KEY `ip_ban_ip` (`ip_ban_ip`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%ip_bans`;
CREATE TABLE `%table_prefix%ip_bans` (
`ip_ban_id` bigint(20) NOT NULL AUTO_INCREMENT,
`ip_ban_date` datetime NOT NULL,
`ip_ban_date_gmt` datetime NOT NULL,
`ip_ban_expires` datetime DEFAULT NULL,
`ip_ban_expires_gmt` datetime DEFAULT NULL,
`ip_ban_ip` varchar(191) NOT NULL,
`ip_ban_message` text,
PRIMARY KEY (`ip_ban_id`),
KEY `ip_ban_date_gmt` (`ip_ban_date_gmt`),
UNIQUE KEY `ip_ban_ip` (`ip_ban_ip`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View file

@ -1,18 +1,18 @@
DROP TABLE IF EXISTS `%table_prefix%likes`;
CREATE TABLE `%table_prefix%likes` (
`like_id` bigint(32) NOT NULL AUTO_INCREMENT,
`like_date` datetime NOT NULL,
`like_date_gmt` datetime NOT NULL,
`like_user_id` bigint(32) DEFAULT NULL,
`like_content_type` enum('image') DEFAULT NULL,
`like_content_id` bigint(32) NOT NULL,
`like_content_user_id` bigint(32) DEFAULT NULL,
`like_ip` varchar(255) NOT NULL,
PRIMARY KEY (`like_id`),
KEY `like_date_gmt` (`like_date_gmt`),
KEY `like_user_id` (`like_user_id`),
KEY `like_content_type` (`like_content_type`),
KEY `like_content_id` (`like_content_id`),
KEY `like_content_user_id` (`like_content_user_id`),
KEY `like_ip` (`like_ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%likes`;
CREATE TABLE `%table_prefix%likes` (
`like_id` bigint(32) NOT NULL AUTO_INCREMENT,
`like_date` datetime NOT NULL,
`like_date_gmt` datetime NOT NULL,
`like_user_id` bigint(32) DEFAULT NULL,
`like_content_type` enum('image','album') DEFAULT NULL,
`like_content_id` bigint(32) NOT NULL,
`like_content_user_id` bigint(32) DEFAULT NULL,
`like_ip` varchar(255) NOT NULL,
PRIMARY KEY (`like_id`),
KEY `like_date_gmt` (`like_date_gmt`),
KEY `like_user_id` (`like_user_id`),
KEY `like_content_type` (`like_content_type`),
KEY `like_content_id` (`like_content_id`),
KEY `like_content_user_id` (`like_content_user_id`),
KEY `like_ip` (`like_ip`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

11
app/install/sql/locks.sql Normal file
View file

@ -0,0 +1,11 @@
DROP TABLE IF EXISTS `%table_prefix%locks`;
CREATE TABLE `%table_prefix%locks` (
`lock_id` bigint(20) NOT NULL AUTO_INCREMENT,
`lock_name` varchar(255) NOT NULL,
`lock_date_gmt` datetime NOT NULL,
`lock_expires_gmt` datetime DEFAULT NULL,
PRIMARY KEY (`lock_id`),
KEY `lock_date_gmt` (`lock_date_gmt`),
KEY `lock_expires_gmt` (`lock_expires_gmt`),
UNIQUE KEY `lock_name` (`lock_name`(191)) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View file

@ -1,18 +1,18 @@
DROP TABLE IF EXISTS `%table_prefix%logins`;
CREATE TABLE `%table_prefix%logins` (
`login_id` bigint(32) NOT NULL AUTO_INCREMENT,
`login_user_id` bigint(32) NOT NULL,
`login_type` enum('password','session','cookie','facebook','twitter','google','vk') NOT NULL,
`login_ip` varchar(255) DEFAULT NULL,
`login_hostname` text,
`login_date` datetime NOT NULL,
`login_date_gmt` datetime NOT NULL,
`login_resource_id` varchar(255) DEFAULT NULL,
`login_resource_name` text,
`login_resource_avatar` text,
`login_resource_url` text,
`login_secret` text DEFAULT NULL COMMENT 'The secret part',
`login_token_hash` text COMMENT 'Hashed complement to secret if needed',
PRIMARY KEY (`login_id`),
KEY `login_user_id` (`login_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP TABLE IF EXISTS `%table_prefix%logins`;
CREATE TABLE `%table_prefix%logins` (
`login_id` bigint(32) NOT NULL AUTO_INCREMENT,
`login_user_id` bigint(32) NOT NULL,
`login_type` enum('password','session','cookie','facebook','twitter','google','vk','cookie_facebook','cookie_twitter','cookie_google','cookie_vk') NOT NULL,
`login_ip` varchar(255) DEFAULT NULL,
`login_hostname` mediumtext,
`login_date` datetime NOT NULL,
`login_date_gmt` datetime NOT NULL,
`login_resource_id` varchar(255) DEFAULT NULL,
`login_resource_name` mediumtext,
`login_resource_avatar` mediumtext,
`login_resource_url` mediumtext,
`login_secret` mediumtext DEFAULT NULL COMMENT 'The secret part',
`login_token_hash` mediumtext COMMENT 'Hashed complement to secret if needed',
PRIMARY KEY (`login_id`),
KEY `login_user_id` (`login_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

View file

@ -1,19 +1,19 @@
DROP TABLE IF EXISTS `%table_prefix%notifications`;
CREATE TABLE `%table_prefix%notifications` (
`notification_id` bigint(32) NOT NULL AUTO_INCREMENT,
`notification_date_gmt` datetime NOT NULL,
`notification_user_id` bigint(32) NOT NULL,
`notification_trigger_user_id` bigint(32) DEFAULT NULL,
`notification_type` enum('follow','like') NOT NULL,
`notification_content_type` enum('user','image') NOT NULL,
`notification_type_id` bigint(32) NOT NULL COMMENT 'type_id based on action (type) table',
`notification_is_read` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`notification_id`),
KEY `notification_date_gmt` (`notification_date_gmt`),
KEY `notification_user_id` (`notification_user_id`),
KEY `notification_trigger_user_id` (`notification_trigger_user_id`),
KEY `notification_type` (`notification_type`),
KEY `notification_content_type` (`notification_content_type`),
KEY `notification_type_id` (`notification_type_id`),
KEY `notification_is_read` (`notification_is_read`)
DROP TABLE IF EXISTS `%table_prefix%notifications`;
CREATE TABLE `%table_prefix%notifications` (
`notification_id` bigint(32) NOT NULL AUTO_INCREMENT,
`notification_date_gmt` datetime NOT NULL,
`notification_user_id` bigint(32) NOT NULL,
`notification_trigger_user_id` bigint(32) DEFAULT NULL,
`notification_type` enum('follow','like') NOT NULL,
`notification_content_type` enum('user','image','album') NOT NULL,
`notification_type_id` bigint(32) NOT NULL COMMENT 'type_id based on action (type) table',
`notification_is_read` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`notification_id`),
KEY `notification_date_gmt` (`notification_date_gmt`),
KEY `notification_user_id` (`notification_user_id`),
KEY `notification_trigger_user_id` (`notification_trigger_user_id`),
KEY `notification_type` (`notification_type`),
KEY `notification_content_type` (`notification_content_type`),
KEY `notification_type_id` (`notification_type_id`),
KEY `notification_is_read` (`notification_is_read`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

View file

@ -1,26 +1,28 @@
DROP TABLE IF EXISTS `%table_prefix%pages`;
CREATE TABLE `%table_prefix%pages` (
`page_id` bigint(32) NOT NULL AUTO_INCREMENT,
`page_url_key` varchar(32) DEFAULT NULL,
`page_type` enum('internal','link') NOT NULL DEFAULT 'internal',
`page_file_path` varchar(255) DEFAULT NULL,
`page_link_url` text,
`page_icon` varchar(255) DEFAULT NULL,
`page_title` varchar(255) NOT NULL,
`page_description` text,
`page_keywords` text,
`page_is_active` tinyint(1) NOT NULL DEFAULT '1',
`page_is_link_visible` tinyint(1) NOT NULL DEFAULT '1',
`page_attr_target` enum('_self','_blank') DEFAULT '_self',
`page_attr_rel` varchar(255) DEFAULT NULL,
`page_sort_display` int(11) DEFAULT NULL,
PRIMARY KEY (`page_id`),
KEY `page_url_key` (`page_url_key`),
KEY `page_type` (`page_type`),
KEY `page_is_active` (`page_is_active`),
KEY `page_is_link_visible` (`page_is_link_visible`),
KEY `page_sort_display` (`page_sort_display`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
INSERT INTO `%table_prefix%pages` VALUES ('1', 'tos', 'internal', null, null, null, 'Terms of service', null, null, '1', '1', '_blank', null, '1');
INSERT INTO `%table_prefix%pages` VALUES ('2', 'privacy', 'internal', null, null, null, 'Privacy', null, null, '1', '1', '_self', null, '2');
INSERT INTO `%table_prefix%pages` VALUES ('3', 'contact', 'internal', null, null, null, 'Contact', null, null, '1', '1', '_self', null, '3');
DROP TABLE IF EXISTS `%table_prefix%pages`;
CREATE TABLE `%table_prefix%pages` (
`page_id` bigint(32) NOT NULL AUTO_INCREMENT,
`page_url_key` varchar(32) DEFAULT NULL,
`page_type` enum('internal','link') NOT NULL DEFAULT 'internal',
`page_file_path` varchar(255) DEFAULT NULL,
`page_link_url` mediumtext,
`page_icon` varchar(255) DEFAULT NULL,
`page_title` varchar(255) NOT NULL,
`page_description` mediumtext,
`page_keywords` mediumtext,
`page_is_active` tinyint(1) NOT NULL DEFAULT '1',
`page_is_link_visible` tinyint(1) NOT NULL DEFAULT '1',
`page_attr_target` enum('_self','_blank') DEFAULT '_self',
`page_attr_rel` varchar(255) DEFAULT NULL,
`page_sort_display` int(11) DEFAULT NULL,
`page_internal` varchar(191) DEFAULT NULL,
PRIMARY KEY (`page_id`),
UNIQUE KEY `page_internal` (`page_internal`(191)),
KEY `page_url_key` (`page_url_key`),
KEY `page_type` (`page_type`),
KEY `page_is_active` (`page_is_active`),
KEY `page_is_link_visible` (`page_is_link_visible`),
KEY `page_sort_display` (`page_sort_display`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
INSERT INTO `%table_prefix%pages` VALUES ('1', 'tos', 'internal', null, null, 'icon-text', 'Terms of service', null, null, '1', '1', '_self', null, '1', 'tos');
INSERT INTO `%table_prefix%pages` VALUES ('2', 'privacy', 'internal', null, null, 'icon-lock', 'Privacy', null, null, '1', '1', '_self', null, '2', 'privacy');
INSERT INTO `%table_prefix%pages` VALUES ('3', 'contact', 'internal', null, null, 'icon-mail', 'Contact', null, null, '1', '1', '_self', null, '3', 'contact');

View file

@ -1,11 +1,11 @@
DROP TABLE IF EXISTS `%table_prefix%queues`;
CREATE TABLE `%table_prefix%queues` (
`queue_id` bigint(32) NOT NULL AUTO_INCREMENT,
`queue_type` enum('storage-delete') NOT NULL,
`queue_date_gmt` datetime NOT NULL,
`queue_args` longtext NOT NULL,
`queue_join` bigint(32) NOT NULL,
`queue_attempts` varchar(255) DEFAULT '0',
`queue_status` enum('pending','failed') NOT NULL DEFAULT 'pending',
PRIMARY KEY (`queue_id`)
DROP TABLE IF EXISTS `%table_prefix%queues`;
CREATE TABLE `%table_prefix%queues` (
`queue_id` bigint(32) NOT NULL AUTO_INCREMENT,
`queue_type` enum('storage-delete') NOT NULL,
`queue_date_gmt` datetime NOT NULL,
`queue_args` longtext NOT NULL,
`queue_join` bigint(32) NOT NULL,
`queue_attempts` varchar(255) DEFAULT '0',
`queue_status` enum('pending','failed') NOT NULL DEFAULT 'pending',
PRIMARY KEY (`queue_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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