Giter Club home page Giter Club logo

l4withsentry's People

Contributors

bencorlett avatar bertiful avatar bpierre avatar codler avatar crynobone avatar cviebrock avatar daylerees avatar ericlbarnes avatar franzliedke avatar hirokws avatar jakobud avatar jasonlewis avatar jesseobrien avatar jimthedev avatar kapv89 avatar kbanman avatar lancepioch avatar loic-sharma avatar mcintyre94 avatar mikelbring avatar pedroborges avatar rydurham avatar sparksp avatar syntaqx avatar taylorotwell avatar tobsn avatar tommyc81 avatar vespakoen avatar vfragosop avatar vtalbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

l4withsentry's Issues

Ability to change email

Perhaps the ability to change the email address should be added as well? It's easy enough to add in SentryUser and the edit form view, but kind of stuck on where to alter the validation rules so "required|email|unique:users,email,:id" can be used. ID being replaced with the current user id. Any thoughts?

Groups

I notice you are not using the restful routing in the GroupController so none of the routing work? How are you actually routing the Group stuff?

I have changed the GroupController to have getEdit but then I had to go to the views/groups/index and change to as the edit/id was in the wrong order. href='{{ URL::to('groups') }}/edit/{{ $group->id }}'">Edit

Thanks

Security: CSRF Filter Disabled as Guest

Summary
The CSRF filter works properly when Session::token() returns a different value than the form input token (via: Input::get('_token')). The problem is, when the session has no token (guest access) and the form input has no token, then the CSRF filter malfunctions and does not throw and exception. In this case it should throw an exception but does not.

Cause
The cause seems to be the code on Line 108 of filters.php. If both values are null, then the comparison become them becomes true, even though we want the expression to be false.

Solution
The solution is to add a check that ensures that neither the Session token or the form token are null. If either is null, we throw an exception.

'Remember me' not remembering me

Not sure if this is the place to do it (first time!) but the remember me function on the login doesn't remember me when I log off and come to login again.

mail configuration

Also, it is an necessary to configure app/mail properly to made register fly.
in gmail: following work good for me:
'host' => 'smtp.gmail.com',
'port' => 465,
'encryption' => 'ssl',
'username' => 'your_username',
'password' => 'your_password',

Thanks

Composer update RuntimeException Mockery

I don´t know if the problem is mine but after doing the download of L4withSentry and running "composer update" I have this RuntimeException:

  • Installing mockery/mockery (dev-master 23ca1a2)
    Cloning 23ca1a274fb8fd175101574ac81cd1b82f3d0489

    [RuntimeException]
    Failed to clone https://github.com/padraic/mockery.git, git was not found,
    check that it is installed and in your PATH env.

    sh: 1: git: not found

composer update fail

Just a little notification, I had to modify the needed version of the package "way/generators" in composer.json to have the project working.

"require-dev": {
    "way/generators": "1.0.*@dev"
},

changed to

"require-dev": {
    "way/generators": "2.*"
}

missing register button in index

Hi
Thank for your efforts, there is a minor issue in index, missing user register button though there is getRegister in user controller already.

English Language is Incomplete

I just installed the repository locally and noticed most of the English language is incomplete, but Bulgarian isn't. Is there a quick way for me to fix this?

Thanks!

Admin check for Group membership update

Bonjour,
Thank for your efforts !
In the class SentryUser, I think you should check the admin status before updating the group membership. Otherwise, member updated will clear all membership and fake requests could provide all memberships to user.
Cheers.

On Hold

This project is not yet complete - I was pulled away before I could finish it. I hope to get back to it soon.

small issue with layout

In the Layout (L4withSentry/app/views/layouts/default.blade.php) when a click to the email in the top-right it's give a route error in the line 59

<a href="/users/{{ Session::get('userId') }}">
I use this and it's work :
<a href="{{URL::to('users')}}/{{ Session::get('userId') }}">

but i see a problem when a click in the line of a user in the botton of "edit" in the administrations index but my low ability don't help me to correct.
line 27 of L4withSentry/app/views/users/index.blade.php
<button class="btn btn-default" type="button" onClick="location.href='{{ action('UserController@edit', array($user->id)) }}'">Edit</button>
Can someone help ?

Pull this codes in workbench

Hi,

first of all thanks for this nice package. I wonder what would be best way to pull all of this codes in a workbench? To make a hybrid from this package and this

Bootstrap Update v3.1.1

After altering this project a bit, I started running into a few weird issues with dropdowns while resizing and some other things until I updated my local to v3.1.1. You may want to update the project as well as a lot of other bugs have been flushed out since v3.0.1 in October.

Problem with showing register errors

when I try to register a new user with a password less than minimum character, instead of showing error as alert , it show a page error with this title:
"InvalidArgumentException
Your [password] must be at least 6 characters."
could you please guide me how to resolve it?

Group edit button with problem

to rectify a problem in the groups/index.blade.php, i used the code in the groups/show.blade.php
<button class="btn btn-default" onClick="location.href='{{ action('GroupController@edit', array($group->id)) }}'">Edit</button>

Update to Laravel 4.1

