Skip to content

Commit 7ff53a2

Browse files
author
Hasan Özbey
committed
bump deps & other chore
1 parent de8eaa7 commit 7ff53a2

14 files changed

+30
-5213
lines changed

BENIOKU.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Ekran görüntüleri:
2323

2424
## Gereksinimler
2525

26-
![php](https://img.shields.io/badge/php-%E2%89%A57.4-blue?style=flat-square) ![ext-iconv](https://img.shields.io/badge/ext-iconv-brightgreen?style=flat-square)
26+
![php](https://img.shields.io/badge/php-%E2%89%A57.4.0-blue?style=flat-square) ![ext-iconv](https://img.shields.io/badge/ext-iconv-brightgreen?style=flat-square)
2727

2828
php sürümünüzü `php -v` komutunu çalıştırarak ve `iconv` pakedinin yüklü olup olmadığını `php --ri iconv` komutunu çalıştırarak (`iconv support => enabled` çıktısını görmelisiniz) öğrenebilirsiniz.
2929

@@ -49,13 +49,7 @@ Eklentiyi aktif edin ve izinleri ayarlayın. Kullanmaya başlayabilirsiniz!
4949

5050
**x** mesajın düzenlenme sayısı olmak üzere, **x ≥ A** koşulu sağlandığında mesaja ait ilk **y=mx+b** düzenlemeyi birleştirip sıkıştırarak yeni bir tabloda (`post_edit_histories_archive`) `BLOB` tipinde saklayabilirsiniz. **A**, **m** ve **b** değerlerini eklentinin ayarlarından belirleyin. Ondalık **y** değerleri en yakın alt tam sayıya yuvarlanacaktır. Depolama alanından tasarruf etmek istiyorsanız, eski düzenlemeleri arşivlemeniz önerilir ancak _depolama alanı sıkıntınız yoksa önerilmez_.
5151

52-
Eski düzenlemeleri arşivlemek istiyorsanız _zamanlanmış görev seçeneğini_ aktif edebilirsiniz. Bu görev `diff:archive` komutunu kullanarak her hafta pazar günü sabah saat 02:00'de çalışır**. Zamanlanmış görev kullanmazsanız, mesajın her düzenlemesinden sonra mesaja ait eski düzenlemeler taranır ve arşivlenir. Diğer bir seçenek de `php flarum diff:archive` komutunu kullanarak eski düzenlemeleri elle arşivlemektir.
53-
54-
> **: Zamanlanmış görevlerin çalışabilmesi için Linux sunucunuza aşağıdaki komutu vermelisiniz:
55-
>
56-
> `* * * * * php /<path/to/flarum>/flarum schedule:run >> /dev/null 2>&1`
57-
>
58-
> Bu komut dakikada bir zamanlanmış görevleri kontrol eder ve zamanı gelmiş görevleri çalıştırır.
52+
Eski düzenlemeleri arşivlemek istiyorsanız _zamanlanmış görev seçeneğini_ aktif edebilirsiniz. Bu görev `diff:archive` komutunu kullanarak her hafta pazar günü sabah saat 02:00'de çalışır**. Zamanlanmış görev kullanmazsanız, mesajın her düzenlemesinden sonra mesaja ait eski düzenlemeler taranır ve arşivlenir. Diğer bir seçenek de `php flarum diff:archive` komutunu kullanarak eski düzenlemeleri elle arşivlemektir. Zamanlanmış görev kurulumu için [buradaki tartışmayı](https://discuss.flarum.org/d/24118-setup-the-flarum-scheduler-using-cron) okuyabilirsiniz.
5953

6054
## Bağlantılar
6155

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 1.1.2
2+
3+
Requires Flarum v1.2.0+
4+
5+
- **Update** dependencies.
6+
17
### 1.1.1
28
- **Fix** diff dropdown was closing after clicking on a deleted revision on pages those created by other extensions.
39

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 Hasan Özbey
3+
Copyright (c) 2021 - 2022 Hasan Özbey
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+2-8
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Also, it won't load (and cache) anything until you click the "Edited" button so
2525

2626
## Requirements
2727

28-
![php](https://img.shields.io/badge/php-%E2%89%A57.4-blue?style=flat-square) ![ext-iconv](https://img.shields.io/badge/ext-iconv-brightgreen?style=flat-square)
28+
![php](https://img.shields.io/badge/php-%E2%89%A57.4.0-blue?style=flat-square) ![ext-iconv](https://img.shields.io/badge/ext-iconv-brightgreen?style=flat-square)
2929

3030
You can check your php version by running `php -v` and check if `iconv` is installed by running `php --ri iconv` (which should display `iconv support => enabled`).
3131

@@ -51,13 +51,7 @@ Enable the extension and set the permissions. You're ready to go!
5151

5252
If **x ≥ A** (where the **x** is post's revision count), first **y=mx+b** revisions for the post can be stored as merged & compressed `BLOB` in a new table (which is called `post_edit_histories_archive`). Specify the **A**, **m** and **b** from the settings modal. Float values of **y** will be rounded to the next lowest integer value. It's recommended to archive old revisions if you want to save storage volume but **_not recommended if you don't want to_**.
5353

54-
If you want to archive old revisions, please consider enabling _cron job option_ from the settings modal. I set a weekly cron job which is working on sundays at 02:00 AM (nothing special) using `diff:archive` command**. Otherwise, it'll try to find & archive old revisions for the post as soon as `Post\Revised` event fires or wait for your `php flarum diff:archive` command.
55-
56-
> **: Here is the only Cron entry you need to add to your (Linux) server:
57-
>
58-
> `* * * * * php /<path/to/flarum>/flarum schedule:run >> /dev/null 2>&1`
59-
>
60-
> This Cron will call the Laravel command scheduler every minute. Then, Laravel evaluates your scheduled tasks and runs the tasks that are due.
54+
If you want to archive old revisions, please consider enabling _cron job option_ from the settings modal. I set a weekly cron job which is working on sundays at 02:00 AM (nothing special) using `diff:archive` command**. Otherwise, it'll try to find & archive old revisions for the post as soon as `Post\Revised` event fires or wait for your `php flarum diff:archive` command. See [this discussion](https://discuss.flarum.org/d/24118-setup-the-flarum-scheduler-using-cron) for setting up the scheduler.
6155

6256
## Links
6357

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"forum": "https://discuss.flarum.org/d/22779-diff-for-flarum"
3939
},
4040
"require": {
41-
"flarum/core": "^1.0.2",
42-
"jfcherng/php-diff": "^6.10.0",
41+
"flarum/core": "^1.2.0",
42+
"jfcherng/php-diff": "^6.11.6",
4343
"ext-json": "*"
4444
},
4545
"suggest": {

js/.prettierrc.json

-6
This file was deleted.

js/dist/admin.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dist/admin.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dist/forum.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dist/forum.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)