Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 2022 11:13
    lacek commented #175
  • Nov 26 2022 11:12
    lacek commented #175
  • Nov 26 2022 11:10
    lacek commented #175
  • Nov 26 2022 08:50
    lacek commented #175
  • Nov 23 2022 07:18
    jetfire21 starred bedezign/yii2-audit
  • Sep 28 2022 13:56
    rzlco666 starred bedezign/yii2-audit
  • Aug 31 2022 17:15
    ahmadasjad starred bedezign/yii2-audit
  • Aug 24 2022 17:04
    dersonsena starred bedezign/yii2-audit
  • Aug 19 2022 16:24
    neoacevedo commented #287
  • Jul 20 2022 21:58
    Matej-ch opened #288
  • Jul 12 2022 09:22
    ashaduri commented #286
  • Jul 08 2022 06:18
    chunlaw commented #286
  • Jul 08 2022 06:17
    chunlaw commented #286
  • Jul 08 2022 06:17
    chunlaw commented #286
  • Jul 08 2022 06:17
    chunlaw commented #286
  • Jun 22 2022 07:31
    handcode commented #232
  • Jun 22 2022 07:01
    handcode commented #232
  • May 20 2022 10:02
    helprepair starred bedezign/yii2-audit
  • Apr 01 2022 23:46
    thtmorais edited #284
  • Mar 31 2022 15:33
    lmribeiro starred bedezign/yii2-audit
Jan Waś
@nineinchnick
and i like that they dropped belongs_to and many_many
Brett O'Donnell
@cornernote
its ->getTheRelationName() vs ->theRelationName
Jan Waś
@nineinchnick
or ->getRelation('name')
Brett O'Donnell
@cornernote
ok
Jan Waś
@nineinchnick
using it as a property returns data
still useful
Steve Guns
@Blizzke
yeah and its actually pretty neat that yii doesnt interfere unless you call it via __get
Jan Waś
@nineinchnick
a shortcut to ->getTheRelationName()->all() or one()
Steve Guns
@Blizzke
so you can use all the info from that activequery thing to do a lot more diagnostics
Brett O'Donnell
@cornernote
yeah, i thought it was clever
Jan Waś
@nineinchnick
I event modify the fk conditions in a special case
ok i didn't finish my work and I have to leave in half an hour, i'm going to get back to it later today
so i'll be around
cya later
Steve Guns
@Blizzke
bye
Brett O'Donnell
@cornernote
if its for audit, i think make them define a list of relations per model via the behavior config
eg, they have to implement a getRelations() method or something
Jan Waś
@nineinchnick
cornernote: good idea, i'd need to move those queries away from historyAction anyway
bbl
Steve Guns
@Blizzke
well it could be optional i guess... like if you want the trail to watch the relations as well, give us a list of which ones
perhaps you dont care about any or a couple of them
Brett O'Donnell
@cornernote
yeah, give us a list, or we'll use getRelations() if its defined, or else we wont track any
or even just give us a list, or we wont track any
Brett O'Donnell
@cornernote
im trying to get @nineinchnick 's audit module going, but i cant seem to get pgsql setup
its installed, and i can connect via command line
ok, i got it
ran the migration, and i got this:
Exception: SQLSTATE[42704]: Undefined object: 7 ERROR:  type "jsonb" does not exist at character 537
seems my postgres is too old
Brett O'Donnell
@cornernote
any tips on how to install 9.4 onto ubuntu 14.04 ?
Jan Waś
@nineinchnick
@cornernote there are official repos: https://wiki.postgresql.org/wiki/Apt
I decided to use the jsonb type instead of the hstore type, at least its officially suported, hstore requires registering a contrib module
and the worst alternative is just using a separate key-value table
but i'm going to do it anyway for mysql and sqlite
now i'm wrapping up the gui, then moving onto other dbs
Steve Guns
@Blizzke
brett if you're around, can you do me a fav?
run this for the audit:
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-php#composer-env-var
Only owners can do that, I'm getting access denied
Steve Guns
@Blizzke
Think its getting about time for a 1.0.3 release, lots a commits since the last one
Brett O'Donnell
@cornernote
yeah, go for it
i been busy with other stuff for a bit
Abayomi Osamiluyi
@yomexzo
@cornernote appears the demo heroku app is down
Steve Guns
@Blizzke
try again
Abayomi Osamiluyi
@yomexzo
same
has it changed?
@Blizzke
Steve Guns
@Blizzke
about 1 day after it was created :)