Re: [Zotonic-Dev] SSL

2024-04-23 Thread 'Marc Worrell' via Zotonic developers
We are using the library: https://github.com/zotonic/zotonic_ssl For the SSL certificate inspection. Could you file an issue there? If you want to use Let’s Encrypt with Zotonic 1.x (master), then you can also just enable mod_ssl_letsencrypt. It will handle requesting certificates and also exte

Re: [Zotonic-Dev] mod_payment(_stripe)

2024-04-23 Thread 'Marc Worrell' via Zotonic developers
access to downloadable content and/or > certain pages. Will do some testing and see if mod_payment will do the trick. > > Will follow-up if further help is needed. > > Thanks again, > Seann > > On Friday, April 19, 2024 at 6:36:01 AM UTC-6 Marc Worrell wrote: >> Hi! >

Re: [Zotonic-Dev] mod_payment(_stripe)

2024-04-19 Thread 'Marc Worrell' via Zotonic developers
Hi! Indeed paysub is in active development at the moment. And it is geared for paid subscriptions. The mod_payment (and friends) is more for one-off payments and simple recurring payments. I think Driebit is using it - at least the 0.x version of the module(s). As they are moving sites over to t

Re: [Zotonic-Dev] To Proxy or not to Proxy...

2024-03-26 Thread 'Marc Worrell' via Zotonic developers
Hi Seann, We are generally running Zotonic directly on port 80/443 or just with firewall redirect rules. In our cloud-init file we are now using the direct approach, as Maas-Maarten found that there is a problem with the firewall-redirecting taking up too many resources and not being able to ha

Re: [Zotonic-Dev] Content Blocks

2024-01-15 Thread 'Marc Worrell' via Zotonic developers
for blk in id.blocks.name %} > {% include "blocks/_block_view_text.tpl" %} > {% endfor %} > > If there is a better way, let me know. > > Else, thanks again. Much appreciated. > On Sunday, January 14, 2024 at 3:23:27 AM UTC-7 Marc Worrell wrote: >> You can

Re: [Zotonic-Dev] Content Blocks

2024-01-14 Thread 'Marc Worrell' via Zotonic developers
display in a particular place in the HTML layout. However, I am unsure how to display a specific blk by name, rather than listing them all as the above example shows.The flexibility you built into the system is impressive, but I am still learning my way around...On Saturday, January 13, 2024 at 5:

Re: [Zotonic-Dev] Dmain Name Change

2024-01-09 Thread 'Marc Worrell' via Zotonic developers
Hi, You can just change the hostname in your config. We mostly add the old hostnames to the hostalias, so that previous domain names still redirect to the new one. No need to change databases. Don’t forget to request a new SSL certificate. Cheers, Marc > On 9 Jan 2024, at 05:11, 'Seann Aswe

Re: [Zotonic-Dev] How to start a new Zotonic based project?

2024-01-04 Thread 'Marc Worrell' via Zotonic developers
Hi, We have a init file that can be used for Hetzner instances. https://github.com/zotonic/zotonic/blob/master/cloud-init/zotonic-cloudinit.yml We have still to update it for Ubuntu 22 - currently you can do an upgrade after installation. What we often do is: - The above script - Checkout t

Re: [Zotonic-Dev] Sending emails

2023-12-05 Thread 'Marc Worrell' via Zotonic developers
Hi, In the zotonic.config there are these settings: %%% SMTP outbound relay configuration. %%% Zotonic will send email itself, enable a relay if outgoing port 25 traffic is blocked. %% {smtp_relay, false}, %% {smtp_host, "localhost"}, %% {smtp_port, 25}, %% {smtp_ssl, false}, %%

Re: [Zotonic-Dev] bin/zotonic config | grep password

2023-12-04 Thread 'Marc Worrell' via Zotonic developers
;> To get the password, I run "bin/zotonic config" | grep password". I do it >> inside the container. >> Then I get the message: >> Either the email or the password you entered is incorrect. Please try again. >> Thank you for this amazing piece of software

Re: [Zotonic-Dev] Testing mod_signup

2023-12-04 Thread 'Marc Worrell' via Zotonic developers
Hi, Any example templates we provide are very simple, so they don’t provide signup links etc. Having said that, the signup module should add a link in the login screen to signup. Cheers, Marc > On 4 Dec 2023, at 00:16, carnel yve wrote: > > I am trying the user registration module. I acti

Re: [Zotonic-Dev] bin/zotonic config | grep password

2023-12-03 Thread 'Marc Worrell' via Zotonic developers
Did you use the username wwwadmin?For sites it is admin, for the Zotonic status site it is wwwadmin.Cheers, MarcSent from my iPhoneOn 3 Dec 2023, at 13:42, carnel yve wrote:I have just installed zotonic and wanted to take it for a ride. I can't seem to get past the first screen, because the passw

Re: [Zotonic-Dev] Just some information for a novice

