Changelog

Anthony Rappa edited this page Jan 7, 2017 · 9 revisions

4.1.6

- Fixed placeholder on wrong DOM element
- Added StyleCI file and applied fixes for laravel specification.

4.1.5

- Fix Log Viewer Update Issues
- Partial Greek Translation Pack
- Change FormRequest class failed validation from 403 error to a redirect with flash message.
- Update to Laravel commit: 83b76a7f8bdd1daabcc87fa525658b6d98f53566

4.1.4

- Thai language updates
- Ability for registration to be turned on an off from .env file
- Update to Laravel commit: d1ba0c3d0d8fce35cb03c0b0593cb7e3c35c70d1
- Updated vendors published files minus ones we don’t need
- Changed AppServiceProvider ‘local’ check to ‘local’ or ‘testing’

4.1.3

- Remove getFallbackLocale helper since it is not being used.
- Moved confirmed, confirmation_code, deleted_at to access migration to keep users migration like a stock Laravel installation.
- Nullified the confirmation_code column
- Made history assets a text type since 255 characters isn’t enough in some cases.

4.1.2

- Added the welcome language blocks to the lang files to keep everything in 1 place.
- Deleted the getLanguageBlock helper.
- Updated old blade extend call to blade directive call.

4.1.1

- Fix some comments in pt_BR translations.
- Made sure if error on role create/edit, keep the old input for selected permissions
- Made sure if error on user create/edit, keep the old input for selected roles
- Update to Laravel commit: cffcc4932da6384fbbf54f19006b151af2e449c6

4.1.0

- Change assigned_roles table name to role_user and update tests accordingly
- Added helper function to include route files from different folders into routes/web.php so that that file doesn’t have to be edited anymore.
- Correct key and folder name for pt_BR translation
- Fixed some pt_BR translations

4.0.12

- Added truncate check for history_types seeder.
- Added support for mail transport StreamOptions

4.0.11

- Pretty comprehensive test suite
- Small Access codebase changes, non-breaking
- Added 2 translations that were missing from backend UserRepository.
- Fix link in NL language file
- Changed the Access Control on the backend sidebar to a dropdown that has access to users and roles separately, since the permissions are separate and you cant get to the roles unless you have users. So now you can have different users be able to have different permissions to different sections correctly.
- Refactored the header buttons in the access sections to be separate on desktop and a dropdown on mobile.
- Changed before-styles-end, after-styles-end, before-scripts-end, after-scripts-end, to just before-styles, after-styles, before-scripts, after-scripts for clarity.
- Made sure history log function can take a type by its ID, added test as well.
- Update to laravel commit: 038ae10ae7c25b28d8fe7ae08af237a932a6f6ab
- Remove duplicate macro files

4.0.10

- Created separate function to get roles for table from user create/edit. Keeps the search functionality but doesn't return a builder instance to user create/edit which was causing it to display nothing.

Hotfix 11/04/16

- Update package name in composer file

4.0.9

- Session expire on browser close to true to fix remember me

4.0.8

- Use normal blade syntax to prevent use of XSS in history output
- Remove other html entities from history text since they're being escaped now.

4.0.7

- Add default rendering of text to datatable columns that can be edited by users on front or back ends to prevent XSS attacks since datatables spits out html directly and we can't control it with blade.

4.0.6

- Changed route from frontend.auth.password.reset_form to frontend.auth.password.reset.form because I hate underscores in route names.
- Remove variables in example environment that no longer apply
- Fix links in backend dropdown

4.0.5

- Added missing .env vars
- Added aesthetic icons to header and dropdown of backend
- Added/fixed Spanish translations
- Added some IDE specific lines to .gitignore

4.0.4

- Added scope traits to both users and roles and replaced code with scopes where necessary, as both demonstration and function.
- Added table property and constructor to User model to keep uniform with other Access entities.
- Removed unused $request variable from showResetForm
- Added Search routes/controllers/breadcrumbs/views without the actual search logic
- Added System header to sidebar

4.0.3

- Updated NL translations.

4.0.2