Hi! after update of Laraverl 4.1, I go to users or groups in admin and it returns a FatalErrorException: Call to undefined method Illuminate\Routing\Route::getParameter() in app/filters.php line 49 $userId = $route->getParameter('users');

Thanks for the help.

Add User Mailer

A mailer to handle account related mail being sent to the user.

Migration error

Hi,
I am getting this error while trying to migrate

$ php artisan migrate
PHP Fatal error: Class 'Patchwork\Utf8\Bootup' not found in E:\Localhost\Ampps\www\L4withSentry\boo
tstrap\autoload.php on line 46

And,
The composer update is running out of time and showing this error,

$ composer update
Loading composer repositories with package information
Installing dependencies (including require-dev)

  • Installing doctrine/common (dev-master ad26be7)
    Cloning ad26be7787690d50d572d39a8d2ba5f1542a6d8f

    [Symfony\Component\Process\Exception\ProcessTimedOutException]
    The process "git clone "git://github.com/doctrine/common.git" "E:\Localhost\Ampps\www\L4withSen
    try\vendor\doctrine/common" && cd /D "E:\Localhost\Ampps\www\L4withSentry\vendor\doctrine/commo
    n" && git remote add composer "git://github.com/doctrine/common.git" && git fetch composer" exc
    eeded the timeout of 300 seconds.

So can you suggest me the solution for this......Thank you

L5withSentry

Is there any forecast for launch L5withSentry ?

Converted to Bootstrap 3

I have convereted it to bootstrap 3 💃

is fulling working a few form i have to convert

I added Modal Windows for login and Register

Refactor into a Laravel Package

I've already moved the code into a Laravel package. It needs a little more polish but is this something that would be of use to anyone else? This repository could stay as it is but then include the Service/Controller etc. layer inside the package?

Error: After renaming "Admin" group

After renaming "Admin" group into anything else access to Admin group is lost.
User is getting kicked out the system, it is possible to login again, but everything stays "locked" - keep getting redirects to login page with "Error: Group not found." message.

update profile (first name, last name) as user issue

Hey,

I am new to GitHub and found your code, which is GREAT!
I believe I have found an issue though.
After installing your code, which went smoothly, I keep getting the following error:

  1. login as [email protected]
  2. update profile (first name and last name)

Result: database is indeed updated but I get the following error:
Error: You are not allowed to do that.

After quickly investigating it seems to be due the "userId" being NULL return from database update (Post route).
I could be wrong though (I am new to all this).

Thanks

Security: Users can see view other users' profiles, including password hash

Steps to reproduce:

  1. Using your browser, login as '[email protected]'
  2. Go to /users/1
  3. Assuming 1 is the id of the admin, you will see the profile of the admin including the password hash.

Previous behavior:

I checked in version 1 of L4withSentry and it looks like the system properly handled this condition by showing an error that you do not have access to the user.

Notes:

It looks like the problem lies on lines 49 and 50 of app/controllers/UserController.php where the filters are applied to resource methods. The show and update resource methods did not have the inGroup:Admins filter applied.

filters.php or routes.php?

  1. Filter Auth is in both files. Is it correct? Shouldn't it be only in filters.php?
  2. When we use Sentry, is it necessary in filters.php? Isn't it biult-in auth code?

Route::filter('auth', function()
{
if (Auth::guest()) return Redirect::route('login');
});

mail error

"preg_match(): Compilation failed: internal error: previously-checked referenced subpattern not found at offset 4246"

i use lavravel4 in lampp
this is my main.php

'smtp', /* |-------------------------------------------------------------------------- | SMTP Host Address |-------------------------------------------------------------------------- | | Here you may provide the host address of the SMTP server used by your | applications. A default option is provided that is compatible with | the Postmark mail service, which will provide reliable delivery. | */ 'host' => 'smtp.gmail.com', /* |-------------------------------------------------------------------------- | SMTP Host Port |-------------------------------------------------------------------------- | | This is the SMTP port used by your application to delivery e-mails to | users of your application. Like the host we have set this value to | stay compatible with the Postmark e-mail application by default. | */ 'port' => 587, /* |-------------------------------------------------------------------------- | Global "From" Address |-------------------------------------------------------------------------- | | You may wish for all e-mails sent by your application to be sent from | the same address. Here, you may specify a name and address that is | used globally for all e-mails that are sent by your application. | */ 'from' => array('address' => null, 'name' => null), /* |-------------------------------------------------------------------------- | E-Mail Encryption Protocol |-------------------------------------------------------------------------- | | Here you may specify the encryption protocol that should be used when | the application send e-mail messages. A sensible default using the | transport layer security protocol should provide great security. | */ 'encryption' => 'tls', /* |-------------------------------------------------------------------------- | SMTP Server Username |-------------------------------------------------------------------------- | | If your SMTP server requires a username for authentication, you should | set it here. This will get used to authenticate with your server on | connection. You may also set the "password" value below this one. | */ 'username' => '******', /* |-------------------------------------------------------------------------- | SMTP Server Password |-------------------------------------------------------------------------- | | Here you may set the password required by your SMTP server to send out | messages from your application. This will be given to the server on | connection so that the application will be able to send messages. | */ 'password' => *******, ```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.