2023-03-21 Thread 'Marc Worrell' via Zotonic developers
Hi Carlo, Welcome! > On 21 Mar 2023, at 06:55, Carlo Ascani wrote: > > Greetings, > > I would like to explore alternative to Elixir/Phoenix and Python/Django to > develop CRUD admin interfaces. > > My goal is to: > - Render a data table which displays all the records of a specific Resource

[Zotonic-Dev] Looking for proof readers

2020-12-17 Thread Marc Worrell
Hi, To continu with the previous email. We are looking for proof readers of the translations. If you have interest, please e-mail us or apply at https://crowdin.com/project/zotonic We want to make Zotonic available in many languages! Cheers, Michiel, Maas-Maarten, and Marc -- --- You re

[Zotonic-Dev] Moving translations to Crowdin

2020-12-17 Thread Marc Worrell
Hi, We are in the process of moving our translations to Crowdin. This enables easier management of the translation work. The “zotonic.pot” file from Zotonic master will be automatically synchronized to Crowdin. In Crowdin we can then translate and proofread translations. After translation Crow

[Zotonic-Dev] Zotonic Release 0.58.0

2020-11-09 Thread Marc Worrell
Hi, We have released Zotonic version 0.58.0. This is a maintenance release. Main changes are: • {% image %} tags now have a width and height attribute, use the nowh option to suppress generation of the width and height attributes • Fix for a problem where an ACL deny rule could restrict too muc

Re: [Zotonic-Dev] Lost access to website admin panel

2020-08-31 Thread 'Marc Worrell' via Zotonic developers
Hi Rishit, Sorry for that email - something went wrong there. You can find the passwords for the admin users in two different files. Is it a 0.x version? For now I assume it is. The admin password for the zotonic status site can be found in: ~/.zotonic/0/zotonic.config The admin pass

[Zotonic-Dev] Supported OTP versions

2020-06-27 Thread Marc Worrell
Hi, Tomorrow we will merge the fixes for OTP23 into master. This will remove support for OTP20 and earlier form the master (1.0-dev) version. The 0.x version will stay compatible with OTP18 through OTP22. Cheers, Marc Sent from my iPhone -- --- You received this message because you ar

[Zotonic-Dev] Supported OTP versions

2020-06-26 Thread Marc Worrell
Hi, With the advent of OTP-23 there are some changes in the support of NIF functions. This affected bcrypt, which we use for password encryption. We have released a new version of bcrypt that works on OTP-23. The new version is using APIs that are available since OTP-21. Consequence is that if

[Zotonic-Dev] Zotonic version 0.57.1 released

2020-05-19 Thread Marc Worrell
Hi, We have released Zotonic version 0.57.1 This includes: * fix for https and OTP-22, all should work well with OTP-22 now * a method to temporarily disable surveys Full release notes and more information here: https://github.com/zotonic/zotonic/releases/tag/0.57.1

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-18 Thread 'Marc Worrell' via Zotonic developers
uck. > > My rebar version is the same as yours. > > There are some compilation warnings, how is the policy for erlang version x > zotonic version? > > Cheers, > > -- > Álvaro Gianni Pagliari > alvaropag [at] gmail [dot] com > > > Em seg., 18 de ma

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-18 Thread 'Marc Worrell' via Zotonic developers
t through kerl. > > Cheers, > > -- > Álvaro Gianni Pagliari > alvaropag [at] gmail [dot] com > > > Em sex., 15 de mai. de 2020 às 12:39, 'Marc Worrell' via Zotonic developers > <mailto:zotonic-developers@googlegroups.com>> escreveu: > Hi Al

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-15 Thread &#x27;Marc Worrell' via Zotonic developers
, hehe). > > Cheers! > > -- > Álvaro Gianni Pagliari > alvaropag [at] gmail [dot] com > > > Em ter., 12 de mai. de 2020 às 15:13, 'Marc Worrell' via Zotonic developers > <mailto:zotonic-developers@googlegroups.com>> escreveu: > A quick sea

[Zotonic-Dev] Breaking change

