ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

[HowTo] Register a new user Administrator at ChiliProject

Added by Chili Fan at 2012-07-27 06:09 pm

Hello

I managed to get CP installed at Windows and using SQLite now i would like to get Started
I try to create a new Administrator by filling in the field and pressed ok
Next a message is reported that the New user must be confirmed by a message ??

must i configure a email box for that one i am using local host only, and how do i configure such email box then if needed ?

(i didn't provide any (admin)user details due sqlite hasn't i believe and
the register new user Of CP should be getting to work some how to create (admin)user i think

Thanks

=======================================================================================
Thanks for all help Please report any Improvements and Problems about this in the forum

| More || Settings || Email notifications|| Send a test email |
https://www.chiliproject.org/boards/1/topics/1973?r=1990#message-1990 =======================================================================================


Can't create new users
https://www.chiliproject.org/boards/1/topics/1905

ChiliProject Wiki || Installation || Email Delivery
https://www.chiliproject.org/projects/chiliproject/wiki/Email_Delivery

ChiliProject Wiki || Installation || Configuration File
https://www.chiliproject.org/projects/chiliproject/wiki/Configuration_File


Replies (22)

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-28 11:25 am

I'm not sure I completely understand what you have done.

Do you already have an admin user and tried to create a new user in the administration or did you try to register a new user?

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-28 12:18 pm

Hello Felix

This is what i have done https://www.chiliproject.org/boards/1/topics/1420?r=1971#message-1971
at database.yml, i have no (admin)user specified for DataBase itself Due at test sqlite3 end of original example file
it has only 'adapter' and 'database', Don't know if it even possible for sqlite3 when look at mysql i see 'username' and 'password' "tags"

----------------------------------
|# sqlite3 (default setup).
|
|production:
|  adapter: sqlite3
|  database: db/production.sqlite3
|
----------------------------------

I did try to register a new user From CP main web page at left top corner drop down box, at CP install files i notice something about email
should i configure that one to receive a message through a "local email account" thing

through "localhost" to receive information back from CP main web page "or something"

Thanks


At configuration.yml i see several options about email, i am using provided one,
i go figure out if i could receive any email from CP at my email application creating localhost account there,

Should i use same Port3000 of CP for email also ? instead of using Port25 for example


I just realize i need a SMTP server at my windows for internal email service or use external email service such as gmail

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-28 04:10 pm

@Felix
I think register new user is working for CP point of view due it report by a green message that account need only be confirmed before it is activated at CP main webpage

At the moment i give http://www.hmailserver.com/ a try to setup an localhost mail server and mail address to be used for localhost only internal, and try to send receive by a email client but no joy yet if anyone knows how to perform this at Windows Please let know

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-28 06:07 pm

Chili Fan wrote:

@Felix
I think register new user is working for CP point of view due it report by a green message that account need only be confirmed before it is activated at CP main webpage

Ok, if you don't want e-mail activation, login as an admin (on fresh installs there's an admin user called admin with the password admin, it's recommended to change that password as soon as possible!) and head over to the global administration and go to "Settings > Authentication". There you will find a drop-down (it should be the third option from the top) where you can set if user activation should be handled by sending users that want to register an email, if an admin should activate them manually (head over to the "User" section of the global administration for that) or if activation should be automatic.

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-28 09:05 pm

(on fresh installs there's an admin user called admin with the password admin, it's recommended to change that password as soon as possible!)

That works like a treat didn't know a default user admin (already )exist, i will change password

Ok, if you don't want e-mail activation

I still want that Ofcourse nice feauture, Good to know it can be configured automatic
(i found it | Settings | fourth option from below at | More | drop down box, then third tab from right | Authentication |)


At the moment i think i have hMailServer running by using localhost only, i need to install additional email client for "test" purpose like Thunderbird http://www.mozilla.org/en//thunderbird/ to receive the email activation after setup the right email settings at thunderbird and at configuration.yml of ChiliProject to test email activation i realize

i will let know my progress

Authentication required              UnChecked
Autologin                            disabled     
Self-registration                    manual account activation
Minimum password length              4
Lost password                        IsChecked
Allow OpenID login and registration  UnChecked
Enable REST web service              UnChecked

(These are Default CP Settings, when create user initially CP notices an email has been send even when manual account activation was selected by default a bit strange CP notices an email has been send (just a mindspin from my side))


Wondering How is it possible to perfom manual account activate ? somewhere at CP config yml files for example

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-28 09:55 pm

You can go to "Users" in the global administration, there you can filter users by their status, for "registered" users you can activate them.

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-28 10:12 pm

Hello Felix

I managed to setup an email address at localhost and it is working by hMailServer and Thunderbird

I changed email and password of default user admin successfully but at Administration Information it displays a red circle icon some how (it should be green, only rmagick is red due i skipped that one)?

I adjusted configuration.yml and restarted CPs Application Server
and as test at CPs webpage try to send test mail at | Settings || Email notifications | it warns a notice about unknown host

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: chiliproject@chiliproject.localhost
      port: 25
      domain: 127.0.0.1
      authentication: :login
      user_name: "chiliproject@chiliproject.localhost" 
      password: "chiliproject" 

Best Regards

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-28 10:44 pm

Is it possible that CP can send email locally to localhost domain ?

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-29 09:07 am

Chili Fan wrote:

Is it possible that CP can send email locally to localhost domain ?

That isn't a problem, but your config file seems a little off. Have a look at the Email_Delivery page for more info. For example, the address parameter isn't the e-mail address but the address of the SMTP server (in your case chiliproject.localhost or 127.0.0.1), the domain parameter contains the e-mail domain should your SMTP server need it and so on.

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-29 01:15 pm

Felix "Send a test email" is working like a charm through by using localhost only :)
Thanks