- Merged fix for users data table search
- Fixed role data table search using same method
- Simplified processing of the roles column on the users table and the permissions column of the roles data table
- Still having some trouble with sorting and searching specific columns, so sorting and searching on those specific columns is turned off for now.

4.0.1

- Updated to laravel commit: 7479a8b920a7b14684d546a9d81e8e2819ff8fa4

4.0.0

- Started with a fresh Laravel 5.3 installation
- Moved macros to a Helper namespace
- Removed the laracast generators package since the functionality is native
- Remove the javascript transformer package since it seems too specific to be considered ‘boilerplate’
- Removed htmlmin package and minification extension
- Refactored all controllers to be more single responsibility.
- Updated LogViewer and reskinned.
- Removed change password link from frontend dropdown
- Implemented sidebar-mini in backend responsive
- Used new Laravel validation Rule class.
- Log viewer 4.0
- Dutch language pack
- Removed all contracts associated with repositories except history.
- Redirect marked users based on the type of mark they received.
- Created Auth helper class for global auth type actions
- Refactored loginAs
- Refactored sendConfirmationEmail
- Remove home from frontend navbar due to redundancy
- Added Dashboard to navbar
- Reordered front nav dropdown
- Added global composer view which adds current user object to all views if logged in, null if not.
- Seperated Dashboard and Profile (Now My Account)
- Theres a seperate dashboard with dummy content
- Theres a new section called my account with change password built in
- Added needed strings to translation files
- Added frontend helper scss file
- Added frontend global styles scss file
- Added scss pages folder with placeholder dashboard scss file
- Made all panels full width of container
- Removed panel from homepage that no longer applies
- Added update information tab to my account
- Fixed some N+1 queries by eagar loading.
- Added limiting and pagination to history by default
- Many more bug fixes, formatting updates, etc.

3.1.15

- Configure Admin LTE layout via config file

3.1.14

- Remove explicit route binding for User model 

3.1.13

- Removed need for user to re-enter email address after clicking password reset link in email.
- Added @set blade directive from: https://github.com/sineld/bladeset (Didn't see the need of another composer package for this)
- Updated French & Danish translation files.

3.1.12

- Added Thai translation by @tianissimo

3.1.11

- Dirty fix to not being able to logout as user when acting as them.

3.1.10

- Removed duplicate mail driver from .env example.

3.1.9

- Added missing gulp package needed in elixir extensions file.

3.1.8

- Added database transactions where necessary.
- Refactored register function.

3.1.7

- Login admin users to dashboard by default
- When logging out as "Login As" user, redirect to users index
- Added conditional captcha to login that only displays if enabled and if login attempts are greater than the max login attempts before captcha setting.

3.1.6

- Prevent login chaining using the "Login As" feature.

3.1.5

- Missing SessionTimeout language lines.
- Missing History language lines.
- Spanish translation updates.

3.1.4

- Added 'fields' array to social services that support it and refactored getAuthorizationFirst method to use it and be more optimized.

3.1.3

- Fixed @permission calls in view still calling v2 permission names.

3.1.2

- Updated middleware routeNeedsPermission to accept permission list as first parameter of permissions separated by semi-colon. If the list is an array the second parameter is the "needsAll" which defaults to false.
- Updated middleware routeNeedsRole to accept role list as first parameter of roles separated by semi-colon. If the list is an array the second parameter is the "needsAll" which defaults to false.
- Added check to hasRole to see if the role has all permissions.

3.1.1

- Arabic language pack by @elbadawy
- Native RTL support for frontend/backend for languages which are set as RTL in config/locale.php
- New BladeServiceProvider for misc. blade directives.
- @langRTL blade directive to determine if the current session language requests RTL support.
- rtlCss() elixir extension utilizing the gulp-rtlcss package.
- Languages fix for German language strings.

3.1

- Updated any routes using specific keys to route model binding for users/roles.
- Used constructors to declare redirect properties using routes on auth/password controllers instead of class properties.
- Convert auth to access helpers where necessary.
- Converted any form urls to form named routes.
- Converted route resources to be singular
- Converted all methods to use route model bindings.

3.0.4

- Fixed parsing of HTML links in error messages.