2020-05-15 Thread Marc Worrell
Hi, I am merging some changes into the master. There is one breaking change, but that will make some things a bit simpler. Check your templates for: {% for cat, _true in m.rsc[id].is_a %} (or “in id.is_a”) And change it into: {% for cat in m.rsc[id].is_a %} (So no “, _true”

Re: [Zotonic-Dev] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-12 Thread &#x27;Marc Worrell' via Zotonic developers
A quick search gave me this: https://bugs.erlang.org/plugins/servlet/mobile#issue/ERL-826 Is your server up to date with the ciphers? Tomorrow I can check my local install against OTP-22. Cheers, Marc Sent from my iPhone > On 12 May 2020, at 19:35, Alvaro Pagliari wrote: > >  > Hello, >

[Zotonic-Dev] Binary rsc/medium keys and maps are merged

2020-04-26 Thread Marc Worrell
Hi, Just to warn you all that in master we have merged the change to binary keys in the m_get of models. Now m_rsc:get/2 and m_media:get/2 return a map with binary keys. In z_props we have routines to convert property lists and form posts to maps. We are nearing the 1.0.0a1 release. Cheers,

[Zotonic-Dev] Big change in master

2020-04-23 Thread Marc Worrell
Hi, Big change coming - one of the last breaking changes before the first 1.0.0a1 release We are changing the format of the rsc and medium records to binaries and maps. This makes it possible to insert random keys into those records, without having them mapped to atom and thus exhausting the ato

Re: [Zotonic-Dev] stdint.h not found on first compile under FreeBSD

2020-03-19 Thread &#x27;Marc Worrell' via Zotonic developers
Hi Nikolas, > On 19 Mar 2020, at 12:29, Nikolas Nikou wrote: > > in zotonic you must use IPv4 and need to set the ip in the configuration > otherwise zotonic crashes. Interesting, how & where do we crash on IPv6 addresses? Maybe there is a difference between Linux and BSD here. - Marc --

Re: [Zotonic-Dev] installing zotonic on Freebsd jail

2019-11-27 Thread &#x27;Marc Worrell' via Zotonic developers
atabase for you if it doesn't > %%% already exist, and install tables in it. Uncomment the options below > %%% to prevent that. > % {dbcreate, false}, > % {dbinstall, false}, > > %%% IP address on which Zotonic will listen for HTTP requests. > %%% Always overridden by the ZOTO

Re: [Zotonic-Dev] installing zotonic on Freebsd jail

2019-11-25 Thread &#x27;Marc Worrell' via Zotonic developers
bellow the zotonic directory. > I found only one copy under docker/zotonic.config but the file has different > content and I am not using docker. > > Best > Nikolas > > > On Monday, November 25, 2019 at 10:44:11 AM UTC+1, Marc Worrell wrote: > Hi, > > Looks like t

Re: [Zotonic-Dev] installing zotonic on Freebsd jail

2019-11-25 Thread &#x27;Marc Worrell' via Zotonic developers
Hi, Looks like the ipv6 listener can’t start. > =SUPERVISOR REPORT 24-Nov-2019::18:36:42.045104 === > supervisor: {local,zotonic_sup} > errorContext: start_error > reason: eprotonosupport > offender: [{pid,undefined}, >{id,webmachine_mochiweb_v6}, >

Re: [Zotonic-Dev] Any sample example for REST API example

2019-09-09 Thread &#x27;Marc Worrell' via Zotonic developers
Hi Kulveer, The master (1.0-dev) has a new implementation for the API methods. Previously you would make a service module. This has been replaced with direct access to the models. The API calls get mapped on m_get. m_post, and m_delete. The url for a model is: https://example.com/api/m

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-12 Thread &#x27;Marc Worrell' via Zotonic developers
update that change without doing a full > re-install. > > I installed using git clone https://github.com/zotonic/zotonic.git > <https://github.com/zotonic/zotonic.git> > I could do a fresh install on another machine maybe. > > Eddie > > > > On 11

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread &#x27;Marc Worrell' via Zotonic developers
> module didn’t start > > > >> On 11 Apr 2019, at 17:42, el > <mailto:layed...@gmail.com>> wrote: >> >> Hi Marc, >> >> Yes its on the Zotonic / System / modules page. >> >> thanks >> Eddie >> >> On Thu, 11

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread &#x27;Marc Worrell' via Zotonic developers
Yes its on the Zotonic / System / modules page. > > thanks > Eddie > > On Thu, 11 Apr 2019 at 16:36, 'Marc Worrell' via Zotonic developers > <mailto:zotonic-developers@googlegroups.com>> wrote: > Hi Eddie, > > This is the Zotonic master LetsEncrypt modu

Re: [Zotonic-Dev] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread &#x27;Marc Worrell' via Zotonic developers
Hi Eddie, This is the Zotonic master LetsEncrypt module? If so, then I will need to check it, as I didn’t use it for a while. (We are working on the last bits of the MQTT/Cotonic integration) - Marc > On 11 Apr 2019, at 17:27, layed...@gmail.com wrote: > > Hi Marc, > > I am trying to get a c

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-21 Thread &#x27;Marc Worrell' via Zotonic developers
orgot to run > sudo apt-get install build-essential imagemagick postgresql > Ed > > > > >> On Friday, March 8, 2019 at 10:30:07 AM UTC, Marc Worrell wrote: >> I will try to let one of the system administrators I work with chime in. >> They might have some tips. &g

Re: [Zotonic-Dev] demo doesn't work (website)

2019-03-13 Thread &#x27;Marc Worrell' via Zotonic developers
Thanks for the heads up. I’m checking with the person who runs the demo site. We might have to move the demo site to another location. Cheers, Marc > On 13 Mar 2019, at 15:02, PVN0 wrote: > > Hi, just letting you know that the demo website (http://demo.zotonic.com/) > that is linked from h

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-08 Thread &#x27;Marc Worrell' via Zotonic developers
caleway but have decided not to use them for Zotonic. > > I will try Kerl on DigitalOceon. > > Any tips for configuring zotonic to run on a secure VPS will be welcome. > > thanks > > Eddie > vpsFree.orgvpsFree.org > vpsFree.org > On Thursday, March 7, 2019 at 11:53:

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-07 Thread &#x27;Marc Worrell' via Zotonic developers
possible to run my installation on the same hosting provider you use so > that my zotonic installation mirrors yours? > That might be one way of doing this. > > Eddie > > > > On Wednesday, March 6, 2019 at 4:20:59 PM UTC, Marc Worrell wrote: > Hi, > > I think cowboy is

Re: [Zotonic-Dev] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-06 Thread &#x27;Marc Worrell' via Zotonic developers
Hi, I think cowboy is now OTP-19+ only. Can you check with OTP-19 or 20? Cheers, Marc > On 6 Mar 2019, at 17:19, layed...@gmail.com wrote: > > Hi Marc, > > Still fumbling around trying to get a working zotonic installation > > I am using an ubuntu 16.04.5 digitaloceon droplet. > I am lo

Re: [Zotonic-Dev] Zotonic fails to startup after make and bin/zotonic debug

2019-02-21 Thread &#x27;Marc Worrell' via Zotonic developers
Hi Eddie, This error about the ‘port program’ is caused by running then beam.smp (erlang) as root user. There is an explanation here: https://github.com/aeternity/aeternity/wiki/Troubleshooting#node-wont-start-with-privileged-user

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-13 Thread &#x27;Marc Worrell' via Zotonic developers
Hi, Could it be that you are running out of memory? Seems that a Linux OOM could give such startup errors. http://erlang.2086793.n4.nabble.com/Causes-of-Slogan-erl-child-setup-closed-td4719785.html - Marc > On 13 Feb 2019, at 14:40, heiheshang wrote: > > =erl_crash_dump:0.5 > Wed Feb 13 22:1

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-13 Thread &#x27;Marc Worrell' via Zotonic developers
t; how to run zotonic with this option? > > среда, 13 февраля 2019 г., 17:21:39 UTC+9 пользователь Marc Worrell написал: > Hi, > > Can you try to start Erlang with the option: +S 4:4 > This gives you 4 schedulers. > > See if that works. > > - M > >> On 13

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-13 Thread &#x27;Marc Worrell' via Zotonic developers
Hi, Can you try to start Erlang with the option: +S 4:4 This gives you 4 schedulers. See if that works. - M > On 13 Feb 2019, at 02:52, heiheshang wrote: > > I use a virtual machine, I have only one processor > > среда, 13 февраля 2019 г., 0:08:48 UTC+9 пользователь Marc

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-12 Thread &#x27;Marc Worrell' via Zotonic developers
Hi, I see "smp:1:1” in the system version. It might help to use more threads. For example, the dev env I am right now working in says: Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:12:12] [async-threads:10] [hipe] [kernel-poll:false] Cheers, Marc > On 12 Feb 2019, at 13:38, heiheshang wro

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-02-06 Thread &#x27;Marc Worrell' via Zotonic developers
OTP-20 should be ok. As this is master, could you try: rm -rf _build rm ./rebar3 make This forces a complete rebuild and a fresh install or rebar3. I once had a problem with a version of rebar3, that was resolved by removing it. The Makefile will fetch the newest rebar3

Re: [Zotonic-Dev] Will zotonic run in alpine linux?

2019-02-06 Thread &#x27;Marc Worrell' via Zotonic developers
Hi Ed, Is there something special with Alpine? In principle Zotonic runs on any Unix-alike that supports: - Erlang - PostgreSQL - ImageMagick I guess Alpine supports those? Cheers, Marc > On 5 Feb 2019, at 16:29, layed...@gmail.com wrote: > > Just wondering if zotonic will run on Alpine

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-02-01 Thread &#x27;Marc Worrell' via Zotonic developers
In which file was it? Then I can check the master. Still strange that it does compile on Travis-CI. Which Erlang version are you using? - Marc > On 1 Feb 2019, at 02:14, heiheshang wrote: > > if replace it > -include_lib("../zotonic_fileindexer/include/zotonic_fileindexer.hrl"). > > works w

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread &#x27;Marc Worrell' via Zotonic developers
This is the tip of the master? I just tried a clean build on my machine (macOS 10.13, Erlang OTP-19 via kerl) and everything compiled. Also the Travis-CI builds work. So I am wondering what the difference could be with your setup. You are also in the “zotonic” directory when running ‘make’? -

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-31 Thread &#x27;Marc Worrell' via Zotonic developers
Seems like something is going wrong with Hex and fetching bcrypt. What you could try is to delete the ‘./rebar3’ application and let the Makefile fetch a new version. - Marc > On 31 Jan 2019, at 03:41, heiheshang wrote: > > /opt/zotonic $ make > ./rebar3 compile > Zotonic Config: > - /etc/z

Re: [Zotonic-Dev] Re: What kind of mistake I do not understand?

2019-01-30 Thread &#x27;Marc Worrell' via Zotonic developers
Erlang crashes? Which OTP version are you using? And is it a clean build (maybe it doesn’t like a beam file from another OTP version). - M > On 30 Jan 2019, at 14:31, heiheshang wrote: > > /opt/zotonic $ ./bin/zotonic debug > erl_child_setup closed > > Crash dump is being written to: erl_cr

Re: [Zotonic-Dev] What kind of mistake I do not understand?

2019-01-30 Thread &#x27;Marc Worrell' via Zotonic developers
I think this is a fresh compile and this is the master, which is now OTP. The compile option will be removed and is currently only working for incremental compiles. You can use ‘make’ to compile (which calls rebar etc) Cheers, Marc > On 30 Jan 2019, at 13:55, heiheshang wrote: > > /opt/zoto

Re: [Zotonic-Dev] zotonic CI deployment best practice for 2019

2019-01-29 Thread &#x27;Marc Worrell' via Zotonic developers
ec_app,start,[normal,[]]}} > 16:56:36.907 [info] Application erlexec exited with reason: > {{shutdown,{failed_to_start_child,exec,{bad_return_value,"Port program > /root/zotonic/_build/default/lib/erlexec/priv/x86_64-pc-linux-gnu/exec-port > with SUID bit set is not allowed to

Re: [Zotonic-Dev] zotonic CI deployment best practice for 2019

2019-01-15 Thread &#x27;Marc Worrell' via Zotonic developers
'm totally > overwhelmed with confusing and oft contradictory info. > > I'd love to create a living-document tutorial and checklist for, at least, > the simplest deployments, but wouldn't know where to start. > > Thanks again, > > Lloyd > > &g

Re: [Zotonic-Dev] zotonic CI deployment best practice for 2019

2019-01-14 Thread &#x27;Marc Worrell' via Zotonic developers
Hi Eddie and Lloyd, “It depends” is indeed the correct answer... Most Zotonic installations fall in two categories: 1. Deployment via a Docker container, which is updated before deployment 2. Deployment via git (manual or automatic) Some follow (1), I follow (2). Nice thing of (2) is that it

Re: [Zotonic-Dev] Security Advisory -- Zotonic Release 0.43

2018-12-21 Thread Marc Worrell
Full release notes and download are here: https://github.com/zotonic/zotonic/releases/tag/0.43.0 <https://github.com/zotonic/zotonic/releases/tag/0.43.0> - Marc > On 21 Dec 2018, at 14:40, Marc Worrell wrote: > > Hi, > > We have released 0.43.0. > > This incl

[Zotonic-Dev] Security Advisory -- Zotonic Release 0.43

2018-12-21 Thread Marc Worrell
Zotonic core team, Marc Worrell -- --- You received this message because you are subscribed to the Google Groups "Zotonic developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-developers+unsubscr...@googlegroups.com. For mo

Re: [Zotonic-Dev] How to correctly set the cookie when the ztonic starts?

2018-08-22 Thread &#x27;Marc Worrell' via Zotonic developers
In your home directory: ~/.erlang.cookie - Marc > On 22 Aug 2018, at 11:22, heiheshang wrote: > > no, cookie an erlang node > I want to start the debugger > > среда, 22 августа 2018 г., 17:41:03 UTC+9 пользователь Marc Worrell написал: > The session cookie? &

Re: [Zotonic-Dev] How to correctly set the cookie when the ztonic starts?

2018-08-22 Thread &#x27;Marc Worrell' via Zotonic developers
The session cookie? There is a config for that. You can change the name by adding a configuration “site.session_cookie_name”. It defaults to “z_sid”. - Marc > On 22 Aug 2018, at 04:26, heiheshang wrote: > > in which file to register the name of the cookie? > > -- > > --- > You received th

Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread &#x27;Marc Worrell' via Zotonic developers
q/webdrv <https://github.com/Quviq/webdrv> with this I > have no problems > problem to add QuickCheck,I do not know where to get it and whether it is on > github > > вторник, 21 августа 2018 г., 19:33:09 UTC+9 пользователь Marc Worrell написал: > In the 0.x you can add extra

Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread &#x27;Marc Worrell' via Zotonic developers
In the 0.x you can add extra dependencies by adding a ‘deps’ key to your zotonic config file. http://docs.zotonic.com/en/0.x/ref/configuration/zotonic-configuration.html?highlight=deps#deps Master

Re: [Zotonic-Dev] Mobile app based on Zotonic framework

2018-04-20 Thread Marc Worrell
Hi Kirill, I didn’t see Arjan or others with App experience chime in yet, so here are my 2 cents :) I think you can use any kind of client-side framework and call API methods to get your data. A choice you can make is to, either: 1. use API data and render on the client; or 2. render snippet

Re: [Zotonic-Dev] Zotonic upside down.

2018-04-06 Thread Marc Worrell
but ready to make my hands dirty :) > > Regards, > Kirill > > четверг, 5 апреля 2018 г., 11:55:22 UTC+3 пользователь Marc Worrell написал: > Hi Kirill, > > Your suggestion of being able to make Zotonic a dependency of another project > is exactly what we are doing with the ma

Re: [Zotonic-Dev] Zotonic upside down.

2018-04-05 Thread Marc Worrell
Hi Kirill, Your suggestion of being able to make Zotonic a dependency of another project is exactly what we are doing with the master. We have split Zotonic in a bunch of OTP applications (in the apps directory). These OTP applications will be pushed as separate Hex packages. This will make it

Re: [Zotonic-Dev] Zotonic returns 200 instead of 404 on "Not Found"

2018-03-26 Thread Marc Worrell
Merged! And thanks again :) - Marc > On 23 Mar 2018, at 23:41, Kirill Sysoev wrote: > > Marc, > > What about this part? > https://github.com/zotonic/cowmachine/pull/5 > > Regards, > Kirill > > среда, 21 марта 2018 г., 13:56:37 UTC+3 пользователь Marc Worr

Re: [Zotonic-Dev] Zotonic returns 200 instead of 404 on "Not Found"

2018-03-21 Thread Marc Worrell
And merged, thanks! - Marc > On 20 Mar 2018, at 18:19, Kirill Sysoev wrote: > > Done. > > Regards, > Kirill > > вторник, 20 марта 2018 г., 19:40:55 UTC+3 пользователь Marc Worrell написал: > Yes, please add a merge request! > > Thanks, Marc > > >

Re: [Zotonic-Dev] Zotonic returns 200 instead of 404 on "Not Found"

2018-03-20 Thread Marc Worrell
Yes, please add a merge request! Thanks, Marc > On 20 Mar 2018, at 17:09, Kirill Sysoev wrote: > > Hi, > > Just noticed, that while rendering "Not Found" error page Zotonic returns > code 200 > > To make a quick workaround a couple of changes needed: > > https://github.com/onnet/zotonic/co

Re: [Zotonic-Dev] Running Zotonic without Postgres

2018-03-16 Thread Marc Worrell
Regards, > Kirill > > вторник, 13 марта 2018 г., 18:35:35 UTC+3 пользователь Kirill Sysoev написал: > Thanks, Marc! > > This is exactly what I was looking for. > > Regards, > > вторник, 13 марта 2018 г., 14:46:29 UTC+3 пользователь Marc Worrell написал: > Yes. &

Re: [Zotonic-Dev] Running Zotonic without Postgres

2018-03-13 Thread Marc Worrell
Yes. You can check the zotonic_status site config: %% This site doesn't use a database connection {dbdatabase, none}, This disables the database for the given site. Be careful that a lot of modules do need database support. Cheers, Marc > On 13 Mar 2018, at 12:44, Kirill Sy

Re: [Zotonic-Dev] Ensure that an email is provided

2018-02-16 Thread Marc Worrell
> On 16 Feb 2018, at 17:17, Antoine wrote: > > What is the correct validator to force the user to enter an email ? > > presence; will not check that email is valid. > email; will accept the field to be empty. > > Using both validator, trigger an javascript warning. Use both as follows: {% val

Re: [Zotonic-Dev] Using Elixir to Develop

2017-10-10 Thread Marc Worrell
tion, JSON-LD parsing etc., there are much more likely to be >> up-to-date, well-maintained and documented Elixir packages available on >> Hex.pm than a single Erlang one. It therefore makes sense to integrate with >> the Elixir ecosystem. >> >> Cheers, >>

[Zotonic-Dev] Re: [Zotonic-Usr] IMPORTANT: Security advisory

2017-10-05 Thread Marc Worrell
:) Cheers, Marc > On 5 Oct 2017, at 21:48, Marc Worrell wrote: > > Hi, > > Erlang has builtin distribution, which is secured by a secret cookie. > There have been some discussion about the possibility of brute-forcing this > cookie. > > Looking at the cookie

[Zotonic-Dev] IMPORTANT: Security advisory

2017-10-05 Thread Marc Worrell
Hi, Erlang has builtin distribution, which is secured by a secret cookie. There have been some discussion about the possibility of brute-forcing this cookie. Looking at the cookie generation code we are the opinion that there is not enough entropy. That is why we advise strongly to use a diffe

Re: [Zotonic-Dev] Using Elixir to Develop

2017-10-02 Thread Marc Worrell
> On 2 Oct 2017, at 02:19, Jake Morrison wrote: > > Marc, > > On Fri, Sep 29, 2017 at 09:40:07AM +0000, Marc Worrell wrote: >> Can mix build rebar3 based apps? > > Mix is more or less a replacement for rebar3, so they are mutually > exclusive, though largely c

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-29 Thread Marc Worrell
generate or use some glue code to call directly into the Elixir modules from Zotonic. - M > On 29 Sep 2017, at 10:49, Jake Morrison wrote: > > On Fri, Sep 29, 2017 at 08:12:53AM +0000, Marc Worrell wrote: >> Thinking of it… we do use a lot of records for all notifications an

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-29 Thread Marc Worrell
maybe Arjan is watching along between his busy times. - Marc > On Fri, Sep 29, 2017 at 4:13 PM Marc Worrell <mailto:mworr...@me.com>> wrote: >> On 29 Sep 2017, at 10:11, Allen Wyma > <mailto:allen.w...@gmail.com>> wrote: >> >> I’m more than willing to

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-29 Thread Marc Worrell
> On 29 Sep 2017, at 10:11, Allen Wyma wrote: > > I’m more than willing to help out in exchange for some Dutch help? Language 4 > language exchange? :) LOL, quite some people in the core team are quite proficient in Dutch. So that won’t be problematic :) - M -- --- You received this mess

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-29 Thread Marc Worrell
non-google-device > > On Sep 29, 2017, at 02:51, Marc Worrell <mailto:mworr...@me.com>> wrote: > >> Hi Allen, >> >> Two weeks ago David de Boer and I had a look at how Elixir and >> Erlang could be mixed. >> >> We concluded that it all s

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-28 Thread Marc Worrell
Hi Allen, Two weeks ago David de Boer and I had a look at how Elixir and Erlang could be mixed. We concluded that it all should be possible to do with the master. But also that we didn’t know enough of Elixir to make it frictionless. So we need some help with this. The master is split in applic

