71 Commits

Author SHA1 Message Date
Fraenkiman
231be2eed1 code formatting 2023-12-10 17:17:06 +01:00
Fraenkiman
c62b4bb964 code formatting 2023-12-10 01:40:22 +01:00
Fraenkiman
f46df8aafe Code-Formatierung in Sprachdateien
- For future new language packs, a clean basis has been created with the existing language packs.
	- Removed unnecessary line breaks, spaces and tabs to avoid unexpected views in the responsive design.
	- Updated links to external sources.

- Missing language files created in plugins.
	- Gallerycaptions plugin: cs-cz, el-gr, es-es, fr-fr, ja-jp, nl-nl
	- Mediamanager plugin: el-gr, fr-fr
	- PhotoSwipe plugin: cs-cz, el-gr, es-es, fr-fr, ja-jp, nl-nl
	- Readmore plugin: el-gr, fr-fr
	- Seometataginfo plugin: pt-br
2023-12-10 01:30:26 +01:00
Frank Hochmuth
ef234d66b6
Update lang.ru-ru.php
Lang ID corrected
2023-12-01 22:58:27 +01:00
Mark
d4a67a2213 added russian translation 2023-11-30 23:17:18 +03:00
Frank Hochmuth
aab4255f3f
Update lang.sl-si.php
- The Slovenian setup language file was missing translated error messages
2023-11-22 22:35:39 +01:00
Frank Hochmuth
c67cc1c52b
Update lang.en-us.php
- The English setup language file was missing translated error messages
2023-11-22 20:45:44 +01:00
Fraenkiman
6219f4ef75 Create lang.da-dk.php
- ceate lang.da-dk.php
2023-11-01 21:42:50 +01:00
Fraenkiman
687482c76e fp-content file/folder permissions recursively during setup
- Update chmod info in the administration area
- fp-content gets the necessary permissions recursively during setup
2023-10-19 00:07:54 +02:00
Fraenkiman
9da30cf750 Greek language file
- Added Greek language file for setup
2023-10-16 01:00:15 +02:00
Fraenkiman
7743c2d54a Mastodon and french language file
"follow on mastodon" added french language file for setup
2023-10-15 23:33:04 +02:00
Fraenkiman
018e5c1149 Language files customized for setup
- Spanish language file created for the setup
- FlatPress title in setup now multilingual
2023-10-09 01:45:28 +02:00
Fraenkiman
6df2cf1c62 Makeup FlatPress Installer
- The HTML of the installer now has a lang attribute in the html start tag to specify the language.
- The installer tries to provide the fp-content directory for owners and groups with write permissions, which had to be done manually before.
Write permissions for "others" removed via default.php. Even if the webserver is configured very unfavorable, only owners and groups should be allowed to write.
- Image files, which are not used by the installer, were removed.
- Removed unnecessary lang variable in default settings.
- In the setup CSS, unused IDs, classes and incorrect references to fonts have been removed.
- The installer header now shines in a simple FlatPress style
2023-10-04 02:01:02 +02:00
Frank Hochmuth
a4fe75dc0e
Merge pull request #261 from Fraenkiman/upstream/issue220
Prevents cross-site scripting (XSS) in the parameter username, Error messages now multilingual
2023-10-02 15:42:40 +02:00
Fraenkiman
c8dc647928 Supplement to Commit 164fab4
The automatic detection of the language only works if the language file is also available for the setup. Andernfalls wird das Setup nicht gestartet.
2023-10-02 04:04:14 +02:00
Fraenkiman
e1988062f6 fix css
fix css
2023-10-02 01:13:45 +02:00
Fraenkiman
828408382b Duplicate name check removed
Duplicate name check removed
2023-10-01 22:42:45 +02:00
Fraenkiman
66ff2f76f1 Update main.lib.php 2023-09-30 21:33:55 +02:00
Fraenkiman
9c8478d4de Update lang.de-de.php 2023-09-02 00:57:36 +02:00
Fraenkiman
326f5aa163 - Error messages now multilingual
- Error messages are now supported in multiple languages
2023-09-01 23:09:33 +02:00
Fraenkiman
759a459e01 Update main.lib.php 2023-09-01 00:45:06 +02:00
Fraenkiman
36df32236c Update main.lib.php
- Username can only contain letters, numbers and 1 underscore.
2023-08-31 23:59:53 +02:00
Arvid Zimmermann
61aee176b8
Merge pull request #198 from Fraenkiman/upstream/issue197
The setup, the blog and the admin area starts automatically in the language of the user.
2023-06-11 14:01:43 +02:00
Fraenkiman
73153cffed The setup, blog and admin area is automatically determined by the user agent
Fixes #216
Fixes #197

The exchange between browser and server transmits information about the client and its capabilities in headers - user agent, what it accepts, and (what interests us) language. The browser sends the language information in a header.
These values indicate that the browser accepts, for example, US English (en-us) or German (de-de).
We make use of this. The setup of FlatPress now starts automatically in the language of the user. The determined language will also be used as default language for the FlatPressblog and the administration area until the user defines a language himself.