3.0.3

- Added Google reCaptcha to registration (off by default, needs env credentials)
- Updated LogViewer language files

3.0.2

- Remove env calls from seeder files as they are only suppose to be used in config files as of Laravel 5.2

3.0.1

- Altered history API to group required parameters.

3.0.0

- Removed fluff code in backend/includes/header, see adminlte documentation for markup.
- Added member since timestamp to backend user popup.
- Added user roles list to backend user popup.
- Removed roles.web_developer translation line as it is no longer needed.
- Removed the button in the lower left of backend user popup and replaced with home button.
- Moved home translation from navs.frontend.home to navs.general.home.
- Deleted navs.backend.button translation as no longer needed.
- Replaced all instances of trans(‘nav.frontend.home’) to trans(‘nav.general.home’)
- Replaced all html links with link helper methods in backend/includes/header.php
- Used correct blade syntax where necessary in backend/includes/header.php
- Corrected blade syntax in change, email, reset, login, register.blade.php
- Added guest() method to access class
- Added logout() method to access class
- Corrected blade syntax in frontend nav and converted html links to link helper methods.
- Corrected blade syntax in profile/edit.blade.php, user/dashboard.blade.php, macros.blade.php, ga.blade.php, lang.blade.php
- Converted html links to link helper methods in user/dashboard.blade.php
- Corrected blade syntax in messages.blade.php and used session() helper instead of facade.
- Added margin/padding helpers.
- Fixed blade syntax and added link helpers on access header buttons and group create/edit.
- Fixed forgot password email translation
- Removed permission/dependency/groups management in its entirety
- Added session timeout middleware preset to 10 minutes.
- Many small cleanups
- Converted all uses of {!! !!} to {{ }} where applicable for security reasons.
- Replaced html label/checkbox/submit items with form facade versions.
- Removed any inline styles for external versions.
- Turned on debugbar query tracer so you can attempt to tell where each query originates.
- Check for mail failures when sending confirmation email from backend and display to user.
- Added datatables jquery plugin and replaced default index for users/roles with searchable/filterable datatables.
- Added suggested sort number when creating a new role.
- Modular history class that lets you log any activity to one table and show globally, by type, or by entity. Supports multiple links via array. Trans links stored in database and converted when displayed using history.php lang files.
- Added “Login As” feature for admins to login as whatever user they please for whatever the reason may be.
- Fixed social users with no email by making one with the name and provider.
- Added user confirmed event.
- Remove delete user/deactivate button for self.
- Remove system property from permissions as its no longer needed.
- Changed all guarded properties to fillable as they have been studied to be better for use.

2.3.12

- Update to laravel/laravel commit: b4024058bb87f77f73192890b656e7eb113730d4

2.3.11

- Added stack traces in log viewer where applicable.
- Fixed sqlite truncate in db:seed

2.3.10

- Check for error variable in messages view.

2.3.9

- Spanish translation fixes
- Important fix for #362 perm delete/restore user

This solves the issue that when multiple users have been deleted and they are in the "Deleted users" table, only the first user was deleted or restored no matter what button you pressed.

2.3.8

- Fixed password reset problem.
- *Update to laravel commit: b2ca69f31843ece0f1bf29c7099591c2a4b16ec8

*Except for 5c30c98db96459b4cc878d085490e4677b0b67ed to 1c43882c823cbe749db7666cb80b6e40a32d955e because I don't like the idea of locking the routes to the web middleware from the service provider.

2.3.7

- Updated French translation.
- Added missing status message to reset password view.

2.3.6

- Fixes bug where artisan backup:list didn't work

2.3.5

- Added extra helper function to specify gravatar size.
- Added Debugbar alias declaration to AppServiceProvider so it's only loaded locally with it's service provider.

2.3.4

- Fixes to exception language files.
- Exclude all storage folders except app from backup.
- Exclude node_modules folder from backup.

2.3.3

- Fixed @inject call namespace: https://github.com/rappasoft/laravel-5-boilerplate/pull/340

2.3.2

- Added elixir-extensions.js file with an extension to minify all storage views.
- Called in gulpfile.js but commented out by default.

