Commit Graph

46 Commits

Author SHA1 Message Date
davidcallizaya
2f3daccd6b HOR-3433
Fix ProcessMaker User Password Hash Disclosure.
2017-08-09 14:40:02 -04:00
Ronald Quenta
143348acd0 ad label in exception 2017-08-08 14:05:34 -04:00
Ronald Quenta
5811ea3231 HOR-3464 2017-08-08 11:25:46 -04:00
Chloe Deguzman
5d3a4c073f HOR-2689 Removed instances of LoadSystem, LoadThirdParty 2017-08-03 17:34:55 -04:00
Chloe Deguzman
60efcf7ac7 HOR-2689 Removed references to G::LoadClass, Bootstrap::LoadClass and various references to class loading methods and require_once 2017-08-03 17:19:55 -04:00
hjonathan
9376388c23 HOR-3582 2017-07-27 12:22:22 -04:00
Julio Cesar Laura Avendaño
720e3eb458 Put security fixes to develop branch 2017-06-14 11:14:23 -04:00
Paula Quispe
2b2d27ff0a HOR-3276 2017-05-23 15:22:17 -04:00
Paula Quispe
25b8fe9e35 HOR-2307 2017-05-05 16:39:40 -04:00
Paula Quispe
174f4d632e HOR-2307 2017-04-21 15:03:02 -04:00
Dheeyi William
1f2e99e4fa HOR-1701
Admin->Users. Al crear un nuevo Usuario el campo Default Main Menu Option no guarda el valor seleccionado. Cuando se pretende editar ese campo aparece con otro valor.
2016-08-26 14:56:21 -04:00
dheeyi william
c99036d4c8 HOR-1561
No se estan mostrando los Usuarios

HOR-1561
No se estan mostrando los Usuarios
2016-08-02 16:59:27 -04:00
dheeyi william
bc200f1a08 HOR-788
La información personal de un usuario Administrador se ve en modo view.

HOR-788
La información personal de un usuario Administrador se ve en modo view.

HOR-788
La información personal de un usuario Administrador se ve en modo view.

HOR-788
La información personal de un usuario Administrador se ve en modo view.

HOR-788
La información personal de un usuario Administrador se ve en modo view.
2016-07-21 12:44:23 -04:00
Victor Saisa Lopez
67a530e59e HOR-1360 "CLONE - Penetration test >> Privilege Escalation" SOLVED
Issue:
    CLONE - Penetration test >> Privilege Escalation
Cause:
    En el profile del usuario se puede asignar un valor al rol en un request POST
Solution:
    - Se hizo un analisis de la propuesta sobre "separar los archivos", este punto no se realizo, en vez de esto
      se separo los request con un switch-case
    - Existe duplicidad de codigo en los files "usersAjax.php" y "ProcessMaker\BusinessModel\User.php",
      por lo que ahora en el file "usersAjax.php" se llama a los metodos "create y update" de la clase "ProcessMaker\BusinessModel\User.php"
    - No se hizo cambios en front-end
2016-07-06 12:57:59 -04:00
Victor Saisa Lopez
bca207b891 HOR-850 "Admin -> Users -> Edit User -> Replaced By..." SOLVED
Issue:
    Admin -> Users -> Edit User -> Replaced By, cambiar el tipo de control a suggest
Cause:
    Requerimiento de cambio de componente
Solution:
    Se implemento el componente suggest en el modulo especificado
2016-04-26 15:17:18 -04:00
Victor Saisa Lopez
7e32def134 HOR-378 "PM 3.0.1.7: El modo de derivacion 'Reports To'..." SOLVED
Issue:
    PM 3.0.1.7: El modo de derivacion "Reports To" no funciona correctamente
Cause:
    Se obtiene de manera incorrecta el manager de un usuario (No se respeta la jerarquia de los departamentos)
Solution:
    - Se revirtio los cambios del card PMLOCAL-3705
    - Se creo un metodo para obtener el manager de un usuario (Respetando la jerarquia de los departamentos)