For the setup the language files 'el-gr','es-es','fr-fr' are still missing.
Therefore I limited the automatic determination of the language to 'cs-cz', 'de-de', 'en-us', 'it-it', 'ja-jp', 'nl-nl', 'pt-br'. See #239
2023-04-18 23:27:40 +02:00
Fraenkiman
56dd76da49 Tells the user during setup to configure the PrettyURL plugin and to create a .htacces file in the root directory. Hint for configuring the PrettyURL plugin
Tells the user during setup to configure the PrettyURL plugin and to create a .htacces file in the root directory.

See #230
2023-04-13 00:54:30 +02:00
Frank Hochmuth
fd0d631259
Merge branch 'flatpressblog:master' into upstream/issue197 2023-04-10 16:25:01 +02:00
Frank Hochmuth
ab47fe0bd1
Merge branch 'flatpressblog:master' into upstream/issue147 2023-04-10 16:23:47 +02:00
Fraenkiman
f12ac4cc3a Update step2.lib.php
Adds the welcome entry to the Author FlatPress.
Also for the static pages menu and about.

See https://github.com/flatpressblog/flatpress/issues/99#issuecomment-1159540059
2023-03-27 01:41:31 +02:00
Fraenkiman
859a2d8ab8 Create lang.de-de.php
to avoid conflicts copied from #219
2023-03-24 23:41:09 +01:00
Frank Hochmuth
eee662da15
Delete lang.de-de.php
is fixed with #219
2023-03-24 23:23:28 +01:00
Fraenkiman
2a50ac6b9b Update lang.de-de.php
removed unnecessary space and changed incorrect translation
2023-03-24 23:13:40 +01:00
Fraenkiman
557882da92 Adds a PhotoSwipe demo gallery
Fixes #147
2023-03-23 00:22:12 +01:00
Fraenkiman
a9db325e1f Update lang.it-it.php 2023-03-02 00:44:48 +01:00
Fraenkiman
42b03966e4 Italian language file correction
Many thanks to eagleman
2023-03-02 00:16:50 +01:00
Frank Hochmuth
59285d4184
Merge branch 'flatpressblog:master' into upstream/issue197 2023-02-19 13:53:10 +01:00
azett
b60a51cf92 Little fixes in Italian language files by eagleman - thx! 2023-02-18 12:13:01 +01:00
Fraenkiman
2849e97311 Setup should use the user's browser language.
This closes issue #197

Please check if it works with php8.1. Tested with php 7.4

Update main.php

'el-gr','es-es','fr-fr' removed as browser language, because the FlatPress setup currently has no language files for it

Update lang.de-de.php

Update main.php

some code formatting
2023-01-29 03:16:47 +01:00
azett
5f23b4c2ea fixes #176, possible XSS in setup 2022-12-25 14:16:25 +01:00
azett
432b352c26 fixed Italian language pack by Giacomo Margarito - grazie mille! :) 2022-11-01 13:39:20 +01:00
azett
266b217161 Fixes #156 - thx @Fraenkiman 2022-10-02 12:49:24 +02:00
azett
f465c79470 Typo, see #99 2022-06-18 21:05:42 +02:00
azett
9a0c93de9e Added Dutch language pack by Macmee - hartelijk bedankt! 2021-06-03 14:12:43 +02:00
azett
43a7a43191 Italian language pack fix by Giacomo Margarito - grazie mille :) 2021-03-04 13:12:38 +01:00
azett
8ddd5a448f Added German setup file. 2021-02-20 12:50:59 +01:00
azett
aaf5d35c0e Added Czech lang files by Lubomír Ludvík for setup and Commentcenter plugin. Děkuji! :) 2021-02-20 11:17:03 +01:00
azett
27c3e825b3 Fixed Heredoc strings. Turns out, Heredoc syntax - https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc - only works with closing tags being the first characters of a line. Eclipse's reformatting and indention of the code does not seem to know that^^
Fix: Changed Heredoc strings to "normal" strings.
2021-02-13 13:47:18 +01:00
azett
e1e58d0a78 Italian language pack fix by Giacomo Margarito - grazie mille :) 2021-01-23 13:05:35 +01:00
azett
83e1644c0f Restored some changes from the last commit. Turns out, the HASHSALT_FILE is still used elsewhere ó_Ò 2020-12-19 19:25:52 +01:00
azett
f265b22b0b Fix for #59: Updated password hash algorithm from md5 to bcrypt (via password_hash() function). Thanks a lot, @axelhahn!
In detail: Added function io_delete_file(). Removed system_hashsalt_save(). Added password hash update mechanics to user_login().
2020-12-19 14:02:27 +01:00
azett
e65bb9c549 Added the Italian language pack by Giacomo Margarito - grazie mille! 2020-05-09 14:11:32 +02:00