Re: [Zotonic-Dev] Re: Missing ACL module in Zotonic on git master

2016-07-10 Thread Marc Worrell
And same for depending on and providing 'acl', which makes ACL modules interchangeable. Sent from my iPhone > On 10 jul. 2016, at 11:36, Marc Worrell <mworr...@mac.com> wrote: > > Mod_authentication is very valid, and will remain so. It provides the > authentication f

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 <mworr...@me.com> wrote: > > That is a good question. > > I see that right now we can’t have an optional parameter to change the > template. >

Re: [Zotonic-Dev] in tpl get search_result?

2016-10-05 Thread Marc Worrell
Hi, You can directly loop through the search result using a {% for %} loop. If you want to have the current list of values from your search result “result” use: {% print result.result %} You can get the following properties from a m_search_result record: search

Re: [Zotonic-Dev] how to understand what kind of error?

2016-09-29 Thread Marc Worrell
Do you have a module that includes zotonic.hrl and zotonic_notifications.hrl? - Marc > On 29 Sep 2016, at 03:14, heiheshang wrote: > > zotonic| include/zotonic_notifications.hrl:654: record manage_data > already defined > zotonic| make: *** [compile]

Re: [Zotonic-Dev] Re: I do not understand what's the problem?

2016-09-28 Thread Marc Worrell
I assume this is a problem with the number of Erlang SMP schedulers, not with the cores. Probably with a single core there is only a single scheduler. Though, if I remember correctly, there is an option to set more schedulers. Could the image (or our startup scripts?) be changed so that Erlang

Re: [Zotonic-Dev] nginx proxy server over ssl wss

2016-11-07 Thread Marc Worrell
I am not sure, maybe some others can tune in? We normally terminate SSL connections with Zotonic/Erlang. - Marc > On 07 Nov 2016, at 14:47, heiheshang wrote: > > if I use SSL, the z_ws = new WebSocket (protocol + "//" + z_websocket_host + > "/ websocket"); It

Re: [Zotonic-Dev] how to activate the unit if there is no access to the console?

2016-11-08 Thread Marc Worrell
Hi, What do you mean with “the unit” ? I assume you also mean the Erlang console? - Marc > On 07 Nov 2016, at 04:52, heiheshang wrote: > > how to activate the unit if there is no access to the console? > > -- > > --- > You received this message because you

Re: [Zotonic-Dev] how to use mqtt?

2016-11-07 Thread Marc Worrell
I see a “:” in the javascript code, that should be a “.” (as in pubzub.subscribe(…) ). - Marc > On 02 Nov 2016, at 14:57, heiheshang wrote: > > I saw the documentation, I can not repeat the work. > > z_mqtt:publish(<<"~pagesession/ticket/t">>,[],Context). >

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-25 Thread Marc Worrell
Quick reply, as I am away from my keyboard. MQTT messages are ACL checked by topic. You can check mod_mqtt for an example observer. If you just want to publish from Erlang, then you can use z_acl:sudo/1 on the Context. This switches off ACL checks. - Marc Sent from my iPhone > On 26 Nov

Re: [Zotonic-Dev] backup does not work

