cppcms-users Mailing List for CppCMS C++ Web Framework (Page 31)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Paolo B. <pao...@gm...> - 2015-03-27 01:56:28
|
I find praiseworthy your dedication to keep cmscpp ABI compatible and the strict policy for external deps, but it is really necessary? Is the userbase so large that doing differently would really break things like in KDE? It absolutely not meant as a critic, I am asking because I don't understand. On Wed, Mar 25, 2015 at 6:36 PM, Artyom Beilis <art...@ya...> wrote: > Regarding the internal HTTP server. > > It requires following features: > > - File serving - simple stuff - changes in internal_file_server > (a) make text only sanitizing of URLs (for next step) > (b) make symlinks resolution optional, improve the performance > (c) make it asynchronous (optional) > - Support of HTTPS - complex - mostly at booster::aio level - implement > asynchronous/synchronous ssl "socket" and integrate it into http_api.cpp > - Support HTTP/1.1 - very complex - at http_api.cpp level > (a) keep-alive > (b) chunked transfer encoding > (c) pipelining > (d) more... > - Support of Web Sockets - very complex - probably requires first to > implement HTTP/1.1 and design WebSocket API at cppcms::context() level. > > > Now... you can't really use the libraries you suggested because > > (a) internal HTTP server works withing CppCMS internal event loop and any > library should be integrated INTO the event loop rather than CppCMS would > use external HTTP library > (b) CppCMS has very strict policy on introduction of new dependencies: > http://cppcms.com/wikipp/en/page/cppcms_1x_coding_standards#Libraries > > > So basically you need to implement the HTTP stuff yourself. > > The file serving is handled by this code: > http://sourceforge.net/p/cppcms/code/HEAD/tree/framework/trunk/src/internal_file_server.cpp > > It can be significantly improved... > > Regarding SVN... so far there were too few people who wanted to contribute. > The conversion isn't easy as many automatic tools work with svn (release > stuff, nightly builds etc) > > Also you can always use git-svn. > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Marius Cirsta <mf...@gm...> > To: cpp...@li... > Sent: Tuesday, March 24, 2015 10:50 PM > > Subject: Re: [Cppcms-users] Current Develoment > > I ( and maybe others ) would like to help but I guess the entry point > is a bit too high, I certainly don't know enough about the design of > CppCMS to be able to implement a significant feature. However if > properly broken down into smaller bits I believe it's doable. > Of course this would mean different coding styles and you'd have to > review the work, make suggestions. > > Of all these new features 1. multiple event loops - should give > important performance boost and solve bottleneck there sound the most > important to me. > > While this : > 5. improve internal HTTP server so it can be used more freely and be > more efficient in file serving. > > sounds like something I'd like to work on and it would probably be > easier ( hopefully ) than the rest of the core CppCMS work. Maybe > using this Proxygen, a collection of C++ HTTP libraries, including an > easy-to-use HTTP server would be an idea ? > > I know you really like SVN but if CppCMS ever goes the multiple > developers route then something like GitHub is probably better. > > > > > > On Tue, Mar 24, 2015 at 11:48 AM, Artyom Beilis <art...@ya...> wrote: >> Ok... >> >> The reason the patch isn't in because it is API change that minor release >> should not include. >> >> But in general the version is quite stable. >> >> I have following important things I want to add to 1.2 >> >> 1. multiple event loops - should give important performance boost and >> solve >> bottleneck there >> 2. redesign mounting/generation application concept. >> 3. support of event loop access before the post data is uploaded (for >> stuff >> like upload meters) >> 4. Plugin - we have some significant improvements as it is possible to >> generate headers for templates but some more stuff is required to be fully >> useful >> 5. improve internal HTTP server so it can be used more freely and be more >> efficient in file serving. >> >> The rest of the stuff there >> >> http://cppcms.com/wikipp/en/page/cppcms_1x_tasks#CppCMS.1.1.0.-.Next.Release >> can really wait. >> >> Now I can postpone some of the stuff to 1.4 but that means that these >> features would be postponed even more. >> >> Also multiple event loops is important but I can postpone it to 1.4. >> 2-3 are very important changes and very connected I really want them in >> 1.2 >> but they also can wait >> I think that 4 and 5 are smaller and very important to get them to 1.2... >> also they aren't "big" features. But requested ones. >> >> To implement 2 and 3 and to some degree 1 I need to redesign entire >> mounting/application factory concept. >> >> (a) factory for per-event-loop fir async-apps >> (b) mounting option for pre-POST processing application handling. >> (c) change application "generation" point from event loop to the thread >> pool >> such that there would be no more applications than threads (it is current >> design issue that should be fixed) >> >> So.... >> >> Community: YOUR OPINION NEEDED... >> >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ________________________________ >> From: Christian Gmeiner <chr...@gm...> >> To: Artyom Beilis <art...@ya...>; >> cpp...@li... >> Sent: Tuesday, March 24, 2015 10:10 AM >> Subject: Re: [Cppcms-users] Current Develoment >> >> Hi >> >> 2015-03-18 9:11 GMT+01:00 Artyom Beilis <art...@ya...>: >>> I'd say like it is said in Debian... when it is ready. >>> >> >> That is really no problem for me. I like this attitude to finish stuff >> before they hit >> productive use. >> >>> Other than that CppCMS is fully supported and active also you don't see >>> too >>> much commits. >>> >> >> Some years ago - yes sounds brutal - I added a patch which got added >> to cppcms (trunk only). >> So I got you to merge a patch, which is great, but there is no >> released version of cppcms with >> this patch in, which is bad. >> >> http://sourceforge.net/p/cppcms/patches/13/ >> >> Thats what makes me feel bad about cppcms. I think it would a good >> thing to release more often >> with less features. Maybe also fixing compiler warnings would be cool. >> I can look into it, but >> it is not as easy as with other FOSS projects to get patches accepted >> and into an released version. >> >> >> >> >>> Artyom Beilis >>> -------------- >>> CppCMS - C++ Web Framework: http://cppcms.com/ >>> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >>> >>> ________________________________ >>> From: Christian Gmeiner <chr...@gm...> >>> To: cpp...@li... >>> Sent: Tuesday, March 17, 2015 6:40 PM >>> Subject: [Cppcms-users] Current Develoment >>> >>> Hi all. >>> >>> cppcms is currently quite silent regarding its development and I am not >>> sure >>> if >>> that is good. Does anybody knows about plans for the next release? >>> >> >> greets >> -- >> Christian Gmeiner, MSc >> >> https://soundcloud.com/christian-gmeiner >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2015-03-25 09:39:12
|
Regarding the internal HTTP server. It requires following features: - File serving - simple stuff - changes in internal_file_server (a) make text only sanitizing of URLs (for next step) (b) make symlinks resolution optional, improve the performance (c) make it asynchronous (optional)- Support of HTTPS - complex - mostly at booster::aio level - implement asynchronous/synchronous ssl "socket" and integrate it into http_api.cpp - Support HTTP/1.1 - very complex - at http_api.cpp level (a) keep-alive (b) chunked transfer encoding (c) pipelining (d) more...- Support of Web Sockets - very complex - probably requires first to implement HTTP/1.1 and design WebSocket API at cppcms::context() level. Now... you can't really use the libraries you suggested because (a) internal HTTP server works withing CppCMS internal event loop and any library should be integrated INTO the event loop rather than CppCMS would use external HTTP library(b) CppCMS has very strict policy on introduction of new dependencies: http://cppcms.com/wikipp/en/page/cppcms_1x_coding_standards#Libraries So basically you need to implement the HTTP stuff yourself. The file serving is handled by this code: http://sourceforge.net/p/cppcms/code/HEAD/tree/framework/trunk/src/internal_file_server.cpp It can be significantly improved... Regarding SVN... so far there were too few people who wanted to contribute.The conversion isn't easy as many automatic tools work with svn (release stuff, nightly builds etc) Also you can always use git-svn. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: Marius Cirsta <mf...@gm...> To: cpp...@li... Sent: Tuesday, March 24, 2015 10:50 PM Subject: Re: [Cppcms-users] Current Develoment I ( and maybe others ) would like to help but I guess the entry point is a bit too high, I certainly don't know enough about the design of CppCMS to be able to implement a significant feature. However if properly broken down into smaller bits I believe it's doable. Of course this would mean different coding styles and you'd have to review the work, make suggestions. Of all these new features 1. multiple event loops - should give important performance boost and solve bottleneck there sound the most important to me. While this : 5. improve internal HTTP server so it can be used more freely and be more efficient in file serving. sounds like something I'd like to work on and it would probably be easier ( hopefully ) than the rest of the core CppCMS work. Maybe using this Proxygen, a collection of C++ HTTP libraries, including an easy-to-use HTTP server would be an idea ? I know you really like SVN but if CppCMS ever goes the multiple developers route then something like GitHub is probably better. On Tue, Mar 24, 2015 at 11:48 AM, Artyom Beilis <art...@ya...> wrote: > Ok... > > The reason the patch isn't in because it is API change that minor release > should not include. > > But in general the version is quite stable. > > I have following important things I want to add to 1.2 > > 1. multiple event loops - should give important performance boost and solve > bottleneck there > 2. redesign mounting/generation application concept. > 3. support of event loop access before the post data is uploaded (for stuff > like upload meters) > 4. Plugin - we have some significant improvements as it is possible to > generate headers for templates but some more stuff is required to be fully > useful > 5. improve internal HTTP server so it can be used more freely and be more > efficient in file serving. > > The rest of the stuff there > http://cppcms.com/wikipp/en/page/cppcms_1x_tasks#CppCMS.1.1.0.-.Next.Release > can really wait. > > Now I can postpone some of the stuff to 1.4 but that means that these > features would be postponed even more. > > Also multiple event loops is important but I can postpone it to 1.4. > 2-3 are very important changes and very connected I really want them in 1.2 > but they also can wait > I think that 4 and 5 are smaller and very important to get them to 1.2... > also they aren't "big" features. But requested ones. > > To implement 2 and 3 and to some degree 1 I need to redesign entire > mounting/application factory concept. > > (a) factory for per-event-loop fir async-apps > (b) mounting option for pre-POST processing application handling. > (c) change application "generation" point from event loop to the thread pool > such that there would be no more applications than threads (it is current > design issue that should be fixed) > > So.... > > Community: YOUR OPINION NEEDED... > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Christian Gmeiner <chr...@gm...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Sent: Tuesday, March 24, 2015 10:10 AM > Subject: Re: [Cppcms-users] Current Develoment > > Hi > > 2015-03-18 9:11 GMT+01:00 Artyom Beilis <art...@ya...>: >> I'd say like it is said in Debian... when it is ready. >> > > That is really no problem for me. I like this attitude to finish stuff > before they hit > productive use. > >> Other than that CppCMS is fully supported and active also you don't see >> too >> much commits. >> > > Some years ago - yes sounds brutal - I added a patch which got added > to cppcms (trunk only). > So I got you to merge a patch, which is great, but there is no > released version of cppcms with > this patch in, which is bad. > > http://sourceforge.net/p/cppcms/patches/13/ > > Thats what makes me feel bad about cppcms. I think it would a good > thing to release more often > with less features. Maybe also fixing compiler warnings would be cool. > I can look into it, but > it is not as easy as with other FOSS projects to get patches accepted > and into an released version. > > > > >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ________________________________ >> From: Christian Gmeiner <chr...@gm...> >> To: cpp...@li... >> Sent: Tuesday, March 17, 2015 6:40 PM >> Subject: [Cppcms-users] Current Develoment >> >> Hi all. >> >> cppcms is currently quite silent regarding its development and I am not >> sure >> if >> that is good. Does anybody knows about plans for the next release? >> > > greets > -- > Christian Gmeiner, MSc > > https://soundcloud.com/christian-gmeiner > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Marius C. <mf...@gm...> - 2015-03-24 20:50:24
|
I ( and maybe others ) would like to help but I guess the entry point is a bit too high, I certainly don't know enough about the design of CppCMS to be able to implement a significant feature. However if properly broken down into smaller bits I believe it's doable. Of course this would mean different coding styles and you'd have to review the work, make suggestions. Of all these new features 1. multiple event loops - should give important performance boost and solve bottleneck there sound the most important to me. While this : 5. improve internal HTTP server so it can be used more freely and be more efficient in file serving. sounds like something I'd like to work on and it would probably be easier ( hopefully ) than the rest of the core CppCMS work. Maybe using this Proxygen, a collection of C++ HTTP libraries, including an easy-to-use HTTP server would be an idea ? I know you really like SVN but if CppCMS ever goes the multiple developers route then something like GitHub is probably better. On Tue, Mar 24, 2015 at 11:48 AM, Artyom Beilis <art...@ya...> wrote: > Ok... > > The reason the patch isn't in because it is API change that minor release > should not include. > > But in general the version is quite stable. > > I have following important things I want to add to 1.2 > > 1. multiple event loops - should give important performance boost and solve > bottleneck there > 2. redesign mounting/generation application concept. > 3. support of event loop access before the post data is uploaded (for stuff > like upload meters) > 4. Plugin - we have some significant improvements as it is possible to > generate headers for templates but some more stuff is required to be fully > useful > 5. improve internal HTTP server so it can be used more freely and be more > efficient in file serving. > > The rest of the stuff there > http://cppcms.com/wikipp/en/page/cppcms_1x_tasks#CppCMS.1.1.0.-.Next.Release > can really wait. > > Now I can postpone some of the stuff to 1.4 but that means that these > features would be postponed even more. > > Also multiple event loops is important but I can postpone it to 1.4. > 2-3 are very important changes and very connected I really want them in 1.2 > but they also can wait > I think that 4 and 5 are smaller and very important to get them to 1.2... > also they aren't "big" features. But requested ones. > > To implement 2 and 3 and to some degree 1 I need to redesign entire > mounting/application factory concept. > > (a) factory for per-event-loop fir async-apps > (b) mounting option for pre-POST processing application handling. > (c) change application "generation" point from event loop to the thread pool > such that there would be no more applications than threads (it is current > design issue that should be fixed) > > So.... > > Community: YOUR OPINION NEEDED... > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Christian Gmeiner <chr...@gm...> > To: Artyom Beilis <art...@ya...>; cpp...@li... > Sent: Tuesday, March 24, 2015 10:10 AM > Subject: Re: [Cppcms-users] Current Develoment > > Hi > > 2015-03-18 9:11 GMT+01:00 Artyom Beilis <art...@ya...>: >> I'd say like it is said in Debian... when it is ready. >> > > That is really no problem for me. I like this attitude to finish stuff > before they hit > productive use. > >> Other than that CppCMS is fully supported and active also you don't see >> too >> much commits. >> > > Some years ago - yes sounds brutal - I added a patch which got added > to cppcms (trunk only). > So I got you to merge a patch, which is great, but there is no > released version of cppcms with > this patch in, which is bad. > > http://sourceforge.net/p/cppcms/patches/13/ > > Thats what makes me feel bad about cppcms. I think it would a good > thing to release more often > with less features. Maybe also fixing compiler warnings would be cool. > I can look into it, but > it is not as easy as with other FOSS projects to get patches accepted > and into an released version. > > > > >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ________________________________ >> From: Christian Gmeiner <chr...@gm...> >> To: cpp...@li... >> Sent: Tuesday, March 17, 2015 6:40 PM >> Subject: [Cppcms-users] Current Develoment >> >> Hi all. >> >> cppcms is currently quite silent regarding its development and I am not >> sure >> if >> that is good. Does anybody knows about plans for the next release? >> > > greets > -- > Christian Gmeiner, MSc > > https://soundcloud.com/christian-gmeiner > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom B. <art...@ya...> - 2015-03-24 09:51:39
|
Ok... The reason the patch isn't in because it is API change that minor release should not include. But in general the version is quite stable. I have following important things I want to add to 1.2 1. multiple event loops - should give important performance boost and solve bottleneck there2. redesign mounting/generation application concept.3. support of event loop access before the post data is uploaded (for stuff like upload meters)4. Plugin - we have some significant improvements as it is possible to generate headers for templates but some more stuff is required to be fully useful5. improve internal HTTP server so it can be used more freely and be more efficient in file serving. The rest of the stuff there http://cppcms.com/wikipp/en/page/cppcms_1x_tasks#CppCMS.1.1.0.-.Next.Releasecan really wait. Now I can postpone some of the stuff to 1.4 but that means that these features would be postponed even more. Also multiple event loops is important but I can postpone it to 1.4. 2-3 are very important changes and very connected I really want them in 1.2 but they also can waitI think that 4 and 5 are smaller and very important to get them to 1.2... also they aren't "big" features. But requested ones. To implement 2 and 3 and to some degree 1 I need to redesign entire mounting/application factory concept. (a) factory for per-event-loop fir async-apps(b) mounting option for pre-POST processing application handling.(c) change application "generation" point from event loop to the thread pool such that there would be no more applications than threads (it is current design issue that should be fixed) So.... Community: YOUR OPINION NEEDED... Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: Christian Gmeiner <chr...@gm...> To: Artyom Beilis <art...@ya...>; cpp...@li... Sent: Tuesday, March 24, 2015 10:10 AM Subject: Re: [Cppcms-users] Current Develoment Hi 2015-03-18 9:11 GMT+01:00 Artyom Beilis <art...@ya...>: > I'd say like it is said in Debian... when it is ready. > That is really no problem for me. I like this attitude to finish stuff before they hit productive use. > Other than that CppCMS is fully supported and active also you don't see too > much commits. > Some years ago - yes sounds brutal - I added a patch which got added to cppcms (trunk only). So I got you to merge a patch, which is great, but there is no released version of cppcms with this patch in, which is bad. http://sourceforge.net/p/cppcms/patches/13/ Thats what makes me feel bad about cppcms. I think it would a good thing to release more often with less features. Maybe also fixing compiler warnings would be cool. I can look into it, but it is not as easy as with other FOSS projects to get patches accepted and into an released version. > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Christian Gmeiner <chr...@gm...> > To: cpp...@li... > Sent: Tuesday, March 17, 2015 6:40 PM > Subject: [Cppcms-users] Current Develoment > > Hi all. > > cppcms is currently quite silent regarding its development and I am not sure > if > that is good. Does anybody knows about plans for the next release? > greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Christian G. <chr...@gm...> - 2015-03-24 08:10:44
|
Hi 2015-03-18 9:11 GMT+01:00 Artyom Beilis <art...@ya...>: > I'd say like it is said in Debian... when it is ready. > That is really no problem for me. I like this attitude to finish stuff before they hit productive use. > Other than that CppCMS is fully supported and active also you don't see too > much commits. > Some years ago - yes sounds brutal - I added a patch which got added to cppcms (trunk only). So I got you to merge a patch, which is great, but there is no released version of cppcms with this patch in, which is bad. http://sourceforge.net/p/cppcms/patches/13/ Thats what makes me feel bad about cppcms. I think it would a good thing to release more often with less features. Maybe also fixing compiler warnings would be cool. I can look into it, but it is not as easy as with other FOSS projects to get patches accepted and into an released version. > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Christian Gmeiner <chr...@gm...> > To: cpp...@li... > Sent: Tuesday, March 17, 2015 6:40 PM > Subject: [Cppcms-users] Current Develoment > > Hi all. > > cppcms is currently quite silent regarding its development and I am not sure > if > that is good. Does anybody knows about plans for the next release? > greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner |
From: Paolo B. <pao...@gm...> - 2015-03-20 14:55:09
|
After playing around with cppblog I am trying wikipp, and I have a question. To change the title, I have to change the source of the application? In particular the line 110 of options.cpp ? The code seems to check a variable called local.title, but I could not find a way to set it up. It is possible to change it elsewhere? At least in the view templates? |
From: Paolo B. <pao...@gm...> - 2015-03-19 19:00:14
|
Dear list, I finally got a working cppblog in my virtual machine, using lighttpd instead of nginxd it was actually a nice experience instead of frustrating. Nice job. I was wondering, is there an easy way to upload media to refer to in the posts? As a little note, I noticed there are some typos in the administration section, in the cppblog_0.1.0/views/admin/master.tmpl file there is the words "protal" and "available". Yours faithfully, Paolo [1] http://cppcms.com/wikipp/en/page/contrib |
From: tuq3 <tu...@ya...> - 2015-03-19 14:40:41
|
Why there is a mapper? dispatcher().assign("/blog/(\\d++)/?", &myapp::post, this, 1); mapper().assign("post", "/blog/{1}");// without this line all working fine -------------------------- I just successfully setup cppcms on raspbian wheezy with some packages from jessie distr. This is a great web framework, despite the fact that I've already used php/yii and python/dJango. |
From: Paolo B. <pao...@gm...> - 2015-03-19 13:23:03
|
Nope, but it was exactly what I was missing. Thank you... On Thu, Mar 19, 2015 at 8:17 AM, Artyom Beilis <art...@ya...> wrote: > Have you read this: > http://cppcms.com/wikipp/en/page/run_application_web_server_root > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Paolo Bolzoni <pao...@gm...> > To: cpp...@li... > Sent: Wednesday, March 18, 2015 11:00 PM > Subject: [Cppcms-users] lighttpd and cppblog, works in /blog, but not in > root > > Dear list, > > I am probably missing the obvious, but I managed to setup the blog if > I set it up in /blog, but not if I set it up in the root. > > I enclosed the cppblog and lighttpd.conf files to this email, and they work. > But if I change the /blog with empty strings elinks only show an empty > page... > > Yours faithfully, > Paolo > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Marius C. <mf...@gm...> - 2015-03-19 11:54:09
|
Yeah I hate that too... I've tried to get gmail to not do this but my attempts so far have been futile. Artyom if there's something you can do about this it would be nice. On Wed, Mar 18, 2015 at 7:34 PM, Paolo Bolzoni <pao...@gm...> wrote: > Beilis, most of your messages go in the gmail spam folder with the error: > > "It has a from address in yahoo.com but has failed yahoo.com's > required tests for authentication." > > Perhaps is a problem in your side? > > > On Wed, Mar 18, 2015 at 9:11 AM, Artyom Beilis <art...@ya...> wrote: >> I'd say like it is said in Debian... when it is ready. >> >> Other than that CppCMS is fully supported and active also you don't see too >> much commits. >> >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ________________________________ >> From: Christian Gmeiner <chr...@gm...> >> To: cpp...@li... >> Sent: Tuesday, March 17, 2015 6:40 PM >> Subject: [Cppcms-users] Current Develoment >> >> Hi all. >> >> cppcms is currently quite silent regarding its development and I am not sure >> if >> that is good. Does anybody knows about plans for the next release? >> >> greets >> -- >> Christian Gmeiner, MSc >> >> https://soundcloud.com/christian-gmeiner >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Artyom B. <art...@ya...> - 2015-03-19 07:20:52
|
Have you read this: http://cppcms.com/wikipp/en/page/run_application_web_server_root Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: Paolo Bolzoni <pao...@gm...> To: cpp...@li... Sent: Wednesday, March 18, 2015 11:00 PM Subject: [Cppcms-users] lighttpd and cppblog, works in /blog, but not in root Dear list, I am probably missing the obvious, but I managed to setup the blog if I set it up in /blog, but not if I set it up in the root. I enclosed the cppblog and lighttpd.conf files to this email, and they work. But if I change the /blog with empty strings elinks only show an empty page... Yours faithfully, Paolo ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Paolo B. <pao...@gm...> - 2015-03-18 21:00:57
|
Dear list, I am probably missing the obvious, but I managed to setup the blog if I set it up in /blog, but not if I set it up in the root. I enclosed the cppblog and lighttpd.conf files to this email, and they work. But if I change the /blog with empty strings elinks only show an empty page... Yours faithfully, Paolo |
From: Paolo B. <pao...@gm...> - 2015-03-18 17:34:56
|
Beilis, most of your messages go in the gmail spam folder with the error: "It has a from address in yahoo.com but has failed yahoo.com's required tests for authentication." Perhaps is a problem in your side? On Wed, Mar 18, 2015 at 9:11 AM, Artyom Beilis <art...@ya...> wrote: > I'd say like it is said in Debian... when it is ready. > > Other than that CppCMS is fully supported and active also you don't see too > much commits. > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ________________________________ > From: Christian Gmeiner <chr...@gm...> > To: cpp...@li... > Sent: Tuesday, March 17, 2015 6:40 PM > Subject: [Cppcms-users] Current Develoment > > Hi all. > > cppcms is currently quite silent regarding its development and I am not sure > if > that is good. Does anybody knows about plans for the next release? > > greets > -- > Christian Gmeiner, MSc > > https://soundcloud.com/christian-gmeiner > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: tuq3 <tu...@ya...> - 2015-03-18 10:37:12
|
18.03.2015 16:21, Artyom Beilis пишет: > Have you created session? > > (i.e. is your session isn't empty - you defined some value at cppcms > session level) > > Because CSRF does not have sense if nobody "logged in". > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------------------------------------------------ > *From:* tuq3 <tu...@ya...> > *To:* Artyom Beilis <art...@ya...>; > cpp...@li... > *Sent:* Wednesday, March 18, 2015 12:17 PM > *Subject:* Re: [Cppcms-users] Blank value within csrf field > > 18.03.2015 14:10, Artyom Beilis пишет: >> >> >> http://cppcms.com/wikipp/en/page/cppcms_1x_config#security.csrf >> >> You need to enable it. >> >> Unfortunately it isn't on by default for backward compatibility. >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ------------------------------------------------------------------------ >> *From:* tuq3 <tu...@ya...> <mailto:tu...@ya...> >> *To:* cpp...@li... >> <mailto:cpp...@li...> >> *Sent:* Tuesday, March 17, 2015 1:53 PM >> *Subject:* [Cppcms-users] Blank value within csrf field >> >> Hi everyone! >> First of I put <%= csrf =%> into <from></form> and while >> loading page >> with this form i get error: >> cppcms, error: Caught exception [Session storage backend is >> not loaded]. >> I managed it by adding "session" preferences into config.js, >> but now I >> get a blank value within csrf hidden field after loading a page. >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel >> Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is >> your hub for all >> things parallel software development, from weekly thought >> leadership blogs to >> news, videos, case studies, tutorials and more. Take a look >> and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> <mailto:Cpp...@li...> >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now.http://goparallel.sourceforge.net/ >> >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... <mailto:Cpp...@li...> >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > Hmm, I set this option. But the field is still empty. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel > Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your > hub for all > things parallel software development, from weekly thought > leadership blogs to > news, videos, case studies, tutorials and more. Take a look and > join the > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > <mailto:Cpp...@li...> > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users I got it. Thank you! |
From: Artyom B. <art...@ya...> - 2015-03-18 10:24:17
|
Have you created session? (i.e. is your session isn't empty - you defined some value at cppcms session level) Because CSRF does not have sense if nobody "logged in". Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: tuq3 <tu...@ya...> To: Artyom Beilis <art...@ya...>; cpp...@li... Sent: Wednesday, March 18, 2015 12:17 PM Subject: Re: [Cppcms-users] Blank value within csrf field 18.03.2015 14:10, Artyom Beilis пишет: http://cppcms.com/wikipp/en/page/cppcms_1x_config#security.csrf You need to enable it. Unfortunately it isn't on by default for backward compatibility. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: tuq3 <tu...@ya...> To: cpp...@li... Sent: Tuesday, March 17, 2015 1:53 PM Subject: [Cppcms-users] Blank value within csrf field Hi everyone! First of I put <%= csrf =%> into <from></form> and while loading page with this form i get error: cppcms, error: Caught exception [Session storage backend is not loaded]. I managed it by adding "session" preferences into config.js, but now I get a blank value within csrf hidden field after loading a page. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users Hmm, I set this option. But the field is still empty. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: tuq3 <tu...@ya...> - 2015-03-18 10:17:24
|
18.03.2015 14:10, Artyom Beilis пишет: > http://cppcms.com/wikipp/en/page/cppcms_1x_config#security.csrf > > You need to enable it. > > Unfortunately it isn't on by default for backward compatibility. > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------------------------------------------------ > *From:* tuq3 <tu...@ya...> > *To:* cpp...@li... > *Sent:* Tuesday, March 17, 2015 1:53 PM > *Subject:* [Cppcms-users] Blank value within csrf field > > Hi everyone! > First of I put <%= csrf =%> into <from></form> and while loading page > with this form i get error: > cppcms, error: Caught exception [Session storage backend is not > loaded]. > I managed it by adding "session" preferences into config.js, but > now I > get a blank value within csrf hidden field after loading a page. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel > Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your > hub for all > things parallel software development, from weekly thought > leadership blogs to > news, videos, case studies, tutorials and more. Take a look and > join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > <mailto:Cpp...@li...> > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users Hmm, I set this option. But the field is still empty. |
From: Artyom B. <art...@ya...> - 2015-03-18 08:14:49
|
I'd say like it is said in Debian... when it is ready. Other than that CppCMS is fully supported and active also you don't see too much commits. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: Christian Gmeiner <chr...@gm...> To: cpp...@li... Sent: Tuesday, March 17, 2015 6:40 PM Subject: [Cppcms-users] Current Develoment Hi all. cppcms is currently quite silent regarding its development and I am not sure if that is good. Does anybody knows about plans for the next release? greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Artyom B. <art...@ya...> - 2015-03-18 08:13:39
|
http://cppcms.com/wikipp/en/page/cppcms_1x_config#security.csrf You need to enable it. Unfortunately it isn't on by default for backward compatibility. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: tuq3 <tu...@ya...> To: cpp...@li... Sent: Tuesday, March 17, 2015 1:53 PM Subject: [Cppcms-users] Blank value within csrf field Hi everyone! First of I put <%= csrf =%> into <from></form> and while loading page with this form i get error: cppcms, error: Caught exception [Session storage backend is not loaded]. I managed it by adding "session" preferences into config.js, but now I get a blank value within csrf hidden field after loading a page. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Christian G. <chr...@gm...> - 2015-03-17 16:40:38
|
Hi all. cppcms is currently quite silent regarding its development and I am not sure if that is good. Does anybody knows about plans for the next release? greets -- Christian Gmeiner, MSc https://soundcloud.com/christian-gmeiner |
From: tuq3 <tu...@ya...> - 2015-03-17 11:53:53
|
Hi everyone! First of I put <%= csrf =%> into <from></form> and while loading page with this form i get error: cppcms, error: Caught exception [Session storage backend is not loaded]. I managed it by adding "session" preferences into config.js, but now I get a blank value within csrf hidden field after loading a page. |
From: Paolo B. <pao...@gm...> - 2015-03-16 15:01:39
|
The problem is if I type: $ sudo -u http cppblog -c config.js & and start nginx is works fine. If I start it via systemd using the .service file *without* user it starts fine, but as root. If I start it with the user setting it crashes. Probably systemd does something strange to change the user. Oh, well. I'll try again later with Artyom suggestion. Or I'll simply move to lighttpd... On Mon, Mar 16, 2015 at 1:46 PM, Marius Cirsta <mf...@gm...> wrote: > Turns our you're right, my apologies ... One question though, when > did you get that error ? Was it when booting or did you just start the > service manually ? > I also assume you made sure all previous instances were dead ? That > could also be an issue. > > On Mon, Mar 16, 2015 at 1:59 PM, Paolo Bolzoni > <pao...@gm...> wrote: >> The documentation states "Nginx supports only FastCGI protocol with >> external application start." >> And this is what I wanted to do with systemd, ensure that before nginx >> is executed cppblog also is. >> >> On Mon, Mar 16, 2015 at 12:48 PM, Marius Cirsta <mf...@gm...> wrote: >>> Yes, you are wrong. Cppcms is an application only when it runs using >>> the internal web server. This is however only recommended for >>> debugging right now. You could also use the internal sever if you >>> really, really need it on an embedded device which has too little >>> memory but otherwise cppcms is just a library that nginx will call >>> just as it calls other extensions like php ( you don't need to start >>> php, do you ). >>> >>> This is my understanding of things I've read in the official docs >>> which I really recommend reading a bit, they will help clear up some >>> things. >>> >>> >>> On Mon, Mar 16, 2015 at 1:39 PM, Paolo Bolzoni >>> <pao...@gm...> wrote: >>>> I am using nginx, but I need to start the cppcms application >>>> separately. Am I wrong? >>>> >>>> On Mon, Mar 16, 2015 at 10:48 AM, Marcel Hellwig <ke...@co...> wrote: >>>>> I suppose you are trying to use a port below 1024, because that are root >>>>> only ports. Try to use an other port. >>>>> >>>>> Btw: why don't you use nginx as http server and fast_cgi as recommended >>>>> by [0]? >>>>> >>>>> Greetings, >>>>> Marcel >>>>> >>>>> [0] http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>>>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>>>> things parallel software development, from weekly thought leadership blogs to >>>>> news, videos, case studies, tutorials and more. Take a look and join the >>>>> conversation now. http://goparallel.sourceforge.net/ >>>>> _______________________________________________ >>>>> Cppcms-users mailing list >>>>> Cpp...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>>> things parallel software development, from weekly thought leadership blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Marius C. <mf...@gm...> - 2015-03-16 12:46:27
|
Turns our you're right, my apologies ... One question though, when did you get that error ? Was it when booting or did you just start the service manually ? I also assume you made sure all previous instances were dead ? That could also be an issue. On Mon, Mar 16, 2015 at 1:59 PM, Paolo Bolzoni <pao...@gm...> wrote: > The documentation states "Nginx supports only FastCGI protocol with > external application start." > And this is what I wanted to do with systemd, ensure that before nginx > is executed cppblog also is. > > On Mon, Mar 16, 2015 at 12:48 PM, Marius Cirsta <mf...@gm...> wrote: >> Yes, you are wrong. Cppcms is an application only when it runs using >> the internal web server. This is however only recommended for >> debugging right now. You could also use the internal sever if you >> really, really need it on an embedded device which has too little >> memory but otherwise cppcms is just a library that nginx will call >> just as it calls other extensions like php ( you don't need to start >> php, do you ). >> >> This is my understanding of things I've read in the official docs >> which I really recommend reading a bit, they will help clear up some >> things. >> >> >> On Mon, Mar 16, 2015 at 1:39 PM, Paolo Bolzoni >> <pao...@gm...> wrote: >>> I am using nginx, but I need to start the cppcms application >>> separately. Am I wrong? >>> >>> On Mon, Mar 16, 2015 at 10:48 AM, Marcel Hellwig <ke...@co...> wrote: >>>> I suppose you are trying to use a port below 1024, because that are root >>>> only ports. Try to use an other port. >>>> >>>> Btw: why don't you use nginx as http server and fast_cgi as recommended >>>> by [0]? >>>> >>>> Greetings, >>>> Marcel >>>> >>>> [0] http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>>> things parallel software development, from weekly thought leadership blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Paolo B. <pao...@gm...> - 2015-03-16 11:59:56
|
The documentation states "Nginx supports only FastCGI protocol with external application start." And this is what I wanted to do with systemd, ensure that before nginx is executed cppblog also is. On Mon, Mar 16, 2015 at 12:48 PM, Marius Cirsta <mf...@gm...> wrote: > Yes, you are wrong. Cppcms is an application only when it runs using > the internal web server. This is however only recommended for > debugging right now. You could also use the internal sever if you > really, really need it on an embedded device which has too little > memory but otherwise cppcms is just a library that nginx will call > just as it calls other extensions like php ( you don't need to start > php, do you ). > > This is my understanding of things I've read in the official docs > which I really recommend reading a bit, they will help clear up some > things. > > > On Mon, Mar 16, 2015 at 1:39 PM, Paolo Bolzoni > <pao...@gm...> wrote: >> I am using nginx, but I need to start the cppcms application >> separately. Am I wrong? >> >> On Mon, Mar 16, 2015 at 10:48 AM, Marcel Hellwig <ke...@co...> wrote: >>> I suppose you are trying to use a port below 1024, because that are root >>> only ports. Try to use an other port. >>> >>> Btw: why don't you use nginx as http server and fast_cgi as recommended >>> by [0]? >>> >>> Greetings, >>> Marcel >>> >>> [0] http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Marius C. <mf...@gm...> - 2015-03-16 11:49:02
|
Yes, you are wrong. Cppcms is an application only when it runs using the internal web server. This is however only recommended for debugging right now. You could also use the internal sever if you really, really need it on an embedded device which has too little memory but otherwise cppcms is just a library that nginx will call just as it calls other extensions like php ( you don't need to start php, do you ). This is my understanding of things I've read in the official docs which I really recommend reading a bit, they will help clear up some things. On Mon, Mar 16, 2015 at 1:39 PM, Paolo Bolzoni <pao...@gm...> wrote: > I am using nginx, but I need to start the cppcms application > separately. Am I wrong? > > On Mon, Mar 16, 2015 at 10:48 AM, Marcel Hellwig <ke...@co...> wrote: >> I suppose you are trying to use a port below 1024, because that are root >> only ports. Try to use an other port. >> >> Btw: why don't you use nginx as http server and fast_cgi as recommended >> by [0]? >> >> Greetings, >> Marcel >> >> [0] http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Tolga H. <fas...@gm...> - 2015-03-16 11:48:19
|
What is your configuration lines about fcgi port? Does http have permissions for /var/blog and such? Do you execute via su command in /var/blog? On Mon, Mar 16, 2015, 13:40 Paolo Bolzoni <pao...@gm...> wrote: > I am using nginx, but I need to start the cppcms application > separately. Am I wrong? > > On Mon, Mar 16, 2015 at 10:48 AM, Marcel Hellwig <ke...@co...> > wrote: > > I suppose you are trying to use a port below 1024, because that are root > > only ports. Try to use an other port. > > > > Btw: why don't you use nginx as http server and fast_cgi as recommended > > by [0]? > > > > Greetings, > > Marcel > > > > [0] http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config > > > > > > ------------------------------------------------------------ > ------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------ > ------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |