Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 23 15:42
    mworrell synchronize #2545
  • Nov 23 15:42

    mworrell on fixes-20201109

    Add controller_logon_done to re… (compare)

  • Nov 20 16:20
    mworrell synchronize #2545
  • Nov 20 16:20

    mworrell on fixes-20201109

    mod_export: default deposition … (compare)

  • Nov 20 15:23

    mworrell on 0.x

    mod_export: default disposition… (compare)

  • Nov 19 13:03
    mworrell milestoned #2548
  • Nov 19 13:03
    mworrell edited #2548
  • Nov 19 13:03

    mworrell on fix-person-export

    (compare)

  • Nov 19 13:03

    mworrell on 0.x

    core: Fix m_rsc_export for pers… (compare)

  • Nov 19 13:03
    mworrell closed #2548
  • Nov 19 13:03
    mworrell commented #2548
  • Nov 19 12:33
    robvandenbogaard labeled #2548
  • Nov 19 12:33
    robvandenbogaard labeled #2548
  • Nov 19 12:32
    robvandenbogaard opened #2548
  • Nov 19 12:29

    robvandenbogaard on fix-person-export

    core: Fix m_rsc_export for pers… (compare)

  • Nov 18 15:37
    mworrell synchronize #2545
  • Nov 18 15:37

    mworrell on fixes-20201109

    Two step login flow - with supp… (compare)

  • Nov 18 08:31
    mworrell commented #2547
  • Nov 17 15:11

    mworrell on release-0.11.x-mx-mobile

    Change ical escape of ":" (compare)

  • Nov 17 14:23
    pmonson711 commented #2547
heiheshang
@heiheshang
maybe you need to specify some variables on the page? I did the page myself, maybe I missed something
heiheshang
@heiheshang
mqtt_sessions:get_user_context(z_context:site(Context), Remote) return notfound,where to set client_id?
heiheshang
@heiheshang
new_user_context shows client_id,routing_id, but mqtt_sessions:get_user_context(z_context:site(Context), Remote) return notfound
Marc Worrell
@mworrell
I merged a fix for the routing-id, it might fix your issue.
heiheshang
@heiheshang
thanks
heiheshang
@heiheshang
what means zotonic_filehandler_compile:266 Could not find compile options, no recompile for '/opt/zotonic/_build/default/lib/zotonic_mod_sprtest/src/mod_sprtest.erl'
?
heiheshang
@heiheshang
tell me how you can turn on the json-rpc in zotonic?
Marc Worrell
@mworrell
Hi, you mean the API?
We don't have built-in support for JSON-RPC.
Looks like it could map to the MQTT topics though, looking at the syntax. Just wondering how much it would be used?
heiheshang
@heiheshang
i needed api jsonrpc
Marc Worrell
@mworrell
Where do you need it for?
Wondering if those JSON-RPC commands could just be mapped to the models (cq. model topics).
heiheshang
@heiheshang
different services access my service via jsonrpc
the model does not correspond to the standard
heiheshang
@heiheshang
i redid the controller_api
heiheshang
@heiheshang
How do you solve the problem of bulk content removal? The interface does not allow this
Marc Worrell
@mworrell
Re: JSON-RPC do you have an example of the kind of requests you do?
Re: bulk removal, would adding checkboxes to the admin lists fix that for you?
it would be cool to have a checkbox for deleting pages
Arthur Clemens
@ArthurClemens
A long time ago I wrote https://github.com/ArthurClemens/mod_bulk_commands
Not sure if it still works though.
Marc Worrell
@mworrell
Nice concepts - let's integrate that. I was thinking of a "select" modus - like you see in the iOS file interfaces.
Also maybe a pull-down with some commands per row to view/edit/delete/publish/unpublish, access to the quick edit dialog and for media download and/or open in new window.
Arthur Clemens
@ArthurClemens
It needs access validation, or provide it to admin only.
Marc Worrell
@mworrell
If something can't be deleted then we can also report that back?
Of course, if some pages are deleted then the paging is a bit off. Which might make it necessary to reload the list.
heiheshang
@heiheshang
tell me how to properly deploy my site? I wrote an ansible script, copied the site folder from the git, but the site does not appear, what should I do?
Jonathan
@steele232
Hi. I'm trying Zotonic for the first time; I've downloaded the latest release from Github (0.58.0) and I'm opting for the Docker section of the Getting Started page because I had some other difficulties trying to install. The Getting Started instructions are to run $ ./start-docker.sh but I don't see the file there so this command doesn't run. I don't see it anywhere in the directory and find start-docker.sh returns nothing. How should I try to run Zotonic in docker? What is normally in that file?
heiheshang
@heiheshang
which file do you want to see? docker run there, do you have docker composer installed?
Jonathan
@steele232
I see a docker-compose.yml file and I do have docker-compose installed. I'm only a little familiar with docker-compose but I'm pretty familiar with simple docker usage.
Jonathan
@steele232
I was able to run docker-compose up and I started getting somewhere and then it ended in an error. I'll have to try again tomorrow
heiheshang
@heiheshang
you need to set permissions on the directory, the user in the container is not the same as the user who launches docker.
Marc Worrell
@mworrell
Hi @steele232 and @heiheshang, the Docker file in the documentation refers to the "master", which we are releasing as 1.0a1 any time soon now. I have in fact a bit of trouble with that Docker file, it works splendidly (but very slow, it is Docker...) on macOS, but on Linux I run into a file permission problem.
Normally I am not using Docker. And just use kerl to switch between Erlang releases and use the local PostgreSQL on my machine.
With development on 0.x we are kind of stuck on OTP 21.3 as the newest release. This due to incompatibilities introduced in OTP 22 and having production systems on OTP < 21.
With master (1.x) we need OTP >= 22. I am using OTP 23.1 now in my development system.
heiheshang
@heiheshang
you need to create a zotonic group on the target machine and add your user to this group. Set permissions for the group. In docker, everything works for you under the zotonic user
I run all my projects in docker.
Marc Worrell
@mworrell
Just the same name for the group? Or also the same group-id and user-id as in the container?
Would be great if you can help me out on this. I was considering running the container as the local user that starts the container, or use some other tricks, that people wrote about this issue.
heiheshang
@heiheshang
group-id and user-id
user id =100 group id = 65533
Marc Worrell
@mworrell
That are the ids in the docker container?
And then you make your local user with the same ids?
heiheshang
@heiheshang
yes
heiheshang
@heiheshang
or use in docker-compose file user: "${UID}:${GID}"
UID=${UID} GID=${GID} docker-compose up
Marc Worrell
@mworrell
Ah, then the docker container is running as that user?
heiheshang
@heiheshang
container - yes, no zotonic. Scripts force user switch