2016-11-22 Thread Marc Worrell
eacces means access denied on some file. Looking at the code it is in this case that the backup directory is not writeable. The backup directory is at “files/backup” inside your site directory. Please check if that directory is writeable, The whole files directory and everything in it should be

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread Marc Worrell
> On 30 Nov 2016, at 16:52, heiheshang wrote: > > observe_acl_is_allowed(#acl_is_allowed{action=publish, > object=#acl_mqtt{words=[<<"~site">>,<<"flight">>| _Rest]}}, Context) > -> > true; > observe_acl_is_allowed(#acl_is_allowed{action=subscribe, >

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread Marc Worrell
2016 г., 23:37:13 UTC+9 пользователь Marc Worrell написал: > Check the “words” that pass here, shorthands like “~site” will already be > expanded here. > > In your case you can match on: [<<“site”>>, _Site, <<“flight”>> | _] > > But returning t

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread Marc Worrell
ning. The priority of the module is 10. > in other modules? DEBUG does not work, do not understand why is not called > -export([observe_acl_is_allowed/2]). > > четверг, 1 декабря 2016 г., 1:18:32 UTC+9 пользователь Marc Worrell написал: > The function is exported? > > Mayb

Re: [Zotonic-Dev] Forcing z_language

2016-12-06 Thread Marc Worrell
Hi Antoine, What you are trying will work in the master (1.0-dev). In the master the z_language variable is handled in a special way. In the 0.x you can set the language in the request handler or for template expressions like: {{ _”Hello” with z_language = `de` }} (Note the

Re: [Zotonic-Dev] how to set the right user to send messages ?

2016-11-30 Thread Marc Worrell
TC+9 пользователь heiheshang написал: > Yes I can change the context, but not anyone can get this message, only now > the administrator can > > суббота, 26 ноября 2016 г., 16:35:59 UTC+9 пользователь Marc Worrell написал: > Quick reply, as I am away from my keyboard. >

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

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

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.

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

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

2017-07-28 Thread Marc Worrell
gt; > понедельник, 10 июля 2017 г., 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. > >

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?

Re: [Zotonic-Dev] Using Elixir to Develop

2017-10-10 Thread Marc Worrell
gt;> authentication, 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. >> >> Ch

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 -- ---

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-29 Thread Marc Worrell
> > Sent from my non-google-device > > On Sep 29, 2017, at 02:51, Marc Worrell <mworr...@me.com > <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.

Re: [Zotonic-Dev] Using Elixir to Develop

2017-09-29 Thread Marc Worrell
there quite regularly. And maybe Arjan is watching along between his busy times. - Marc > On Fri, Sep 29, 2017 at 4:13 PM Marc Worrell <mworr...@me.com > <mailto:mworr...@me.com>> wrote: >> On 29 Sep 2017, at 10:11, Allen Wyma <allen.w...@gmail.com >> <mailto:a

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 <j...@cogini.com> wrote: > > On Fri, Sep 29, 2017 at 08:12:53AM +0000, Marc Worrell wrote: >> Thinking of it… we do use a lot of records

Re: [Zotonic-Dev] Using Elixir to Develop

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

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.

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

Re: [Zotonic-Dev] Running Zotonic without Postgres

2018-03-16 Thread Marc Worrell
ood to decouple it? > > 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

Re: [Zotonic-Dev] Zotonic upside down.

2018-04-06 Thread Marc Worrell
> Not familiar with hex 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

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 <kirill.sys...@gmail.com> wrote: > > Marc, > > What about this part? > https://github.com/zotonic/cowmachine/pull/5 > > Regards, > Kirill > > среда, 21 марта 2018 г., 1

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 <kirill.sys...@gmail.com> wrote: > > Done. > > Regards, > Kirill > > вторник, 20 марта 2018 г., 19:40:55 UTC+3 пользователь Marc Worrell написал: > Yes, please add a merge request! > &g

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: > >

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. > > T

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

2018-12-21 Thread Marc Worrell
the 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

[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] 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”

[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

[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] 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

[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

[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

[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

Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread '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

Re: [Zotonic-Dev] eqc in zotonic ?

2018-08-21 Thread '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 ex

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

2018-08-22 Thread '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

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

2018-08-22 Thread '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] zotonic CI deployment best practice for 2019

2019-01-14 Thread '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] zotonic CI deployment best practice for 2019

2019-01-15 Thread 'Marc Worrell' via Zotonic developers
; 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 > > > > -Original Messag

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

2019-02-21 Thread '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] Make fails after installing zotonic on ubuntu 16.04.5

2019-03-06 Thread '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

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

2019-03-08 Thread '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-21 Thread '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] erl_child_setup closed

2019-02-12 Thread '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

Re: [Zotonic-Dev] erl_child_setup closed

2019-02-13 Thread '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-13 Thread '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

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

2019-02-06 Thread '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

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

2019-02-01 Thread '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

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

2019-01-31 Thread '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: > -

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

2019-01-31 Thread '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] Get SSL Lets encrypt working on Zotonic

2019-04-11 Thread '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

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

2019-04-12 Thread '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 '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 module? >

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

2019-04-11 Thread 'Marc Worrell' via Zotonic developers
e 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 Apr 2019 a

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

2019-09-09 Thread '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:

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

2019-11-25 Thread '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] installing zotonic on Freebsd jail

2019-11-27 Thread 'Marc Worrell' via Zotonic developers
se 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 ZOTONIC_IP env

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

2019-11-25 Thread '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] Zotonic 0.57.0 - ssl Inssuficient Security - no_suitable_cipher error

2020-05-15 Thread 'Marc Worrell' via Zotonic developers
gt; -- > Á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 search gave me this: > > https://bugs.erl

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

2020-05-18 Thread 'Marc Worrell' via Zotonic developers
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 Alvaro, > > Cou

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

2020-05-19 Thread 'Marc Worrell' via Zotonic developers
> 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 mai. de 2020

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

2020-05-12 Thread '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, >

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

2020-03-19 Thread '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] 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

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

Re: [Zotonic-Dev] Content Blocks

2024-01-14 Thread 'Marc Worrell' via Zotonic developers
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:14:

Re: [Zotonic-Dev] Content Blocks

2024-01-15 Thread 'Marc Worrell' via Zotonic developers
n 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 use: >&

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

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

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-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

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

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] 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

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

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

Re: [Zotonic-Dev] mod_payment(_stripe)

2024-04-23 Thread 'Marc Worrell' via Zotonic developers
ess 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! &g