2.3.1

- Fixed security problem described here https://github.com/rappasoft/laravel-5-boilerplate/issues/336.

2.3.0

- Made it so the google analytics code does not show unless a UA code is supplied in the config file.
- Refactored the UserContract class in both backend and frontend to UserRepositoryContract to keep the naming convention.
- Move debugbar service provider to AppServiceProvider so it is not loaded on production environments.
- Refactored Repositories folder to place all Access classes in an Access folder to keep it equal to the folder structure for the rest of the application.
- Fixed namespace in model factory.
- Removed unused imports.
- Misc code cleanup.

2.2.18

- Security Fix: Fixed hasMultiple calling old boilerplate method.

2.2.17

- Update to laravel/laravel commit: 80240e9b9ed1442d400a4db5fa85368b9f72ac55

2.2.16

- Added Laravel generators package that was updated for Laravel 5 (only for local development).

2.2.15

- Added the laravel-backup package, disabled by default: https://github.com/spatie/laravel-backup

2.2.14

- Security Patch: User passwords weren't being hashed when changed from backend.

2.2.13

- Models parent constructor should be called in case child constructor is defined.

2.2.12

- Adds token and avatar to social login table as discussed here: https://github.com/rappasoft/laravel-5-boilerplate/issues/265

2.2.11

- Changed Laravel session cookie name.

Explanation: The reason being is there are many browser extensions to check to see what software your website is built with, most check for the Set-Cookie header to be 'laravel_session'. We want to hide these programs from knowing in case people are trying to exploit security holes in your site based on the frameworks it's built on.

Example: https://github.com/AliasIO/Wappalyzer/blob/master/src/apps.json#L3754

2.2.10

- Added .vagrant folder to .gitignore
- Removed hardcoded text from alert message and cancel button.
- Fixed Swedish translations. 

2.2.9

- Fixed Mysql < 5.7 multiple CURRENT_TIMESTAMPS issue.

2.2.8

- Danish translation by @steenrabol
- Remove hardcoded upper-limit for permissions records. Handles future issues related #276 and #250.

2.2.7

- fix #229 activate tab through url hash

2.2.6

- Updated seeder loop
- Updated all seeders to use query builder timestamp instead of string to fix postgres issues.

2.2.5

- Fixed broken trans_choice

2.2.4

- add trans() to labels "Yes/No" in UserAttribute.php
- add "Yes/No" to each locale labels
- update all the menus to match format of project
- Fix hardcoded string in `url: admin/access/users/create & /edit` in toggle link for **Show/Hide Permission**
- Remove hardcoded string from JS to view
- Refactoring of JS
- Remove hardvoded strings from Traits/PermissionAttributes (Permissions table)
- Add new label to languages `labels.general.custom` for create role
- Add Spanish translation for None
- Fix for spanish translation in resources\lang\es\validation.php
- Bugfix for #272 trans_choice() in backend/includes/header.blade.php

2.2.3

- fix #269 removed hardcoded text in `backend/access/roles/index.blade.php`

2.2.2

- Merge up to laravel commit: eb59458d175e757a1e952f552b5eb3c6518a2ab5
- Fix for #268 and #269 where hardcoded text occurred

2.2.1

- Added token mismatch catch for when sessions expire instead of whoops error.
- Replaced deprecated use call in exception handler.

2.2.0

- Refactored the languages to a locale file.
- Status to turn language switching on or off.
- Automatically generate language dropdown menu.
- Added php default locale to config, as well as setting it on the app boot method, which will be overridden by session locale if set.
- Updated .env.example file to include new PHP locale variable

2.1.6

- Fixed German translation menu.

2.1.5

- French language fixes.
- Swedish language fixes.
- German language pack by @PReimers

2.1.4

- pt-BR language menu fixes.

2.1.3

- Spanish language pack by @bsh314.

2.1.2

- Javascript translation fix by @vjandrea
- Brazilian Portuguese language pack by @limatheus

2.1.1

- Updated composer log viewer from ~3.5 to ~3.0 because of updates to their package.
- Published all of log viewers lang files.
- Updated error being thrown on log view show page due to update.
- Updated read me for new Laravel version after composer update.

