Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 18:21
    j0k3r closed #4609
  • 18:21
    j0k3r commented #4609
  • 09:58
    wallabag-bot labeled #5878
  • 09:58
    wallabag-bot opened #5878
  • 08:59
    wallabag-bot opened #5877
  • 08:59
    wallabag-bot labeled #5877
  • 07:52
    helmut72 commented #5450
  • Jun 29 13:49
    Kdecherf edited #5838
  • Jun 29 13:49
    Kdecherf synchronize #5838
  • Jun 29 13:49

    Kdecherf on mass-action-tag

    Add support of mass action to t… (compare)

  • Jun 29 13:41
    j0k3r commented #5838
  • Jun 29 13:37

    j0k3r on 2.6.0

    Bump eslint from 8.17.0 to 8.18… Bump stylelint-config-standard … Bump @babel/core from 7.18.2 to… and 12 more (compare)

  • Jun 29 13:35
    j0k3r closed #2952
  • Jun 29 13:35
    j0k3r milestoned #2952
  • Jun 29 13:35

    j0k3r on 2.6.0

    Added tag deletion from tags li… Fixed cs Tag delete style action updated and 2 more (compare)

  • Jun 29 13:35

    j0k3r on feat-2952-delete-tag

    (compare)

  • Jun 29 13:35
    j0k3r closed #5861
  • Jun 29 13:35
    j0k3r edited #5861
  • Jun 29 10:56

    bourvill on main

    New beta build (compare)

  • Jun 29 00:50
    ckykenken commented #384
