Re: [Koha-devel] [Koha::Object] Related records and calling methods from templates

2016-09-15 Thread David Cook
I'm not entirely sure what you mean in the first paragraph, so I don't have much to add there. Personally, I like having access to objects in the templates. In terms of CRUD, it seems to make writing interfaces much easier and cleaner. I suppose you could say that more code ends up in the

[Koha-devel] Custom authentication

2016-09-15 Thread Rodrigo Santellan
Hi, I need to authenticate using a custom LDAP and a custom Web Service authentication how will be the best to implement this without forking the code. I ask this because I'm trying to migrate an old Koha 2.2.3 that has gone astray from the community and I don't want to start doing that again.

[Koha-devel] To React or not to React

2016-09-15 Thread Kyle Hall
I have my proof of concept for using React within Koha completed! You can see it here: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17297 Please give it a try! So, I've written this development ( at least in part ) in both Angular and React. I know Angular 2 is out but here are my

[Koha-devel] [Koha::Object] Related records and calling methods from templates

2016-09-15 Thread Marcel de Rooy
Hi devs, I am seeing more Koha objects that include methods for related records like Koha::Patron, sub image referring to Koha::Patron::Images. As a second example, on bug 14610 (article requests), a biblio, item, branch and borrower method is added to Koha::ArticleRequest. Obviously, they all

Re: [Koha-devel] Migrate/Upgrade from 2.2.3 to latest.

2016-09-15 Thread Jonathan Druart
Certainly 3.01.00.009 2140 $dbh->do("ALTER TABLE permissions MODIFY `code` varchar(64) DEFAULT NULL"); 2141 $dbh->do("ALTER TABLE user_permissions MODIFY `code` varchar(64) DEFAULT NULL"); 2016-09-14 21:14 GMT+01:00 Rodrigo Santellan : > I truncate the tables and