2.1

- Updated the French language code to the 2 letter 'fr' over the 'fr-FR'.

2.0.15

- Locale doc-blocks from @blomdahldaniel for clarification.

2.0.14

- Italian translation pack by @vjandrea

2.0.13

- Pluralization to localization files for all languages from @blomdahldaniel
- Utilized middleware groups for backend and cleaned up routes.php file.

2.0.12

- SV Translation by @blomdahldaniel
- FR fixes by @error500
- Changed tabs in access to say 'All' in front of permissions and groups.

2.0.11

- Fixed restore user and permanently delete user pointing to wrong translate lines that didn't exist, added to all languages.
- Fixed all exception messages for backend user repository not being found due to typo.
- Added sweet alert prompt for restore user and permanently delete user.
- Replaced restore user and permanently delete user javascript prompts with sweet alerts and added additional needed language lines to all languages.

2.0.10

- Replaced schema builder timestamps() function for manual ones, as the native version on some versions of MySQL was adding extra attributes to the created_at column.

2.0.9

- Renamed ResetPasswords trait to ResetsPasswords because that's the class name and it was throwing exceptions.

2.0.8

- Fixed grammar in French view

2.0.7

- Updated .gitignore paths

2.0.6

- Fixed UserNeedsRolesException not being caught properly.

2.0.5

- Updated to laravel commit: a07fcf280373840a6e56fa52abb7946b7aef1441

2.0.4

- Added getLanguageBlock helper function to include view files with language fallback.

2.0.3

- French language pack by error500

2.0.2

- Fixed language switcher not switching

2.0.1

- Added app_name() to backend header.
- Fixed LoginRequest namespace issue.

2.0.0

- Recreated from scratch using a fresh Laravel 5.2 installation.
- Most of the same features and codebase but cleaned up significantly.
- No language packs included as they will need to be re-translated by each owner using the new Localization guidelines found in the Wiki.

1.13.3

- Removed unneeded provider
- Fixed model trait referencing wrong relationship

1.13.2

- Fixed migrations and seeds for Laravel 5.2

1.13.1

- Fixed dotenv library space issue with .env.example file

1.13

- Laravel 5.2 update
- Had to remove packages that were not currently supported.

1.12.6

- Fixed User model namespace in factory file.

1.12.5

- Removed duplicate role create fields that somehow got in there

1.12.4

- Updated Italian translations

1.12.3

- Fix translation for avatar

1.12.2

- PSR-2 Coding Standards implemented by @helmerdavila

1.12.1

- Add un-needed public files to gitignore.

1.12

- Made migrations more streamlined.

1.11.2

- Cleaned up permission dependency seeder so it will hopefully be easier to understand and add to.

1.11.1

- Move laravel debugbar to require-dev
- Publish laravel localization helper config file.

1.11

- Added 8 new macro dropdowns and refactored a little bit to make it easier to extend.

1.10.3

- FR translate error fix by @error500

1.10.2

- Updated all access views to follow box UI.

1.10.1

- Refactor breadcrumbs into pseudo 'Backend' namespace.
- Renamed backend.dashboard to admin.dashboard to follow convention currently set in routes.

1.10

- Added breadcrumbs plugin that dynamically generates breadcrumbs based off config.
- Removed breadcrumbs section from all views and added it to master layout.
- Added breadcrumb files that are based off route names and are autoloaded.

1.9.6

- Merge up to laravel/laravel commit: 6722b10051aeb3c39b07f73f4976695ed2e4f982

1.9.5

- Turned off log viewer routing in config file.
- Added custom log viewer routes file with access control.

1.9.4

- Installed laravel debugbar (again), enabled when app_debug env variable is true.
- Published gravatar config file.
- Added log viewer language views.

1.9.3

- Fixed URL's in e-mails not showing as hyperlinks due to spacing issue.

1.9.2

- Fixed user confirm success message not showing.

1.9.1

