Frappe ERPNext Open Day February 2014

1,487 views

Published on

Summary of monthly activities by team members of ERPNext for February 2014

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,487
On SlideShare
0
From Embeds
0
Number of Embeds
505
Actions
Shares
0
Downloads
17
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Frappe ERPNext Open Day February 2014

  1. 1. open day February’2014 anand doshi module home pages nestedset github google lots of fixes social logins facebook frappe frappe.io rAuth
  2. 2. frappe & frappe.io Racing to the release
  3. 3. No need to remember one more password. Use your Facebook, Google or GitHub accounts to login.
  4. 4. Why not Twitter? Twitter is being the dark knight by not providing a user’s email address. We found it unreasonable to create a separate flow for twitter login.
  5. 5. And LinkedIn? I don’t use LinkedIn. So, 
 I wasn’t motivated enough to do it. If need arises, 
 it is just a few minutes of coding.
  6. 6. Our thanks to rAuth for making oAuth so easy [github.com/litl/rauth]
  7. 7. Module Home Pages Clean, Mobile Friendly, Extendable by other Apps
  8. 8. That illusive NestedSet bug Fixed Test Cases for Nested Set 
 and was immediately rewarded.
  9. 9. Some Technical Details or you can skip the next 4 slides
  10. 10. Getting keys for social logins • Signup for a developer account with Facebook, Google or GitHub. • Create an APP in their console. • Specify APP name, Originating URL and callback URL. • Copy the Client ID and Client Secret into frappe:
 Setup >> System >> Social Login Keys
  11. 11. Facebook • Login to [developers.facebook.com] and Go to Apps (it’s in the topbar) >> New App • Go to Settings >> Advanced 
 and find the field ‘Valid OAuth redirect URIs’ • Valid OAuth redirect URIs:
 https://example.frappecloud.com/api/method/ frappe.templates.pages.login.login_via_facebook • After saving changes, go to Settings >> Basic, click on App Secret’s Show button • Copy the App ID and App Secret into frappe: Setup >> System >> Social Login Keys
  12. 12. Google • Login to [console.developers.google.com] 
 and Create a Project • Go to APIs & auth (it’s in the sidebar) >> Credentials >> Create New Client ID • Authorized Redirect URI:
 https://example.frappecloud.com/api/method/ frappe.templates.pages.login.login_via_google • Copy the Client ID and Client Secret into frappe:
 Setup >> System >> Social Login Keys
  13. 13. GitHub • Login to 
 [https://github.com/settings/ applications/new] • Homepage URL:
 https://example.frappecloud.com/ • Authorization callback URL:
 https://example.frappecloud.com/api/method/ frappe.templates.pages.login.login_via_github • Copy the Client ID and Client Secret into frappe:
 Setup >> System >> Social Login Keys
  14. 14. Thanks Your feedback will make my day. @anandpdoshi
  15. 15. ! Frappe! Open Day February 2013 Rushabh Mehta
  16. 16. introducing frappe
  17. 17. renamed everywhere (still not fully released)
  18. 18. UI Updates
  19. 19. New Login Page
  20. 20. New Module Layout
  21. 21. Website Sitemap
  22. 22. Versions Currently in Web Page & Blog
  23. 23. Introducing API (thanks to Pratik)
  24. 24. REST 1. List /api/resource/[resource_type] > List of resources GET ! /api/resource/Customer /api/resource/Customer?limit_page_length=500 /api/resource/Customer? filters={“customer_group”:”Retail”} 2. Get Doc (GET) /api/resource/[resource_type]/[resource_name] GET ! /api/resource/Customer/Asian Fusion
  25. 25. REST 3. Insert (POST) /api/resource/[resource_type]/[resource_name] ! POST: PARAMETERS: doclist=[{ … }] ! /api/resource/Customer/Asian Fusion 4. Update (PUT) /api/resource/[resource_type]/[resource_name] PUT: PARAMETERS: doclist=[{ … }] ! /api/resource/Customer/Asian Fusion?
  26. 26. API: Methods Calling a method /api/method/[method_name]?parameters Without Commit GET /api/method/login With Commit (Write) POST /api/method/login Note: Method must be whitelisted
  27. 27. Frappe.io Coming Soon
  28. 28. New Portal Worked on syncing web pages from static files in markdown and html
  29. 29. Coming up • Developer Documentation • ERPNext breakup (into Apps) • Frappe.io Portal Release
  30. 30. Thanks! Clip-arts: openclipart.org

×