2016-03-07 10:53:56 -04:00
Victor Saisa Lopez
d7273913c5 PM-4413 "Cuando se tiene habilitado el timezone, el due date..." SOLVED
Issue:
    Cuando se tiene habilitado el timezone, el due date del correo que envia processmaker no es correcto
Cause:
    No se realiza la conversion de los datos al Time Zone del usuario
Solution:
    Se hace la conversion de los datos al Time Zone del usuario
2015-12-10 15:21:42 -04:00
Victor Saisa Lopez
6cd975664b PM-444 "0013316: Be able to assign users to different time zone (user's time zone)" SOLVED
Issue:
    PM-444:  0013316: Be able to assign users to different time zone
    PM-3493: Agregar soporte multiple timezone a los endpoints usando formato fecha ISO 8601
Cause:
    New feature
Solution:
    Added functionality for time zone
2015-11-26 20:11:58 -04:00
Luis Fernando Saisa Lopez
44b54fd19a PM-4153 "User>PUT:{url}/api/1.0/{workspace}/user..." SOLVED 2015-11-24 11:46:14 -04:00
Marco A. Nina Mena
3f9e40986c GI-130 Add files bookmark
Add field scritp mysql

Change output format Endpoint
2015-11-05 15:52:52 -04:00
Victor Saisa Lopez
ef1208ce98 PM-3659 "Uso de interface lenta (assignment rules) cuando..." SOLVED
Issue:
    Uso de interface lenta (assignment rules) cuando se tienen varios usuarios (40000)
Cause:
    No se realizo de manera correcta el paginado de registros
Solution:
    > Se a implementado los siguientes end-points:
        GET /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/assignee/paged
        GET /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/available-assignee/paged
        GET /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/adhoc-assignee/paged
        GET /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/adhoc-available-assignee/paged

        Estos end-points aceptan los siguientes parametros:
            /paged?filter={filter}&start={start}&limit={limit}&type={type}
            /paged?lfilter={lfilter}&start={start}&limit={limit}&type={type}
            /paged?rfilter={rfilter}&start={start}&limit={limit}&type={type}
        Donde:
            filter:  Representa la busqueda de registros que contienen este valor
            lfilter: Representa la busqueda de registros que empiezan con este valor
            rfilter: Representa la busqueda de registros que terminan con este valor
            type:    Acepta los siguentes valores: "user", "group"
        Ejemplo:
            GET /api/1.0/{workspace}/project/{prj_uid}/activity/{act_uid}/assignee/paged?start=0&limit=3
            <<<<< 200
            {
                "total": 15,
                "start": 0,
                "limit": 3,
                "filter": "",
                "data": [
                    {
                        "aas_uid": "60593768854492f8fa43aa2064326562",
                        "aas_name": "GROUP1 (2 Users)",
                        "aas_lastname": "",
                        "aas_username": "",
                        "aas_type": "group"
                    },
                    {
                        "aas_uid": "11886228656016c9329c898096916123",
                        "aas_name": "GROUP2 (1 User)",
                        "aas_lastname": "",
                        "aas_username": "",
                        "aas_type": "group"
                    },
                    {
                        "aas_uid": "52242914255f202805bd552031573543",
                        "aas_name": "user1",
                        "aas_lastname": "user1",
                        "aas_username": "user1",
                        "aas_type": "user"
                    }
                ]
            }
    > Se a mejorado los siguientes end-points:
        GET /api/1.0/{workspace}/users?filter={filter}&start={start}&limit={limit}
        GET /api/1.0/{workspace}/users?lfilter={lfilter}&start={start}&limit={limit}
        GET /api/1.0/{workspace}/users?rfilter={rfilter}&start={start}&limit={limit}
        GET /api/1.0/{workspace}/groups?filter={filter}&start={start}&limit={limit}
        GET /api/1.0/{workspace}/groups?lfilter={lfilter}&start={start}&limit={limit}
        GET /api/1.0/{workspace}/groups?rfilter={rfilter}&start={start}&limit={limit}
