Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
e3fc294a
Commit
e3fc294a
authored
Aug 23, 2021
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.27.0
parent
17dead2b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
12 deletions
+20
-12
README.md
README.md
+2
-2
jobs-importer.php
wp-content/plugins/jobs-importer/jobs-importer.php
+4
-2
cookie.php
wp-content/plugins/polylang/include/cookie.php
+3
-2
cache-compat.php
...tent/plugins/polylang/integrations/cache/cache-compat.php
+2
-2
polylang.php
wp-content/plugins/polylang/polylang.php
+2
-2
readme.txt
wp-content/plugins/polylang/readme.txt
+6
-1
style.css
wp-content/themes/biuro/style.css
+1
-1
No files found.
README.md
View file @
e3fc294a
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
## Production
## Production
-
build CSS & JS assets -
`C:\web\dev.biuro\ npm run build`
-
build CSS & JS assets -
`C:\web\dev.biuro\ npm run build`
-
build new image
`docker build -t biuro/web:1.2
6.3
.`
(update version number)
-
build new image
`docker build -t biuro/web:1.2
7.0
.`
(update version number)
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
push image to docker repository -
`docker push biuro/web:1.2
6.3
`
-
push image to docker repository -
`docker push biuro/web:1.2
7.0
`
## Production
## Production
-
update biuro/web image version in .env file (staging or www)
-
update biuro/web image version in .env file (staging or www)
...
...
wp-content/plugins/jobs-importer/jobs-importer.php
View file @
e3fc294a
...
@@ -121,15 +121,17 @@ function getSource($env)
...
@@ -121,15 +121,17 @@ function getSource($env)
break
;
break
;
}
}
$updated
=
urlencode
(
date
(
"Y-m-d H:i:s"
,
strtotime
(
"-1 day"
)));
// Set data source path by environment type
// Set data source path by environment type
if
(
$env
===
'dev'
)
{
if
(
$env
===
'dev'
)
{
// $inputFile = plugin_dir_path(__FILE__) . "source_data/wp_biuro.php.xml";
// $inputFile = plugin_dir_path(__FILE__) . "source_data/wp_biuro.php.xml";
// $inputFile = "https://base.biuro.lt/_export/wp_biuro.php";
// $inputFile = "https://base.biuro.lt/_export/wp_biuro.php";
// $inputFile = "https://base.biuro.lt/_devSkirmantas/lt/jobs/AdvertExport/Biuro.php";
// $inputFile = "https://base.biuro.lt/_devSkirmantas/lt/jobs/AdvertExport/Biuro.php";
$inputFile
=
"https://base.biuro.lt/_export/
{
$script
}
"
;
$inputFile
=
"https://base.biuro.lt/_export/
{
$script
}
?updated_datetime_gte=
{
$updated
}
"
;
}
elseif
(
$env
===
'prod'
)
{
}
elseif
(
$env
===
'prod'
)
{
// $inputFile = "http://export.biuro.lt/wp_biuro.php";
// $inputFile = "http://export.biuro.lt/wp_biuro.php";
$inputFile
=
"http://export.biuro.lt/
{
$script
}
"
;
$inputFile
=
"http://export.biuro.lt/
{
$script
}
?updated_datetime_gte=
{
$updated
}
"
;
}
}
return
$inputFile
;
return
$inputFile
;
...
...
wp-content/plugins/polylang/include/cookie.php
View file @
e3fc294a
...
@@ -22,16 +22,17 @@ class PLL_Cookie {
...
@@ -22,16 +22,17 @@ class PLL_Cookie {
* Filters the Polylang cookie duration.
* Filters the Polylang cookie duration.
*
*
* If a cookie duration of 0 is specified, a session cookie will be set.
* If a cookie duration of 0 is specified, a session cookie will be set.
* If a negative cookie duration is specified, the cookie is removed.
* /!\ This filter may be fired *before* the theme is loaded.
* /!\ This filter may be fired *before* the theme is loaded.
*
*
* @since 1.8
* @since 1.8
*
*
* @param int $duration Cookie duration in seconds.
* @param int $duration Cookie duration in seconds.
*/
*/
$expiration
=
apply_filters
(
'pll_cookie_expiration'
,
YEAR_IN_SECONDS
);
$expiration
=
(
int
)
apply_filters
(
'pll_cookie_expiration'
,
YEAR_IN_SECONDS
);
$defaults
=
array
(
$defaults
=
array
(
'expires'
=>
$expiration
>
0
?
time
()
+
$expiration
:
0
,
'expires'
=>
0
!==
$expiration
?
time
()
+
$expiration
:
0
,
'path'
=>
COOKIEPATH
,
'path'
=>
COOKIEPATH
,
'domain'
=>
COOKIE_DOMAIN
,
// Cookie domain must be set to false for localhost ( default value for COOKIE_DOMAIN ) thanks to Stephen Harris.
'domain'
=>
COOKIE_DOMAIN
,
// Cookie domain must be set to false for localhost ( default value for COOKIE_DOMAIN ) thanks to Stephen Harris.
'secure'
=>
is_ssl
(),
'secure'
=>
is_ssl
(),
...
...
wp-content/plugins/polylang/integrations/cache/cache-compat.php
View file @
e3fc294a
...
@@ -45,9 +45,9 @@ class PLL_Cache_Compat {
...
@@ -45,9 +45,9 @@ class PLL_Cache_Compat {
$samesite
=
(
3
===
PLL
()
->
options
[
'force_lang'
]
)
?
'None'
:
'Lax'
;
$samesite
=
(
3
===
PLL
()
->
options
[
'force_lang'
]
)
?
'None'
:
'Lax'
;
/** This filter is documented in include/cookie.php */
/** This filter is documented in include/cookie.php */
$expiration
=
apply_filters
(
'pll_cookie_expiration'
,
YEAR_IN_SECONDS
);
$expiration
=
(
int
)
apply_filters
(
'pll_cookie_expiration'
,
YEAR_IN_SECONDS
);
if
(
$expiration
>
0
)
{
if
(
0
!==
$expiration
)
{
$format
=
'var expirationDate = new Date();
$format
=
'var expirationDate = new Date();
expirationDate.setTime( expirationDate.getTime() + %7$d * 1000 );
expirationDate.setTime( expirationDate.getTime() + %7$d * 1000 );
document.cookie = "%1$s=%2$s; expires=" + expirationDate.toUTCString() + "; path=%3$s%4$s%5$s%6$s";'
;
document.cookie = "%1$s=%2$s; expires=" + expirationDate.toUTCString() + "; path=%3$s%4$s%5$s%6$s";'
;
...
...
wp-content/plugins/polylang/polylang.php
View file @
e3fc294a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Plugin Name: Polylang
* Plugin Name: Polylang
* Plugin URI: https://polylang.pro
* Plugin URI: https://polylang.pro
* Description: Adds multilingual capability to WordPress
* Description: Adds multilingual capability to WordPress
* Version: 3.1
* Version: 3.1
.1
* Requires at least: 5.4
* Requires at least: 5.4
* Requires PHP: 5.6
* Requires PHP: 5.6
* Author: WP SYNTEX
* Author: WP SYNTEX
...
@@ -53,7 +53,7 @@ if ( defined( 'POLYLANG_VERSION' ) ) {
...
@@ -53,7 +53,7 @@ if ( defined( 'POLYLANG_VERSION' ) ) {
}
}
}
else
{
}
else
{
// Go on loading the plugin
// Go on loading the plugin
define
(
'POLYLANG_VERSION'
,
'3.1'
);
define
(
'POLYLANG_VERSION'
,
'3.1
.1
'
);
define
(
'PLL_MIN_WP_VERSION'
,
'5.4'
);
define
(
'PLL_MIN_WP_VERSION'
,
'5.4'
);
define
(
'PLL_MIN_PHP_VERSION'
,
'5.6'
);
define
(
'PLL_MIN_PHP_VERSION'
,
'5.6'
);
...
...
wp-content/plugins/polylang/readme.txt
View file @
e3fc294a
...
@@ -5,7 +5,7 @@ Tags: multilingual, bilingual, translate, translation, language, multilanguage,
...
@@ -5,7 +5,7 @@ Tags: multilingual, bilingual, translate, translation, language, multilanguage,
Requires at least: 5.4
Requires at least: 5.4
Tested up to: 5.8
Tested up to: 5.8
Requires PHP: 5.6
Requires PHP: 5.6
Stable tag: 3.1
Stable tag: 3.1
.1
License: GPLv3 or later
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
License URI: https://www.gnu.org/licenses/gpl-3.0.html
...
@@ -78,6 +78,11 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
...
@@ -78,6 +78,11 @@ Don't hesitate to [give your feedback](http://wordpress.org/support/view/plugin-
== Changelog ==
== Changelog ==
= 3.1.1 (2021-08-16) =
* Pro: Fix a fatal error with The Events Calendar
* Allow to remove the cookie with the pll_cookie_expiration filter #905
= 3.1 (2021-07-27) =
= 3.1 (2021-07-27) =
* Add compatibility with WordPress 5.8
* Add compatibility with WordPress 5.8
...
...
wp-content/themes/biuro/style.css
View file @
e3fc294a
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
...
@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Description: Biuro multiregion theme
Version: 1.2
6.3
Version: 1.2
7.0
Text Domain: biuro
Text Domain: biuro
*/
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment