You've already forked focalboard
mirror of
https://github.com/mattermost/focalboard.git
synced 2025-07-12 23:50:27 +02:00
New Props: Created By, Created At, Updated By, Updated At (#583)
* Added create_at column for blocks * Populating created by * Added logic for storing created by * Added GetBlock by ID to store interface * Added creayed by and modified by properties * Added created by and modified by properties * Added lastmodifiedat property * Fixed existing webapp test * Added webapp unit tests * Added webapp unit tests * Added webapp unit tests * Adding server test * Added server tests * Fixed a bug causing created by to be set empty * Avodining timezone specific test behavior * Made cypress viewport bigger to avoid out-of-viewoport issues in multiple tests * Removed a leftover comment * Added updated at/by in table view * Added updated at in card view * Fixing sort * Fixed sorting of updated by * Fixed existing tests * Added table tests * Added cardTree fix * Fixed tests * Removed unused import * Update snapshots * Added a tamper attempt test * Removed some leftover debug code * Removed sending creator from client * Fixed lint error * Fixed a build issue * Avoided setting insert query params multiple times * Multiple minor review fixes * Fixed test
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"crypto/rand"
|
||||
"fmt"
|
||||
"log"
|
||||
"time"
|
||||
)
|
||||
|
||||
// CreateGUID returns a random GUID.
|
||||
@ -17,3 +18,8 @@ func CreateGUID() string {
|
||||
|
||||
return uuid
|
||||
}
|
||||
|
||||
// GetMillis is a convenience method to get milliseconds since epoch.
|
||||
func GetMillis() int64 {
|
||||
return time.Now().UnixNano() / int64(time.Millisecond)
|
||||
}
|
||||
|
Reference in New Issue
Block a user