2015-09-25 15:11:42 -04:00
Luis Fernando Saisa Lopez
74ae253925 PM-2113 "REST endpoint GET /cases/advanced-search" SOLVED
> Code Isuue:
  0017019: REST endpoint GET /cases/advanced-search doesn't check whether user has PM_ALLCASES permission in role
> Solution:
  Se agrega validacion en el siguiente Endpoint cuando se utiliza el servicio REST, el mismo mostrara un mensaje indicando
  que el usuario no esta autorizado para realizar la accion.

  GET /api/1.0/{workspace}/cases/advanced-search
2015-09-01 17:14:01 -04:00
dheeyi
81f8ffd2f7 PM-1626 0016797: REST endpoint /api/1.0/{workspace}/users should return the calendar and photo of the user.
Causa : Definida asi el endpoint USERS.
SolucióAgregar la informacióue se pide (calendar_uid, calendar_name y el path de la fotografia).
2015-05-27 17:14:44 -04:00
dheeyi
9f03bac7d5 PM-1626 0016797: REST endpoint /api/1.0/{workspace}/users should return the calendar and photo of the user.
Causa : Definida asi el endpoint USERS.
SolucióAgregar la informacióue se pide (calendar_uid, calendar_name y el path de la fotografia).
2015-05-26 13:01:28 -04:00
Marco Antonio Nina Mena
0d11381fc7 Add validation characters invalid 2015-04-23 13:22:37 -04:00
Luis Fernando Saisa Lopez
7214ee704b PM-2108 "The usr_cnf_pass parameter should..." SOLVED
> Code Issue:
  The usr_cnf_pass parameter should be optional in the endpoint POST /api/1.0/{workspace}/user
> Solution:
  El parametro "usr_cnf_pass" en POST y PUT no es requerido.
2015-04-08 11:36:38 -04:00
Luis Fernando Saisa Lopez
4f240f4eaa PM-2047 "Se puede asignar permisos de proceso a usuarios..." SOLVED
> Code Issue:
  Se puede asignar permisos de proceso a usuarios que se encuentran inactivos
> Solution:
  Se corrige validacion la validacion existente.
2015-04-02 16:12:00 -04:00
danteloayza
2ce413beb3 Excluding files part 2 2015-03-30 11:24:57 -04:00
danteloayza
4bfe85a652 Excluding non touched model files 2015-03-30 11:19:39 -04:00
danteloayza
d4ecc6c1a4 conflicts resolution 2015-03-30 11:00:04 -04:00
danteloayza
cff0e2c6e1 Non conflict files 2015-03-26 17:37:32 -04:00
Luis Fernando Saisa Lopez
08365ff050 PM-1728 "ProcessMaker-MA: Users(endpoints POST-PUT)" SOLVED
- Se realizo un refactor de los siguientes Endpoints:
      POST   /api/1.0/{workspace}/user
      PUT    /api/1.0/{workspace}/user/{usr_uid}

  Se desglosa los siguientes puntos:

a)PM-1628 "0016807 - POST /api/1.0/{workspace}/user endpoint needs..." SOLVED
  > Code Issue: 0016807 - POST /api/1.0/{workspace}/user endpoint needs to add parameters for the birthday, department,
    user experience, fax & cell number
  > Solution: Los parametros: usr_birthday, dep_uid, usr_ux, usr_fax y usr_cellular, son opcionales y pueden ser enviados.

b)PM-1735 "0016809 - Endpoint POST /api/1.0/{workspace}/user doesn't..." SOLVED
  > Code Issue: 0016809 - Endpoint POST /api/1.0/{workspace}/user doesn't work if optional parameters are not included
  > Solution: Se agrega validacion para los campos mencionados tomando encuenta como opcionales.

