Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.2.20 donate popup and frontend updates #1699

Merged
merged 31 commits into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
fd61164
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Feb 3, 2025
4d03191
chore(deps): update dependency caniuse-lite to v1.0.30001697
renovate[bot] Feb 4, 2025
3eedf76
v1.2.19.deps for dependencies updates
PiotrIw Feb 5, 2025
ee3593a
Merge pull request #1689 from watchdogpolska/PiotrIw-patch-3
PiotrIw Feb 5, 2025
61da65f
Merge branch 'dev' into pre-commit-ci-update-config
PiotrIw Feb 5, 2025
99fad5f
Merge pull request #1686 from watchdogpolska/pre-commit-ci-update-config
PiotrIw Feb 5, 2025
4fe0016
Merge branch 'dev' into renovate/caniuse-lite-1.x-lockfile
PiotrIw Feb 5, 2025
ab20d7f
Merge pull request #1687 from watchdogpolska/renovate/caniuse-lite-1.…
PiotrIw Feb 5, 2025
aa08bb8
chore(deps): update dependency django to v4.2.19
renovate[bot] Feb 6, 2025
8bb2489
chore(deps): update dependency pre-commit to v4.1.0
renovate[bot] Feb 6, 2025
d387fc0
Merge pull request #1690 from watchdogpolska/renovate/django-4.x
PiotrIw Feb 6, 2025
623a314
Merge branch 'dev' into renovate/pre-commit-4.x
PiotrIw Feb 6, 2025
d15bc51
Merge pull request #1693 from watchdogpolska/renovate/pre-commit-4.x
PiotrIw Feb 6, 2025
a54928a
chore(deps): update dependency pytz to v2025
renovate[bot] Feb 6, 2025
09bf591
Merge pull request #1695 from watchdogpolska/renovate/pytz-2025.x
PiotrIw Feb 6, 2025
1eaa8e6
chore(deps): update dependency mistune to v3.1.1
renovate[bot] Feb 6, 2025
55b85e8
Merge pull request #1692 from watchdogpolska/renovate/mistune-3.x
PiotrIw Feb 6, 2025
af0ac11
chore(deps): update dependency factory-boy to v3.3.3
renovate[bot] Feb 6, 2025
c9d8f11
Merge pull request #1691 from watchdogpolska/renovate/factory-boy-3.x
PiotrIw Feb 6, 2025
87a804b
chore(deps): update dependency sass to v1.84.0
renovate[bot] Feb 6, 2025
84f5313
Merge pull request #1694 from watchdogpolska/renovate/sass-1.x-lockfile
PiotrIw Feb 6, 2025
4507c92
chore: version bumpup
PiotrIw Feb 6, 2025
60a7c81
chore: remove orphaned containers
PiotrIw Feb 6, 2025
888f398
chore: skip unavailable scss in bs3
PiotrIw Feb 6, 2025
d031a4f
fix: reafcor deprecated functions
PiotrIw Feb 6, 2025
d7a6386
refactor: place outdated gulp-autoprefixer
PiotrIw Feb 6, 2025
2266b43
feat: add tinycontent to donate popup
PiotrIw Feb 6, 2025
efedf71
Merge pull request #106 from PiotrIw/update_donate_popup
PiotrIw Feb 6, 2025
716811b
Merge pull request #1696 from PiotrIw/dev
PiotrIw Feb 6, 2025
eed02a8
Merge pull request #1697 from watchdogpolska/dev_ext
PiotrIw Feb 6, 2025
3dc9043
Merge branch 'master' into dev
PiotrIw Feb 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ repos:
args:
- --py3-only
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/sirosen/check-jsonschema
rev: 0.31.0
rev: 0.31.1
hooks:
- id: check-github-workflows
- id: check-readthedocs
Expand All @@ -41,7 +41,7 @@ repos:
hooks:
- id: yamllint
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
args:
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ build:
docker compose build web

gulp:
docker compose run web python manage.py collectstatic --no-input
docker compose up gulp
docker compose run web python manage.py collectstatic --no-input
docker compose run --remove-orphans web python manage.py collectstatic --no-input
docker compose up --remove-orphans gulp
docker compose run --remove-orphans web python manage.py collectstatic --no-input

test: wait_mysql
docker compose exec -t db mysql --user=root --password=password -e "DROP DATABASE IF EXISTS test_poradnia;"
Expand Down
34 changes: 9 additions & 25 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ var fs = require('fs'),
concat = require('gulp-concat'),
livereload = require('gulp-livereload'),
cleanCSS = require('gulp-clean-css'),
prefix = require('gulp-autoprefixer'),
rename = require('gulp-rename'),
sass = require('gulp-sass')(require('sass')),
uglify = require('gulp-uglify'),
postcss = require('gulp-postcss'),
autoprefixer = require('autoprefixer'),
watch = require('gulp-watch'),
json = JSON.parse(fs.readFileSync('./package.json'));

Expand Down Expand Up @@ -35,7 +36,7 @@ var config = (function () {
include: [
path.npm,
path.npm + '/pikaday-time/scss/',
path.npm + '/bootstrap/scss/',
// path.npm + '/bootstrap/scss/',
path.staticfiles,
path.assets + '/scss/'
],
Expand Down Expand Up @@ -97,8 +98,6 @@ var config = (function () {
};
}());

console.log(config.script);

gulp.task('icons', function () {
return gulp.src(config.icons.input)
.pipe(gulp.dest(config.icons.output));
Expand All @@ -122,13 +121,11 @@ gulp.task('js', function () {

gulp.task('scss', function () {
return gulp.src(config.scss.input)
.pipe(sass(
{
style: 'expanded',
includePaths: config.scss.include
}
))
.pipe(prefix())
.pipe(sass({
style: 'expanded',
includePaths: config.scss.include
}))
.pipe(postcss([autoprefixer()]))
.pipe(concat(config.scss.output.filename))
.pipe(gulp.dest(config.scss.output.dir))
.pipe(livereload())
Expand All @@ -138,19 +135,6 @@ gulp.task('scss', function () {
.pipe(livereload());
});

// Rerun the task when a file changes
// TODO - fix watch task - it doesn't work
// gulp.task('watch', function () {
// livereload.listen();
// config.scss.watch.forEach(function (path) {
// gulp.watch(path, ['scss']);
// });
// config.script.watch.forEach(function (path) {
// gulp.watch(path, ['js']);
// });
// });

gulp.task('build', gulp.series('images','icons', 'js', 'scss'));
gulp.task('build', gulp.series('images', 'icons', 'js', 'scss'));

// gulp.task('default', gulp.series('build', 'watch'));
gulp.task('default', gulp.series('build'));
Loading
Loading