- Added user avatar to frontend dashboard if needed.
- Added session variable for currently logged in social account.
- Pull the correct avatar for each social account, fallback to gravatar. Though will only show the correct one to user, everyone else, if public, will see gravatar associated with email account of user.
- Only allow the user to change their password if they're not logged in with a social account.

1.9

- Removed unneeded install config file from god knows how long ago.
- Updated read me version.
- Added more socialite options and their configs.
- Refactored some model methods.
- Refactored some repositories.
- Added scopes and with to config options as well as a function to check for them.
- Fixed issue where social users being logged in were not being confirmed.

1.8

- Removed bootstrap less/sass and font-awesome from composer in exchange for the same packages via npm.
- Updated gulpfile.js to look at npm assets.
- Updated all main sass/less stylesheets to look at their respective node assets for bootstrap/font-awesome.

1.7.10

- When you register, it doesn't check for "alpha_num" but when you change the password, it checks for it. Removed by @truejay

1.7.9

- Added table responsive divs to access views to make it easier to view on phones by @blomdahldaniel

1.7.8

- Fixed so social users can't login if their account has been banned or deactivated.

1.7.7

- Added mail encryption as an environment variable

1.7.6

- Polish language pack by @initbiz

1.7.5

- Added some frontend/access tests from @safoorsafdar.
- More are needed/welcome.

1.7.4

- Acceptable controller/route fix by @ninjaparade to avoid native keyword conflict and IDE errors.

1.7.3

- Updated read me typo, no other file changes.

1.7.2

- Merged up to laravel commit: 8476df5c9eeb1489db64f7aa3456b38ae74d090d
- New validation line in lang file needs translation (required_unless)

1.7.1

- Ability to have default role config be either an id or a name.

1.7.0

- Replaced laravel/html with laravelcollective/html as per request.

1.6.9

- Updated pt-BR strings by @dgallinari 
- Updated dependencies by @jarod51
- Language switcher fix for route caching by @timgws

1.6.8

- Fixed typo that causes composer to crash on Linux systems

1.6.7

- Merge up to laravel commit: 421c0d0abae9d9fb3cfc7fdcb25fe7e2d86df630

1.6.6

- Added French translation by @jarod51

1.6.5

- Added Spanish to missing language menu

1.6.4

- Spanish translation by @ltiisidii

1.6.3

- Sqlite hotfix for seeds
- Updated italian language files

1.6.2

- Fixed error in Backend\EloquentPermissionRepository.php to check if dependencies are set before counting them.

1.6.1

- Fixed broken image link in backend dropdown to user gravatar for example.

1.6

- Converted all access() helpers in views to blade extensions.
- Cleaned up all access models. Extracted all relationships and attributes to separate trait classes.
- Move traits from services folder and integrate them into user traits.
- Made sure permissions remove its foreign key dependencies when being deleted.

1.5.6

- Blade extension overhaul.
  Removed old blade functions and replaced with native blade directives.
  NEW: role, roles, needsroles
  NEW: permission, permissions, needspermissions

  See documentation for details.

1.5.5

- Fixed user being able to login with unconfirmed account by resetting
  password, by overriding default password reset function to check
  if user is confirmed.

1.5.4

- The people spoke. Removed visual installer.

1.5.3

- Removed key generator from installer as it should be done beforehand or creates error.

1.5.2

- Russian translation pack by @Sogl

1.5.1

- Implemented Gravatar plugin

1.5

- Added a visual installer that will run all of the installation commands through
  a series of screens. Good for users installing application on servers without
  composer/SSH access.

  Checks dependencies, folder permissions, creates keys, migrates, seeds, etc.

1.4.4

- Added a section to permissions called Permission Dependencies,
  where you can specify that the use of one permission can be dependent
  on the use or one or more permissions. See Permission Dependencies
  section of read me.

1.4.3

- Fixed Swedish backend welcome message.
- Altered active menu on sidebar to keep menu open when navigating through links in dropdown.
- by Daniel Blomdahl (@blomdahldaniel)

1.4.2

- Added Swedish language pack authored by Daniel Blomdahl (@blomdahldaniel)

1.4.1

- Updated Italian language pack for 1.4 release.

1.4

- Created new Access Control Library
- Started Changelog