Jump to content

Beluga

Members
  • Posts

    528
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Beluga

  1. For email notification and admin activation see this conversation.
  2. I guess you could play with FrontendContentManager. I haven't tested it yet myself and pwFoo didn't test it with repeaters yet
  3. Interesting to see one of the new reactive JS thingies being used (Vue.js) I guess you could write a bit about how you decided to pick Vue.js and how it was to get into and work with.
  4. A Bugzilla clone created using PW would be nice Then there could be a true quality assurance team with permissions to manipulate report metadata & status. I guess the advanced search and getting it to work fast with complex queries would be the most work. Could be way better than Bugzilla, though, if PW selectors could be used to construct queries.
  5. Foundation 6 for sites will have a release candidate out next month.
  6. Geez.. I was afraid of that A dedicated issue tracker like Bugzilla or Phabricator would be the most powerful, but would require maintainers and admins.
  7. Can a QA team be created with the power to change issue status? With LibreOffice QA, there is the practice of setting a bug report with lacking reproduction steps or lacking information to NEEDINFO. After 7 months of no response, it will be closed as INVALID.
  8. Yep, I thought I worded that a little unclearly. I didn't mean to express an opinion that drafts should be a core module Re: team forming in open source projects - it does seem to often require years of history and dedication from power users. If we look at LibreOffice, it forked from a company-governed project to a foundation-governed one. There is a lot of paperwork involved in running the foundation and the president is mostly preoccupied with that stuff from what I know. The foundation had been chugging along for 4 years before I joined the QA team. I don't have a clear picture about the historical amount of effort in organizing the teams, only that it was very easy for me to walk in and start contributing. I also slid into helping the design & infra teams and before I knew it I was the official Etherpad guy Important elements in getting remote team members to work efficiently are effective web-based collaboration tools.
  9. The ideal situation would be that client/consultation work would largely go towards the core. The pro modules make it seem like the model of not selling intellectual property is not fully trusted or that it is used as a marketing gimmick. Open source as a business model can, of course, be tricky to nail. Sometimes, though, even pre-alpha projects get enough consultancy work to keep an entire team busy. These days I tend to think that in open source projects, the community itself can be seen as money, an energy source - tapped or left untapped. If PW had a different governance model, we could have self-organized marketing, infra & design teams and Ryan wouldn't have to lift a finger to fulfill those duties. Open source can have a weird effect on people. In a way, I have paid tens of thousands of euros to LibreOffice in the past year (ctrl-f my nick). That would buy a lot of pro modules.
  10. Some new goodies: http://datatables.net/blog/2015-08-13
  11. What seems to be the problem? I have another application like you described and there is no problem.
  12. It seems it is still under development, as no updates have appeared after these posts: https://processwire.com/blog/posts/processwire-2.5.6-updates-drafts-progress/#drafts-for-published-pages-now-in-development https://processwire.com/blog/posts/processwire-2.5.7-core-updates/
  13. Chris's article is about potential problems arising from the use of future syntax with the help of transpilers and preprocessors like Babel and PostCSS. It's not like one has to use cssnext, when starting to use PostCSS. I have never used it myself. I know how the CSS spec process goes and decided I wasn't interested in learning a moving target syntax. I have, however, used plugins to get Sass-like useful functionality: simple vars, mixins, nested.
  14. That is talking about cssnext and Babel, though, not PostCSS, so not really to the point regarding this topic
  15. Yes, I've used it (as a "consumer"). I have mentioned this in a thread about grid systems before: https://github.com/corysimmons/lost Here is a recent article introducing the system: http://davidtheclark.com/its-time-for-everyone-to-learn-about-postcss/
  16. Bah! I mixed this with the other EMO module! This is what I've been using all the time, without any problems with render: https://github.com/BlowbackDesign/emo https://processwire.com/talk/topic/2916-email-obfuscation-emo/ Andreas: did you try it?
  17. I think you are talking about a different issue than joey102030 as you are using PageTable. My complete code: $kuvaus = ''; $tapahtumat = $pages->find("template=tapahtuma, sort=paivamaara"); foreach($tapahtumat as $tapahtuma) { $kuvaus .= $tapahtuma->render(); }
  18. Well I do echo it in the end, but do you yourself do it somehow differently?? $kuvaus .= $tapahtuma->render(); echo $kuvaus;
  19. I'm using this method in a site and the email addresses do get de-obfuscated.
  20. In defense of MediaWiki, it seems that they are dragging their codebase kicking & screaming, laughing & giggling into the present. Their most recent release included API cleanup: "A large amount of time was spent cleaning up the API, making the output saner, and friendlier for new developers to use". They do have a minimum req. of PHP 5.3.3, so way ahead of WP . They want to switch to 5.5 minimum soon. They now use Composer for external deps. The latest beta has initial HHVM support and they are putting a lot of effort on performance improvements. Edit (to add some stuff without spamming this topic too much): they are also looking to improve the development experience in general, not only for MW core devs. So API polishing and documentation will be a long-term commitment. PHP 5.5 minimum is completely reasonable. OVH Hosting will discontinue PHP 5.3 support in September.
  21. Yes, all problems solved except depression and embarrassment after failing to notice the existing code snippet. I think it should be added to the documentation examples as it's such a common use-case.
  22. Ah, I had never tried that module translation method.. Languages - Select file does work fine. $fullname = wire('fu')->form->fhValue("fullname"); YES! That solved it! But why did it not accept $field->fullname, when it is added to the fields array with $fields = array('username', 'email', 'password', 'fullname'); I tried both $fu->register(); and $fu->register(array('username', 'email', 'password', 'fullname')); It made no difference. So how could I do this without hacking the .module file? I have to somehow add the function fullnameRegister or recreate its functionality and execution. I have no idea how to do this and it will probably take me 1-2 hours to figure it out (which is why I went with the straight hacking method initially). Edit: the easiest way would be to simply: $fu->fullnameRegister = function() { and add my function there, in my register.php. But the class is not built to accept adding new functions to itself. Then if I try to add a hook to buildForm, I get "Method FrontendUser::buildForm is not hookable" Edit2: damn, I managed to spend 1-2 hours today on this, plus maybe 3-4 hours yesterday and only now do I realize pwFoo already supplied the answer in May!
  23. I read the documentation & examples carefully before deciding I have to modify the module. Besides, I wanted to modify the module in any case, because I wanted to translate the labels etc. to Finnish.. I do have the fullname field in the user template, which is the reason I would like the users to be able to populate it already on registering. This is the best I could do to debug: I changed the function process: if ($result === true) { var_dump($this->userObj); //$this->session->redirect($redirect, false); // User sucessfully registered } Then I could see that the fullname is empty: ["data"]=> array(10) { ["email"]=> string(16) "dkjdfaa@dfds.com" ["pass"]=> object(Password)#305 (0) { } ["fullname"]=> string(0) "" ["roles"]=> object(PageArray)#306 (6) The fieldtype for fullname is text, matching what is in fullnameRegister.. How can I debug further to see where it fails to save the input?
×
×
  • Create New...