| More || Settings || General | Host name and path: 127.0.0.1:3000/chiliproject

root:\rootchili\chiliproject\config\configuration.yml

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: 127.0.0.1
      port: 25
      domain: 127.0.0.1
      authentication: :login
      user_name: "chiliproject@chiliproject.localhost" 
      password: "chiliproject" 

| More || Settings || Authentication |
Authentication required              IsChecked
Autologin                            disabled     
Self-registration                    manual account activation
Minimum password length              4
Lost password                        IsChecked
Allow OpenID login and registration  UnChecked
Enable REST web service              UnChecked

| More || Settings || Email notifications|| Send a test email |
---------------------------------------------------------------
|Pass  An email was sent to chiliproject@chiliproject.localhost
---------------------------------------------------------------

-----------------------------------------------------------------------------------------------------
|ChiliProject test
|
|This is a test email sent by ChiliProject.
|ChiliProject URL: http://127.0.0.1:3000/chiliproject/
|
|You have received this notification because you have either subscribed to it, or are involved in it.
|To change your notification preferences, please click here: http://hostname/my/account
-----------------------------------------------------------------------------------------------------

See End Of Email Delivery
https://www.chiliproject.org/projects/chiliproject/wiki/Email_Delivery#SMTP-server-using-TLS-GMail

SMTP Authentication
http://www.fehcom.de/qmail/smtpauth.html
http://postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailclients.html
http://pear.php.net/manual/en/package.networking.net-smtp.intro.php

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-29 02:03 pm

At | More || Information | Default administrator account changed: Red Exclamation Mark is shown...
Is this Due the default adminstrator account Is changed once by me and therefore not default anymore and shows a Red sign vs a Green sign ?

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-29 04:04 pm

Register user, manual create user, manual activate user, lost password is working as expected Cool!
i created several users for test purpose and use "manual account activation" vs "Account activation by email" when use last one, the notice message to user could be improved by add or mention an activation email has been send to your mailbox

(All adjustments made of settings and parameters through CP webpage are
all stored at database file of sqlite only, as far as i see, that is nice)

Thumbs up

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-29 04:20 pm

About "Send account information to the user"

This one i only received when create manual a user, by New User and pressed "Create and continue"
i guess pressing "Create" will also "send account information to the user"

Next for an existing i changed user data and pressed "Save", No info message is send
but still "Send account information to the user" was IsChecked i should expect a message right?
else i admin should have UnChecked "Send account information to the user" before pressing "Save"

When create user by Register none "Send account information to the user" after confirming the Activation first

I understand this "Send account information to the user" trigger events can be hard to define in sence of what is wisdom to send it or skip sending even it's option was checked

Just to let CP know

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-29 05:31 pm

Is it possible to Physical Delete user account (by delete button) after a user is locked ?
pending Activate user request can being delete by a button
I understand if a user "is used" in the past it's username will be still in the database records

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-30 09:00 am

Chili Fan wrote:

At | More || Information | Default administrator account changed: Red Exclamation Mark is shown...
Is this Due the default adminstrator account Is changed once by me and therefore not default anymore and shows a Red sign vs a Green sign ?

I think someone had that problem already and opened a ticket for that, you might want to add your experience to that.

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-30 09:01 am

Chili Fan wrote:

i created several users for test purpose and use "manual account activation" vs "ccount activation by email" when use last one, the notice message to user could be improved by add or mention an activation email has been send to your mailbox

Could you open a feature request for it?

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-30 09:03 am

Chili Fan wrote:

About "Send account information to the user"

This one i only received when create manual a user, by New User and pressed "Create and continue"
i guess pressing "Create" will also "send account information to the user"

Next for an existing i changed user data and pressed "Save", No info message is send
but still "Send account information to the user" was IsChecked i should expect a message right?
else i admin should have UnChecked "Send account information to the user" before pressing "Save"

