CodeIgniter-Aauth icon indicating copy to clipboard operation
CodeIgniter-Aauth copied to clipboard

Aauth v3.0.0-alpha1 is done!

Open REJack opened this issue 7 years ago • 13 comments

Hey Guys, based on the news (#189) last week, i've pushed v3.0.0-alpha1 (i named my commit to v3.0.0-rc1 😅)

Now all models donw incl. PHPunit tests over Travis-CI and code-coverage over CodeCov

I hope you like how i created the models.

Next steps are:

  • create whole library without any new suggestion (use model functions in library)
  • change language lines to use sprintf
  • add composer decencies
  • Unspecific session variable names for user

The CodeIgnitier-Aauth v3.0.0 Plans are:

  • [x] write from scratch in MVC
    • [x] db actions into models
    • [x] use model functions in library
    • [ ] enhance language lines with sprintf
    • whole code in one code style (CI3 PHP Style Guide)
  • [x] PHPUnit tests over Travis-CI.org & Code-Coverage over CodeCov.
    • [ ] Add other databases to test (postgre, odbc, etc.)
  • [x] Aauth Init Class
    • it allows to remove the SQL files
    • creates automatic all database
    • easy database updates in further releases
    • should works flawless with other databases (postgre, odbc, etc.)
  • [x] add .editorconfig EditorConfig helps to define and maintain consistent coding styles between different editors and IDEs,
  • [ ] a proper documentation on GitBook
    • [ ] replace config explanation with a docs link
  • [ ] add composer decencies instead of the reCAPTCHA & TOTP helpers
    • (on release push) travis would creates 2 zips & upload it to the release
      • 1 with vendor-folder, downloaded/integrated composer (there some website hosts they not give a ability for a SSH access)
      • 1 without vendor-folder, not integrated composer decencies
  • [ ] add CI's Form Validation support
  • [ ] add foreign key to database tables (working dbforge solution for Aauth Init Class usage)
  • [ ] Single Login mode (allow only one session per user) (#187)
  • [ ] remove * from select on list_users (#184)
  • [ ] Unspecific session variable names for user (#177)
  • [ ] Login with email and username (idk main behavior or config option)
  • [ ] basic ui (login/register, user-, group-, perm-management, pm center, etc.)
  • [ ] extenison-able (plugins):
    • [ ] social sign-in (google, github, facebok, etc.)
    • [ ] Private Message System
    • [ ] maybe system variables
  • [ ] easy Migration from v2.X
  • [ ] change licence to MIT (#88)
  • [ ] change email to use a view with passed parameters, instead of plain text

overall Aauth would need PHP 5.5 or higher

If anyone has some suggestions, feel free to answer on this issue 😃.

REJack avatar Feb 05 '17 23:02 REJack

Nice work! But doesn't rc mean release candidate, that is feature complete and ready for final bug testing? And not alpha? :P

perenstrom avatar Feb 14 '17 08:02 perenstrom

@perenstrom I named some commit with rc but it was a mistake by me 😅 It's definitely a alpha 😄

REJack avatar Feb 14 '17 10:02 REJack

thank you for such a great stuff. appreciate the efforts for V3!

will there be any updates on V3 anytime soon? or should we stick to V2 for new projects?

hersag avatar Mar 13 '17 14:03 hersag

@hersag You can stick with V2 but with BCrypt (use_password_hash on true), if V3 is ready i'll create a detailed documentation for easy upgrade.

I have at the moment much work with my job 😞, i hope that i can find some time at the next weekend.

REJack avatar Mar 13 '17 22:03 REJack

that's great, thank you!

hersag avatar Mar 14 '17 11:03 hersag

Great work!

It would be nice to be able to customize transactional emails. May be a customizable view and pass the parameters?

andacata avatar Apr 14 '17 16:04 andacata

@andacata how you mean this?

REJack avatar Apr 14 '17 23:04 REJack

Example in v2, function remind_password: $this->CI->email->message($this->CI->lang->line('aauth_email_reset_text') . site_url() . $this->config_vars['reset_password_link'] . $ver_code ); My proposal: $this->CI->email->message($this->CI->load->view('aauth_email_reset', array('url' => site_url($this->config_vars['reset_password_link']), 'ver_code' => $ver_code), TRUE));

andacata avatar Apr 15 '17 19:04 andacata

Raphael -

I agree on this. The method should allow us to pass a view, or should at least use a default view rather than a plain text email.

TIM

On Apr 15, 2017, at 2:34 PM, andacata [email protected] wrote:

Example in v2, function remind_password: $this->CI->email->message($this->CI->lang->line('aauth_email_reset_text') . site_url() . $this->config_vars['reset_password_link'] . $ver_code ); My proposal: $this->CI->email->message($this->CI->load->view('aauth_email_reset', array('url' => site_url($this->config_vars['reset_password_link']), 'ver_code' => $ver_code)));

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AkaySoftware/CodeIgniter-Aauth/issues/191#issuecomment-294313502, or mute the thread https://github.com/notifications/unsubscribe-auth/AH-nUCx1voJjG9pAU--U87R7lP30R04Yks5rwRvLgaJpZM4L3qt3.

tswagger avatar Apr 16 '17 00:04 tswagger

@andacata & @tswagger i agree on this too, its a nice idea 😄 I'll add this to the list later.

REJack avatar Apr 16 '17 10:04 REJack

where is source aauth 3.0

lyarinet avatar May 10 '18 05:05 lyarinet

@asifagaria Branch: v3-dev

korllan avatar May 10 '18 10:05 korllan

Thanks For Source But Documents Not Work

please make easy guide whit view

thanks

lyarinet avatar May 10 '18 11:05 lyarinet