Просмотр исходного кода

Merge branch 'FreshRSS/dev' into import_duplicates

Alexandre Alapetite 9 лет назад
Родитель
Сommit
d308e901e6
4 измененных файлов с 12 добавлено и 12 удалено
  1. 1 0
      CHANGELOG.md
  2. 3 7
      data/.gitignore
  3. 3 1
      data/PubSubHubbub/feeds/.gitignore
  4. 5 4
      data/users/.gitignore

+ 1 - 0
CHANGELOG.md

@@ -28,6 +28,7 @@
 	* Fix auto-discovery of RSS feeds in Web pages served as `text/xml` [#1264](https://github.com/FreshRSS/FreshRSS/issues/1264)
 * Security
 	* Prevent `<a target="_blank">` attacks with `window.opener` [#1245](https://github.com/FreshRSS/FreshRSS/issues/1245)
+	* Updated gitignore rules to keep user directories during a `git clean -f -d` [#1307](https://github.com/FreshRSS/FreshRSS/pull/1307)
 * UI
 	* Download icon 💾 for podcasts [#1236](https://github.com/FreshRSS/FreshRSS/issues/1236)
 * Extensions

+ 3 - 7
data/.gitignore

@@ -1,10 +1,6 @@
-application.ini
 config.php
-*.sqlite
-touch.txt
-no-cache.txt
-*.bak.php
-*.lock.txt
+config.php.bak.php
+force-https.txt
 last_update.txt
+no-cache.txt
 update.php
-force-https.txt

+ 3 - 1
data/PubSubHubbub/feeds/.gitignore

@@ -1 +1,3 @@
-*/*
+*/
+*/*.json
+*/*.txt

+ 5 - 4
data/users/.gitignore

@@ -1,4 +1,5 @@
-db.sqlite
-config.php
-log*.txt
-
+*/
+*/config.php
+*/db.sqlite
+!_/
+*/log*.txt