Kdecherf on mass-action-tag
Add support of mass action to t… (compare)
I'm not very skilled in php. I know procedural php and not much about object php. I don't know nything about Symphony either.
Would it be hard for me to contribute considering my poor skills?
Hi there!
I have the following parsing problem and hoped that someone here has a handy XPATH-expression for this?
The articles I want to parse have custom article-trigger-element
(and similar) tags for some custom highlighting. The actual text is continued in the field "trigger-text". So, for this example,
In Köln habe ich dann das Kommunalwahlprogramm mitgeschrieben, mich als <article-trigger-element trigger-text="City-Lead" article-text="So nennt Volt den Parteivorstand auf lokaler Ebene."> </article-trigger-element> innerhalb der Partei aufstellen lassen und wurde gewählt.
the full sentence would be
"In Köln habe ich dann das Kommunalwahlprogramm mitgeschrieben, mich als City-Lead innerhalb der Partei aufstellen lassen und wurde gewählt."
How can I write a proper XPath config for this? Thanks!
Thanks @di72nn , good idea! It fails however, because these empty nodes are automatically removed before being able to replace them:
graby.DEBUG: HTML after regex empty nodes stripping
I've specified prune: no
and tidy: no
but still do not see the tags survive the first processing step ...
\n\nSQLSTATE[42S02]: Base table or view not found: 1932 Table 'wallabag.wallabag_user' doesn't exist in engine at /var/www/wallabag/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115
Undefined table: 7 ERROR: relation "entry_id_seq" does not exist LINE 1: SELECT NEXTVAL('"entry_id_seq"') ^
. Am I perhaps missing some obvious database-repair command? Does anyone have any experience with mysql -> pgsql migration for Wallabag?
I'm trying to authenticate with a website that requires two additional fields. The following naïve solutions disregards the dependence of the values:
login_extra_fields: login_ticket=@=xpath('//input[@name="login_ticket"]/@value', request_html('https://id.sueddeutsche.de/login'))
login_extra_fields: _csrf=@=xpath('//form[@id="login-form"]//input[@name="_csrf"]/@value', request_html('https://id.sueddeutsche.de/login'))
I couldn't find a configuration-based approach that allows implementing either caching the downloaded page or setting both values at once. What's the best way to go about this in your opinion?
Hey guys, I'm starting to see this error in my database logs -2021-11-13 18:52:31 6 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
The instance was running perfectly fine but recently I couldn't login with my login details.
I'm running wallabag using docker-compose on a Ubuntu 20.04 VM over Proxmox 7.
Here's the relevant details from my docker-compose -
version: '3'
services:
wallabag:
#build: https://github.com/wallabag/docker.git#2.4.2
image: wallabag/wallabag
#image: abhilesh7/wallabag-arm
container_name: wallabag_app
environment:
- MYSQL_ROOT_PASSWORD=secure-password
- SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
- SYMFONY__ENV__DATABASE_HOST=db
- SYMFONY__ENV__DATABASE_PORT=3306
- SYMFONY__ENV__DATABASE_NAME=wallabag
- SYMFONY__ENV__DATABASE_USER=wallabag
- SYMFONY__ENV__DATABASE_PASSWORD=password
- SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
- SYMFONY__ENV__MAILER_HOST=smtp.gmail.com
- SYMFONY__ENV__MAILER_USER=gmail-user
- SYMFONY__ENV__MAILER_PASSWORD=gmail-password
- SYMFONY__ENV__FROM_EMAIL=gmail-email-address
- SYMFONY__ENV__DOMAIN_NAME=https://wallabag.domain.net
- SYMFONY__ENV__SERVER_NAME="Your wallabag instance"
ports:
- 80:80
volumes:
- /opt/wallabag/images:/var/www/wallabag/web/assets/images
healthcheck:
test: ["CMD", "wget" ,"--no-verbose", "--tries=1", "--spider", "http://localhost"]
interval: 1m
timeout: 3s
depends_on:
- db
- redis
restart: unless-stopped
db:
image: mariadb
container_name: wallabag_db
environment:
- MYSQL_ROOT_PASSWORD=secure-password
volumes:
- /opt/wallabag/data:/var/lib/mysql
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 20s
timeout: 3s
restart: always
redis:
image: redis:alpine
container_name: wallabag_redis
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 20s
timeout: 3s
restart: always
Not sure why it's overriding the database login credentials specified in the docker-compose. Any pointers how to fix this
IF EXISTS
clause? See https://github.com/wallabag/wallabag/issues/5233#issuecomment-972667069
[Warning] Aborted connection 14 to db: 'unconnected' user: 'unauthenticated' host: '172.22.0.4' (This connection closed normally without authentication)
. Then the app says Provisioner finished.
. That aborted connection is most likely from the provisioner. Anyone know what the provisioner is doing?