kdecherf
@kdecherf:matrix.org
[m]
:D
itresearch
@mg64ve
Ok thanks @nicosomb:matrix.org . @kdecherf:matrix.org could you please give me an overview of your solution and some hints on how to implement. Please notice I am more confident with python than php. Are you using wallabag API ? (if they exist, I am not sure)
kdecherf
@kdecherf:matrix.org
[m]
there's no option to upload content through the API at that time, I was forced to edit several projects at once to add this ability. It's not upstream yet.
You will need to change the ContentProxy on wallabag, the main entrypoint of Graby to bypass the http fetcher and so on
I'll try to put my hacky and dirty patch somewhere for others to see it
itresearch
@mg64ve
do you mean this involves PHP hacking of wallabag code @kdecherf:matrix.org ? Does wallabag now have API that allow to do this in another way?
kdecherf
@kdecherf:matrix.org
[m]
yes, it implies to change code on wallabag, no there is no api available to do that
itresearch
@mg64ve
that's a pity @kdecherf:matrix.org . Are API in the wallabag development roadmap?
kdecherf
@kdecherf:matrix.org
[m]
a lot of things are in the backlog, there's low rate of contributions unfortunately
itresearch
@mg64ve
ok thanks @kdecherf:matrix.org
itresearch
@mg64ve
and what is this @kdecherf:matrix.org : https://app.wallabag.it/api/ ?
kdecherf
@kdecherf:matrix.org
[m]
@mg64ve I said that there is an API on wallabag but there is no option nor endpoint to upload actuel content
Dmitriy Bogdanov
@di72nn
@mg64ve @kdecherf:matrix.org it's possible to add articles with custom content and title using the POST /api/entries endpoint.
itresearch
@mg64ve
Thanks @di72nn ! Is it possible to offline batch upload existing .html files with images cached in the local disk to a remote wallabag instance?
kdecherf
@kdecherf:matrix.org
[m]
@di72nn: well, indeed, I forgot that, however this endpoint will save the content as-is, bypassing graby extraction
Dmitriy Bogdanov
@di72nn
@mg64ve you can batch it on the client side, but I don't think there is any easy way to upload local images. I think it should be possible to replace image URLs in the HTML and upload images via other ways (ssh or whatever)
@kdecherf:matrix.org yeah, the applicability depends on use cases 🤷‍♂️
taha
@taha:matrix.org
[m]
I successfully migrated a Wallabag 2.3.8 MySQL database to another Wallabag 2.3.8 PostgreSQL instance using pgloader. All users and their articles can be accessed from the new PostgreSQL-backed Wallabag instance. It's also possible to edit existing article titles, and to delete articles. But, attempting to add new articles leads to "error 500". Ditto if I try to create tags. The specific error message is 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?
kartoffelsalat
@kartoffelsalat:tchncs.de
[m]
Does wallabag support client-side javascript rendering (vuejs) to at least some extent?
kdecherf
@kdecherf:matrix.org
[m]
kartoffelsalat: no, there is no javascript rendering done when wallabag fetches articles, and js tags are removed from the output content
(if you're talking about fetching articles)
kartoffelsalat
@kartoffelsalat:tchncs.de
[m]
yes, I'm talking about fetching articles. thanks! (although I wanted to hear that there is an option for that, nevermind).
kdecherf
@kdecherf:matrix.org
[m]
btw you could have a tool that fetch a page using a headless browser and send the complete html to wallabag through the api
kartoffelsalat
@kartoffelsalat:tchncs.de
[m]
ok? that sound's a bit complicated..?
kdecherf
@kdecherf:matrix.org
[m]
probably
lh
@lh:hrdl.eu
[m]

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?

amammad
@amammad
Hey Wallabag team
I hope all for all of you to be good and nice these days ...
Abhilesh Dhawanjewar
@abhilesh

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

Abhilesh Dhawanjewar
@abhilesh
I also changed the volume mounts to ./wallabag-image such that the directory can be chowned but still the same error
relejek
@relejek:matrix.org
[m]
Hey all. Where can I find a list of public wallabag hosted servers?
kdecherf
@kdecherf:matrix.org
[m]
Hello relejek,, unfortunately there is no such list
nicosomb
@nicosomb:matrix.org
[m]
nicofrand
@nicofrand:matrix.nicofrand.eu
[m]
Hi! The migration from 2.3.8 is failing for several users due to a DROP FOREIGN KEY failing (not existing)
Could someone tell if editing a migration is OK, to add a IF EXISTS clause? See https://github.com/wallabag/wallabag/issues/5233#issuecomment-972667069
月季花中的星辰
@starsareintherose
Hello, when I upload files, it always show 500: Internal Server Error
Unable to write in the "/usr/share/webapps/wallabag/web/uploads/import" directory.
but actually I run nginx and php-fpm as root and make /usr/share/webapps/wallabag and /var/lib/wallabag belong to root.
月季花中的星辰
@starsareintherose
drwxr-xr-x 3 root 4096 Jul 25 16:17 .
drwxr-xr-x 8 root 4096 Nov 28 15:41 ..
drwxr-xr-x 2 root 4096 Nov 28 15:41 import
Adam Monsen
@meonkeys
I self-host wallabag with docker-compose. When the app container starts, the db (mariadb) says: [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?
kdecherf
@kdecherf:matrix.org
[m]
@meonkeys: the docker image starts an Ansible playbook at launch for provisioning things like the user
Adam Monsen
@meonkeys
Ah, got it, from entrypoint.sh. Ok
Adam Monsen
@meonkeys
hmm, which task is making that connection, though? Maybe wait for db container? https://github.com/wallabag/docker/blob/master/root/etc/ansible/entrypoint.yml#L75
ah yeah, that must be it.
Nick Loscalzo
@GreenTentacle_twitter
Im having a heck of a time getting wallabag to talk to my self-hosted instance from my Onyx Boox Note Air 2 -- works fine from web, iphone, ipad
I keep getting the "check URL" message -- tried everything I could think of:
  • checked via network capture that its actually hitting the right IP (it is)
  • turned off 2FA
  • tried all sorts of permutations of the URL
any clues about why id keep getting the "wallabag service not found -- check URL" message ? havent found anything really useful in googling
Dmitriy Bogdanov
@di72nn
@GreenTentacle_twitter Docker? Check this comment: https://github.com/wallabag/android-app/issues/997#issuecomment-641100325
The Doctor
@virtadpt
@GreenTentacle_twitter Do you mean that you're having trouble connecting to a self-hosted Wallabag instance?
perdellian
@perdellian:matrix.org
[m]
trying to export all my articles, but PHP seems to be complaining that it has run out of memory
is there a relatively easy way break the export down into smaller chunks to avoid this problem?
I'm dealing with just over 2100 entries