Re: [Zotonic-Dev] Re: [Zotonic-Usr] Re: Big changes coming to the 1.0-dev

2017-07-28 Thread Marc Worrell
17 г., 19:51:41 UTC+9 пользователь Marc Worrell > написал: > Mikael, you are brave! :-) > > > About the _checkouts, I was thinking about using that for installing > user-defined modules/sites with the “umbrella” Zotonic app server. > > But we could also just add the use

[Zotonic-Dev] Re: [Zotonic-Usr] Re: Big changes coming to the 1.0-dev

2017-07-10 Thread Marc Worrell
apps/*", "lib/*", ".","user/sites/*"]}. > > Makes it work. The compiled app ends up under the _build directory together > with the modules, I cannot judge if this is any problem though. > > Best Regards > Mikael > > Den tisdag 4 j

[Zotonic-Dev] Big changes coming to the 1.0-dev

2017-07-04 Thread Marc Worrell
Hi, We are preparing a huge update to the 1.0-dev (aka master) branch. This update will make Zotonic compatible with Erlang OTP projects. All modules and sites become OTP applications. This BREAKS ALL existing Zotonic-master installs, so DO NOT UPGRADE! And now for some Q&A. What is changing

Re: [Zotonic-Dev] Re: Form mask on submit

2017-07-03 Thread Marc Worrell
Nobody yet. But will be solved, I have some ideas. Right now we are a bit busy with making Zotonic 1.0-dev OTP compatible. Cheers, Marc > On 02 Jul 2017, at 12:15, heiheshang wrote: > > Who solved the problem? > > понедельник, 19 июня 2017 г., 20:26:56 UTC+9 пользователь Kirill Sysoev > нап

Re: [Zotonic-Dev] Re: Form mask on submit

2017-06-20 Thread Marc Worrell
> On 20 Jun 2017, at 05:59, heiheshang wrote: > > Hi. > > I have the same problem with the mask. > > If the field is empty, no message appears, livevalidation incorrectly > processes events You mean with the ‘presence’ validation? And then the failure message? - Marc -- --- You received

Re: [Zotonic-Dev] Form mask on submit

2017-06-19 Thread Marc Worrell
ER(Context) ++ [{'target', > "sign_in_form"}] > } >,Context), > === > > If no one else experiences such a behaviour, will check locally what else > could spoil my life :) > > Thanks

Re: [Zotonic-Dev] Form mask on submit

2017-06-19 Thread Marc Worrell
I think it is a local thing. Maybe the jquery.loadmask.js is not included? - Marc > On 19 Jun 2017, at 12:47, Kirill Sysoev wrote: > > Hi List, > > Moved to master/cowmachine recently and can see that there is no automatic > form mask after form submit anymore. > > With 0.x, right after I

Re: [Zotonic-Dev] What is this error? How to fix it?

2017-05-22 Thread Marc Worrell
And, how does the request URL look like? - Marc Sent from my iPhone > On 22 May 2017, at 18:05, heiheshang wrote: > > What is this error? How to fix it? > zotonic | 2017-05-22 10:58:19.565 [error] > <0.32044.6>@cowmachine:request_1:72 stop_request 500 (reason > {function_clause,[{contro

Re: [Zotonic-Dev] What is this error? How to fix it?

2017-05-22 Thread Marc Worrell
Looks like a problem in the SVG sanitizer. Can you sends us the SVG file? Best, Marc Sent from my iPhone > On 22 May 2017, at 18:05, heiheshang wrote: > > What is this error? How to fix it? > zotonic | 2017-05-22 10:58:19.565 [error] > <0.32044.6>@cowmachine:request_1:72 stop_request 500

Re: [Zotonic-Dev] Infinite redirect. I see that the page is constantly reloading, I see such a request

2017-05-15 Thread Marc Worrell
“page_invalid” means that the page-id was not found with this session-id. It might be that there is no z_pageid set on the page. Which could well be as the page_id in the pong is set to ‘undefined’. Can you check that? This could be the result of some javascript errors. Try to break on the ‘ping

Re: [Zotonic-Dev] authbind ?

2017-04-26 Thread Marc Worrell
Is there a difference between authbind in a container and on a “real” system? - Marc > On 24 Apr 2017, at 17:49, heiheshang wrote: > > How to use authbind if i start zotonik in docker container? > > -- > > --- > You received this message because you are subscribed to the Google Groups > "

Re: [Zotonic-Dev] Re: Zotonic on Cloud 9

2017-04-10 Thread Marc Worrell
Cool :-) So they terminate SSL for you. Makes sense with that proxy thing of theirs. - Marc > On 07 Apr 2017, at 20:52, Milan Kosir wrote: > > It works :) > > Got reply from c9 support: > https://community.c9.io/t/there-was-an-error-proxying-the-request-please-help/15131/2 > > Got this nice

Re: [Zotonic-Dev] Re: Zotonic on Cloud 9

2017-04-07 Thread Marc Worrell
Looking at their forum it seems that c9.io is quite unresponsive indeed. And with this kind of vague errors they are not really helping… I am not completely sure what the advantage of c9 is. But if you like to try a VPS then you could also checkout Scaleway. They start at €2.99 / month. https://

Re: [Zotonic-Dev] Re: Zotonic on Cloud 9

2017-04-06 Thread Marc Worrell
Curious which headers are counted as invalid … - M > On 06 Apr 2017, at 16:52, Milan Kosir wrote: > > Ok, thanks, I posted on c9 help forum: > https://community.c9.io/t/there-was-an-error-proxying-the-request-please-help/15131 > > BR, Milan > > -- > > --- > You received this message beca

Re: [Zotonic-Dev] Re: Zotonic on Cloud 9

2017-04-06 Thread Marc Worrell
I guess for this you need the log of the proxy. - M > On 06 Apr 2017, at 16:36, Milan Kosir wrote: > > yes I know, but this is all I got from webpage. > where can I get log? zotonic console doesn't say nothing... > > 14:19:35.416 [info] zotonic:147 Web server listening on IPv4 any:8081, SSL

Re: [Zotonic-Dev] Re: Zotonic on Cloud 9

2017-04-06 Thread Marc Worrell
That is not very helpful :-) Any log files? - Marc > On 06 Apr 2017, at 16:25, Milan Kosir wrote: > > error_content: > > The request could not be proxied because some headers contained invalid data. > > -- > > --- > You received this message because you are subscribed to the Google Group

Re: [Zotonic-Dev] Re: Zotonic on Cloud 9

2017-04-06 Thread Marc Worrell
You can change the default ports in the config files in ~/.zotonic/ Make sure you change the http, ssl and smtp ports. (smtp defaults to 2525) - Marc > On 06 Apr 2017, at 13:37, Milan Kosir wrote: > > I installed zotonic on c9.io, but there is still a problem, because c9 ports > which I ca

Re: [Zotonic-Dev] [Postgres] Running out of number for auto-increment primary key

2017-03-01 Thread Marc Worrell
Saw it, thanks! - Marc > On 01 Mar 2017, at 03:51, David Tran wrote: > > Github issue is submitted at #1623 > <https://github.com/zotonic/zotonic/issues/1623>. > > Regards, > David > > On Tuesday, February 28, 2017 at 4:37:29 PM UTC+7, Marc Worrell wrote:

Re: [Zotonic-Dev] [Postgres] Running out of number for auto-increment primary key

2017-02-28 Thread Marc Worrell
Good question. The initial datamodel we are working with is from 2009. Back then there were quite some 32 bit machines, now replaced with 64 bits. For all core modules it is quite straightforward to replace int with bigint. It needs some work on other, external, modules. But that could be done bi

Re: [Zotonic-Dev] scomp pager ?

2017-02-27 Thread Marc Worrell
On master I now added an extra “template” argument to the pager scomp. - Marc > On 27 Feb 2017, at 10:01, Marc Worrell wrote: > > That is a good question. > > I see that right now we can’t have an optional parameter to change the > template. > > What you could

  1   2   >