When create user by Register none "Send account information to the user" after confirming the Activation first

I understand this "Send account information to the user" trigger events can be hard to define in sence of what is wisdom to send it or skip sending even it's option was checked

Just to let CP know

Again, if you think things don't work as you think they should please open bugs for it here in the bugtracker so that we are better aware of them and track them, thanks.

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Felix Schäfer at 2012-07-30 09:07 am

Chili Fan wrote:

Is it possible to Physical Delete user account (by delete button) after a user is locked ?

No, it's very difficult to know which things have been created by a certain user and just deleting a user could break things, so we haven't implemented it, it's on our list but might take some time though.

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-30 10:07 am

Felix Schäfer wrote:

Chili Fan wrote:

i created several users for test purpose and use "manual account activation" vs "ccount activation by email" when use last one, the notice message to user could be improved by add or mention an activation email has been send to your mailbox

Could you open a feature request for it?

My first feature request for CP (nice issue tracker) https://www.chiliproject.org/issues/1097

OffTopic When press "watch" at right top corner of this ticket the "watch" does not and UnResponds is staying grayed out,
Maybe due this ticket is freshly new created, Due i am able to watch older ticket for example https://www.chiliproject.org/issues/1061

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-30 10:30 am

Felix Schäfer wrote:

Chili Fan wrote:

Is it possible to Physical Delete user account (by delete button) after a user is locked ?

No, it's very difficult to know which things have been created by a certain user and just deleting a user could break things, so we haven't implemented it, it's on our list but might take some time though.

I understand for database perspective it can break if user contents gets deleted due all the "spider web traces" involved of all user work,
I was thinking of delete the user entry displayed at the locked list view, by a delete button only the user entry is Not displayed anymore,
Hide this user from locked list is better explained as "Delete/IsHide this locked user button",
then and UnHide all locked users button or shown a selection window with UnHide this locked user button

But yeah keep care when create a user in first place, create two identical users should be possible by username and other user data perspective Due i guess each "user" has is own ID value but for a tracking perspective point view this is unhandy avoid This in first place, delete user and it's belonging content out of the CP and tracker is actual no go in first place it breaks all views and tracking but Maybe could be done and usefull for some reason i don't know (due a s p a m has create UnUsefull things in our Nice Spicy Chilli DB

my 2 cents

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-30 11:01 am

Felix Schäfer wrote:

Chili Fan wrote:

At | More || Information | Default administrator account changed: Red Exclamation Mark is shown...
Is this Due the default adminstrator account Is changed once by me and therefore not default anymore and shows a Red sign vs a Green sign ?

I think someone had that problem already and opened a ticket for that, you might want to add your experience to that.

Searched: "Default administrator account changed" finds https://www.chiliproject.org/issues/1061
behaviour i noticed is due i still uses admin default pass ;) oops, change it and turn green

Thanks

RE: [HowTo] Register a new user Administrator at ChiliProject - Added by Chili Fan at 2012-07-30 12:22 pm

Felix Schäfer wrote:

Chili Fan wrote:

About "Send account information to the user"

This one i only received when create manual a user, by New User and pressed "Create and continue"
i guess pressing "Create" will also "send account information to the user"

Next for an existing i changed user data and pressed "Save", No info message is send
but still "Send account information to the user" was IsChecked i should expect a message right?
else i admin should have UnChecked "Send account information to the user" before pressing "Save"

When create user by Register none "Send account information to the user" after confirming the Activation first

I understand this "Send account information to the user" trigger events can be hard to define in sence of what is wisdom to send it or skip sending even it's option was checked

Just to let CP know

Again, if you think things don't work as you think they should please open bugs for it here in the bugtracker so that we are better aware of them and track them, thanks.


Yeah this above is confusing and unclear from my side
It turns out "user account (password only)information" is send only if password "is entered and confirmed"
when name of Login "is entered" No user account information is send after press save button

Okay it does make sence the way it now works to send only if password is entered
but i think it would be improve to add second trigger, to send if name of login is entered
(regardless if same previous name of login is entered) and it should validate (empty or to long name is unallowed for example)
shows then green update message at cp


Possible Improve01
Possible improve maybe even better to always send User account information if it's box is checked and user input fields are valid
and save button is pressed my point of view otherwise uncheck send... box

Possible Improve02
Possible improve add login field data to the User account information message content

Possible Improve03
Leave the way of triggers to send Activation information when perform register or manual accout create
but Possible to improve to send User account information to user once the account has been activated


Leave the way of Text of notices at CP web page when creating

I will change topic of my issue https://www.chiliproject.org/issues/1097 and Add Possible Improve01 02 03 instead

Thanks

(1-22/22)