c)PM-1751 "0016821 - Endpoint PUT /user/{usr_uid} should be able..." SOLVED
  > Code Issue: 0016821 - Endpoint PUT /user/{usr_uid} should be able to update the calendar, department and user experience
  > Solution: Se puede modificar los campos mencionados.

d)PM-1749 "0016820 - Endpoint PUT /user/{usr_uid} has error..." SOLVED
  > Code Issue: 0016820 - Endpoint PUT /user/{usr_uid} has error when overwriting the username with the same username
  > Solution: El mismo usuario se puede modificar con el mismo nombre.

e)PM-1741 "0016813 - The DELETE /user/{usr_uid} endpoint doesn't..." SOLVED
  > Code Issue: 0016813 - The DELETE /user/{usr_uid} endpoint doesn't check if the user has already been deleted
  > Solution: Al eliminar un usuario en la primera vez lo eliminara, al eliminar el mimo usuario nuevamente se
    mostrara un mensaje.

f)PM-1769 "0016818 - Endpoint POST /user/{usr_uid}/image-upload..." SOLVED
  > Code Issue: 0016818 - Endpoint POST /user/{usr_uid}/image-upload should work without suppression of error messages
  > Solution: Se agrega validacion para variable "FILES" cuando se realizar el upload de la imagen.
    El script php que se muestra en la documentacion es un ejemplo que muestra como consumir el EndPoint.
    El consumo del mismo es mediante un	script y es a criterio de cada uno.
2015-03-20 17:16:01 -04:00
Victor Saisa Lopez
87847c86c1 PM-1733 "0016808: Change error message if the usr_replaced_by..." SOLVED
Issue:
    0016808: Change error message if the usr_replaced_by is not a valid user in the POST /api/1.0/{workspace}/user endpoint
Cause:
    Label incorrecto
Solution:
    Se a cambiado el ID del label "ID_AUTHENTICATION_SOURCE_INVALID" por "ID_USER_DOES_NOT_EXIST"
2015-03-10 15:29:06 -04:00
Daniel Rojas
3fffdece41 Fix harcoded labels by a translation ID Users country, city and location 2014-06-09 10:58:45 -04:00
Daniel Rojas
2b88d112f0 Replace harcoded labels by a translation ID 2014-05-22 09:12:35 -04:00
Daniel Rojas
07abdd7a05 Se arregla bug en PM USER, PUT. Se agregan validaciones 2014-05-06 09:15:48 -04:00
Daniel Rojas
5038b5a699 Se arregla bug en PM USER, PUT. Se cambia el nombre a la variable aData 2014-05-05 17:00:57 -04:00
Daniel Rojas
fee4699641 Se arregla bug en PM USER, PUT. Se cambia el nombre a la variable aData 2014-05-05 16:55:27 -04:00
Daniel Rojas
f463dd6575 Se arregla bug en PM USER, PUT. Se agregan validaciones. 2014-05-05 15:42:44 -04:00
Daniel Rojas
af87d2a150 Se arregla bug en PM USER, PUT. Se cambia la variable $RBAC sSystem, por PROCESSMAKER. 2014-05-05 15:04:04 -04:00
Daniel Rojas
8ecbeb8619 Se agrega require de la clase Roles, necesaria para PUT en users. 2014-05-05 10:08:59 -04:00
Daniel Rojas
16fb5c65a1 Bug 0014738: Fix. Users with PM_SUPERVISOR permission are not display in the list of selection of supervisors 2014-04-30 16:28:25 -04:00
Daniel Rojas
91b7f50556 Fix code style (remove backticks). 2014-04-28 10:10:59 -04:00
Daniel Rojas
6f21d60b97 Fix checkstyle warnings 2014-04-22 11:11:03 -04:00
Daniel Rojas
50d5608a27 Se ajusta validacion de roles para users. 2014-04-21 08:56:13 -04:00
Erik Amaru Ortiz
4d59bc2d5a Refactoring of classes that where in workflow/engine/src , now all of them have a unique parent namespace \ProcessMaker 2014-04-02 16:51:28 -04:00