
- Complete NestJS TypeScript implementation with WebSocket support - Direct messaging (DM) and group chat functionality - End-to-end encryption with AES encryption and key pairs - Media file support (images, videos, audio, documents) up to 100MB - Push notifications with Firebase Cloud Messaging integration - Mention alerts and real-time typing indicators - User authentication with JWT and Passport - SQLite database with TypeORM entities and relationships - Comprehensive API documentation with Swagger/OpenAPI - File upload handling with secure access control - Online/offline status tracking and presence management - Message editing, deletion, and reply functionality - Notification management with automatic cleanup - Health check endpoint for monitoring - CORS configuration for cross-origin requests - Environment-based configuration management - Structured for Flutter SDK integration Features implemented: ✅ Real-time messaging with Socket.IO ✅ User registration and authentication ✅ Direct messages and group chats ✅ Media file uploads and management ✅ End-to-end encryption ✅ Push notifications ✅ Mention alerts ✅ Typing indicators ✅ Message read receipts ✅ Online status tracking ✅ File access control ✅ Comprehensive API documentation Ready for Flutter SDK development and production deployment.
69 lines
2.3 KiB
JavaScript
69 lines
2.3 KiB
JavaScript
//! moment.js locale configuration
|
|
//! locale : Faroese [fo]
|
|
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
|
//! author : Kristian Sakarisson : https://github.com/sakarisson
|
|
|
|
;(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
factory(global.moment)
|
|
}(this, (function (moment) { 'use strict';
|
|
|
|
//! moment.js locale configuration
|
|
|
|
var fo = moment.defineLocale('fo', {
|
|
months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
|
|
'_'
|
|
),
|
|
monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
|
weekdays:
|
|
'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
|
|
'_'
|
|
),
|
|
weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
|
|
weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
|
|
longDateFormat: {
|
|
LT: 'HH:mm',
|
|
LTS: 'HH:mm:ss',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM YYYY',
|
|
LLL: 'D MMMM YYYY HH:mm',
|
|
LLLL: 'dddd D. MMMM, YYYY HH:mm',
|
|
},
|
|
calendar: {
|
|
sameDay: '[Í dag kl.] LT',
|
|
nextDay: '[Í morgin kl.] LT',
|
|
nextWeek: 'dddd [kl.] LT',
|
|
lastDay: '[Í gjár kl.] LT',
|
|
lastWeek: '[síðstu] dddd [kl] LT',
|
|
sameElse: 'L',
|
|
},
|
|
relativeTime: {
|
|
future: 'um %s',
|
|
past: '%s síðani',
|
|
s: 'fá sekund',
|
|
ss: '%d sekundir',
|
|
m: 'ein minuttur',
|
|
mm: '%d minuttir',
|
|
h: 'ein tími',
|
|
hh: '%d tímar',
|
|
d: 'ein dagur',
|
|
dd: '%d dagar',
|
|
M: 'ein mánaður',
|
|
MM: '%d mánaðir',
|
|
y: 'eitt ár',
|
|
yy: '%d ár',
|
|
},
|
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
ordinal: '%d.',
|
|
week: {
|
|
dow: 1, // Monday is the first day of the week.
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
},
|
|
});
|
|
|
|
return fo;
|
|
|
|
})));
|